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
Adding more data to user profiles
#1
Is there a built in way to add more colums to a users profile? and then making that data editable by admin and only viewable and not editable by the user? Or does it have to be done by adding the colums to the database in the profile table in phpMyadmin and then writing all the php in the profile page?
  Reply
#2
You're free to do it however you want. The profile page only shows the data we wanted to show. You can either add more columns to the users table (which you can always display to the user as $user->data()->ColumnName) or you can even make a whole additional table. Whatever you want to do. Either way, you add the columns in phpmyadmin. Then it's a matter of what you want to do with that info.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)