The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Adding more data to user profiles - 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: Adding more data to user profiles (/showthread.php?tid=624)



Adding more data to user profiles - billchopher - 07-03-2017

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?


Adding more data to user profiles - mudmin - 07-03-2017

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.