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
/printthread.php 16 require_once



UserSpice
Profile.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: Profile.php (/showthread.php?tid=208)



Profile.php - wolfeman - 08-18-2016

$userQ = $db->query("SELECT * FROM profiles LEFT JOIN users ON user_id = users.id WHERE user_id = ?",array($userID));
$thatUser = $userQ->first();

However if the user has no entry in the profile table the users name never shows up on /users/profile.php?id=xx
you just get a "'s Profile" in the name area.

And I believe could be the reason the bio is not able to be updated.

This is the case for ADMIN created users ONLY, normal signup users are ok.


Profile.php - wolfeman - 08-18-2016

this is on a new 4.1.3 install


Profile.php - mudmin - 08-18-2016

Ahhhh. You're right. That's a bug. Hmm. We need to make a patch for that. I forgot that the bio is part of the user creation process. I'm going to add that to the bug list and try to come up with a more elegant solution. Thanks for letting me know.


Profile.php - mudmin - 08-19-2016

I'm going to shoot you an email with a possible fix for this.