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
Profile.php
#1
$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.
  Reply
#2
this is on a new 4.1.3 install
  Reply
#3
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.
  Reply
#4
I'm going to shoot you an email with a possible fix for this.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)