When using the UserList plugin, the links on the user names leading to their personal information pages, are shown and hidden depending on privileges of the logged in user. Unfortunately, the logic is reverse of what it should be.
Correct logic is: show links for all users that when either A.) You have admin privileges. B.) User listed is yourself. C.) User listed has chosen to make his profile information public.
Current logic is: show links when A.) You have admin privileges. B.) User listed is NOT yourself, AND user listed has chosen NOT to make his information public.
in the file /lib/wiki-plugins/wikiplugin_userlist.php, change the line 153 from:
if ($user_information == 'private' && $row['login'] != $user) {
to
if (!($user_information == 'private' && $row['login'] != $user)) {
and the trick should be done.
While you're at it, the sister file /lib/wiki-plugins/wikiplugin_realnamelist.php can be fixed as well.
Change line 153 from
if (isset($user) && $user_information == 'private' && $row['login'] != $user) {
to
if (isset($user) && ($user_information != 'private' || $row['login'] == $user)) {
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.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |