The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phone number in join.php
#1
I would love to add a field for the phone number in my join.php. Maybe somebody can help me.
  Reply
#2
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.
  Reply
#3
Hello brandin, I have not the slightest idea of ​​how that is done. I am sorry.
  Reply
#4
No worries,

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

Thank you.
  Reply
#5
Thanks brandin, please do not stop insisting with mudmin to incorporate google recapcha invisible for version 4.3
  Reply
#6
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
  Reply
#7
Hello, if in Admin_user.php and it is editable. 88-88-88-88
  Reply
#8
Thank you.
  Reply
#9
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
  Reply
#10
Thank you very much brandin, you are very talented.
  Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)