The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
![]() |
4.3.9 - How to modify admin_user.php - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: 4.3.9 - How to modify admin_user.php (/showthread.php?tid=994) |
4.3.9 - How to modify admin_user.php - mleary2001 - 03-08-2018 Hello all! The customer wants to add a phone number to the registration page. That is done, now I need to modify admin_user.php to allow editing of the phone number. However, when I copy admin_user.php to the usersc folder I break the whole user management page, admin_users.php. How can I add a phone number to admin_user.php??? Thanks for your time, - Mike 4.3.9 - How to modify admin_user.php - Brandin - 03-08-2018 There is a script in usersc/includes called example_admin_user_system_settings.php - copy and remove example so it is called admin_user_system_settings.php and add your stuff in there. 4.3.9 - How to modify admin_user.php - mleary2001 - 03-08-2018 Except phone number is not a system setting. It should show up below the email, for example. -Mike 4.3.9 - How to modify admin_user.php - Brandin - 03-08-2018 The text is poor-yes-but the concept is the same. If you want it on the admin_user splash screen, you'll need to copy and edit the file directly. 4.3.9 - How to modify admin_user.php - mleary2001 - 03-23-2018 Did it! It was not too bad. The weird thing is that on my dev server using 4.3.9 I can move this file into the usersc folder, but on our test and production servers that have 4.3.8 I cannot. -Mike 4.3.9 - How to modify admin_user.php - Brandin - 03-23-2018 Hmmm-that is weird. What do you mean you "can't move"? Like a server issue or error messages? 4.3.9 - How to modify admin_user.php - mleary2001 - 04-01-2018 I mean copy and paste admin_user.php from users folder to the usersc folder. I do not get error messages, the functionality breaks, but only on our test and production servers. - Mike 4.3.9 - How to modify admin_user.php - Brandin - 04-01-2018 What do you mean it "breaks"? Are you getting error messages? Are particular things not working? Enable error reporting if you are not getting errors. http://php.net/manual/en/function.error-reporting.php |