For users whose information is public, the plugin is supposed to automatically make the avatar into a link to the user's user information page. However the link is incomplete, missing the last userid number at the end.
In the following code, the $id variable is apparently not capturing the userid number:
if (isset($page)) { $avatar = "<a href='tiki-index.php?page=$page'>" . $avatar . '</a>'; } else if ($userlib->user_exists($data) && $tikilib->get_user_preference($data, 'user_information', 'public') == 'public') { $id = $userlib->get_user_login($data); $avatar = "<a href='tiki-user_information.php?userId=$id'>" . $avatar . '</a>'; }
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |