09-24-2018, 10:53 AM
Ok. Here is usersc/profile.php
https://pastebin.com/Sze3M81a
Here is the patch to add the tables to the user table.
https://pastebin.com/JNV8UCY9
Call your patch patch.php and put it in the root folder near z_us_root.php
Run patch.php and it will update your db.
As for profile.php, I didn't do a lot of styling and you may want some of these settings on a different page, but I just showed you sort of how it works. Hope it helps.
Basically how it works is when you view other people's profiles it either shows their phone number or Phonehidden). Then if you're viewing your own profile, a form shows up so you can change the info. It still displays it above how other people will see it.
https://pastebin.com/Sze3M81a
Here is the patch to add the tables to the user table.
https://pastebin.com/JNV8UCY9
Call your patch patch.php and put it in the root folder near z_us_root.php
Run patch.php and it will update your db.
As for profile.php, I didn't do a lot of styling and you may want some of these settings on a different page, but I just showed you sort of how it works. Hope it helps.
Basically how it works is when you view other people's profiles it either shows their phone number or Phonehidden). Then if you're viewing your own profile, a form shows up so you can change the info. It still displays it above how other people will see it.