Plugin AVATAR default link doesn't work for users whose information is public
- Status
- Closed
- Subject
- Plugin AVATAR default link doesn't work for users whose information is public
- Version
- 2.x
3.x - Category
- Usability
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- Invalid
- Submitted by
- lindon
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
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:
Line 47 from wikiplugin_avatar.php: used to set linkCopy to clipboardif (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>'; }- Solution
- Workaround
- Importance
- 3
- Priority
- 15
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2476
- Created
- Sunday 03 May, 2009 00:21:37 UTC
by Unknown - LastModif
- Monday 25 May, 2026 20:20:48 UTC