UserSpice
Phone number in join.php - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10)
+--- Thread: Phone number in join.php (/showthread.php?tid=695)

Pages: 1 2


Phone number in join.php - shoropio - 08-29-2017

I would love to add a field for the phone number in my join.php. Maybe somebody can help me.


Phone number in join.php - Brandin - 08-29-2017

Hello,

Simply add the input in /users/views/_join.php (note this could get reverted with updates and you will need to begin manually updating your files) - maybe duplicate this and change it to be _joinNew.php and change your call on join.php when you bring it to the usersc folder.

Then just add the field validation and insert on join.php when you duplicate it to usersc.

Last but not least add the column to your DB as an extra or by renaming one of the existing columns.

Let me know if you need anything else.


Phone number in join.php - shoropio - 08-29-2017

Hello brandin, I have not the slightest idea of ​​how that is done. I am sorry.


Phone number in join.php - Brandin - 08-29-2017

No worries,

I'll outline this later today or tomorrow for you when I have time.

Thank you.


Phone number in join.php - shoropio - 08-29-2017

Thanks brandin, please do not stop insisting with mudmin to incorporate google recapcha invisible for version 4.3


Phone number in join.php - Brandin - 08-29-2017

Where do you wish to view this information?

admin_user.php?

Editable or viewable only?

What is the format of the phone #? e.g. 888-888-8888? +1-888-888-8888?

Thank you


Phone number in join.php - shoropio - 08-30-2017

Hello, if in Admin_user.php and it is editable. 88-88-88-88


Phone number in join.php - shoropio - 08-31-2017

Thank you.


Phone number in join.php - Brandin - 08-31-2017

SQL:
ALTER TABLE
Code:
users
ADD
Code:
phone
VARCHAR(255) NOT NULL AFTER
Code:
lname
;

ZIP:
https://aircentralized.com/cms_drop1.zip

Go to admin_pages to load the new pages


Phone number in join.php - shoropio - 08-31-2017

Thank you very much brandin, you are very talented.