@Chat_101_com "->Limit($Limit)" becomes the new line 37 "->Orderby($Order" becomes the new line 38 then the "$get();" line
(edited) in class.userlistmodule.php - other edits may change these and other line numbers (oOps when updating to Vanilla.2.0.13 - I lost these edits myself and had to re-edit them so now I have a moded copy on my desktop machine - I always use a virgin fileset of the distribution rather than overwrite those already on the server - removes any redundant dross)
DavyB, thanks a million! When you included the "$get();" line I realized that you guys are talking about the class.userlistmodule.php file :) I was working on the default file. Thank you very much, all working now.
DavyB, thanks a million! When you included the "$get();" line I realized that you guys are talking about the class.userlistmodule.php file :) I was working on the default file. Thank you very much, all working now.
Its not so easy when there are multiple php files in the plugin and even more confusing if you have sort by votes selected rather than by date order tmilovan's edits are spread over 3 comments :(
Reason for this problem is simple. There is hardcoded default usergroup id (RoleID) in this addon source and that works fine for Vanilla imports, but if you are importing from any other forum engine, chances are your default usergroup id is not 7, but lower.
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.
How can we find our usergroup id if 7 is not showing any users?
When I instal this plugin, it was not displaying the images (only names). When I went to config.php and change
$Configuration['Garden']['RewriteUrls'] = FALSE;
to
$Configuration['Garden']['RewriteUrls'] = TRUE;
the images starts appearing. Can somebody find this little info useful?
Comments
"->Limit($Limit)" becomes the new line 37
"->Orderby($Order" becomes the new line 38
then the "$get();" line
(edited) in class.userlistmodule.php - other edits may change these and other line numbers
(oOps when updating to Vanilla.2.0.13 - I lost these edits myself and had to re-edit them so now I have a moded copy on my desktop machine - I always use a virgin fileset of the distribution rather than overwrite those already on the server - removes any redundant dross)
- 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 •tmilovan's edits are spread over 3 comments :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Edit: tried "1" and that seems to work.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Can't get this to display images, including the default. Any ideas?
I think it has to do with not having url shortening on. All the thumbnail paths have index.php?p= in the middle which is breaking them.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •$Where=array('u.Deleted'=>0,'r.RoleID>'=>7);
to this:
$Where=array('u.Deleted'=>0,'r.RoleID>'==2);
lines 19 and 43
I converted from Vbulletin so its just a temporary fix for me so if anyone has a better solution I'd like to hear it
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks Donutman!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I can get it to show all users using Donutmans technique but that is no good to me. Does anyone know how to implement this, maybe using OR clauses?
I don't know my way around vanilla very well and I can't find any database querying instructions that help.
Thanks in advance
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •When I instal this plugin, it was not displaying the images (only names). When I went to config.php and change
$Configuration['Garden']['RewriteUrls'] = FALSE;to$Configuration['Garden']['RewriteUrls'] = TRUE;the images starts appearing. Can somebody find this little info useful?- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hey guys! I just discover that the images are not showing on Chrome but doing fine on FF, Opera, Safari and IE. Any help?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Now working
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •What if i want to show this user's list on a separate page, for exmaple mydomain.com/users. How to tweak this?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •