This discussion is related to the
User List addon.
Hi!
When I enable the plugin "user list", the following text but no users appears in the box in the sidepanel:
"No users to display. Try changing your settings."
This text is visible to ALL users, they even get to the dashboard by clicking the link!
If I uncheck "randomize" in the plugin's settings, I get a "bonk".
Furthermore, the plugin show's version 0.1 instead of 0.4
1 • •
Comments
- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •Are you both using at least RC3 of Vanilla 2?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •So, author needs to find the way to read default usergroup real value, and use that in addon source. Meanwhile I guess we can just manually put this value in lines 18 and 43 of class.userlistmodule.php.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •->Limit($Limit)
at line 37, it should be fine.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •->Orderby($Order)
... after above mentioned line.
I guess, with this three changes everything should work fine for 2.0.3. installations with ported forums.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •Vanilla v2.0.6, data imported from Vanilla 1.
Maybe there is some patch for people who has imported users with customs roles and their ID's ?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In class.userlistmodule.php changed:
Line 16:
$Select='u.UserID, u.Name, u.Photo';
changed to
$Select='DISTINCT(u.UserID), u.Name, u.Photo';
and again on line 40:
->Select('u.UserID')
changed to
->Select('DISTINCT(u.UserID)')
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •EDIT: I could mention that there are no error messages, and I'm running it on 2.0.9
Also, a nice feature would be to add an option to select where you want to show the panel. Kinda like what the WhosOnline plugin.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •default.php, change line 43 to:
if(!in_array($Sender->ControllerName, array('categoriescontroller', 'discussionscontroller'))) return;
That should work, but let me know if it doesn't.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •->Limit($Limit)
and
->Orderby($Order)
to line 37? I tried placing those two lines everywhere in the 37 to 39 lines but nothing seems to work. Would you be kind enough as to show us the original content and where to place those two lines, and then the new content once those two lines are added. I am sorry once again, but for instance, should we place a ";" after each line as is the case with the rest of the file?
Thank you in advance for your help.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •