![]() |
This was requested by David Copeland.
He wanted to be able to list all users that have or don't have access to a certain forum. This is very very easy to install, you just need to add one block of code and a link! :) Demo: http://www.vbulletin.com/forum/attac...&postid=172632 Install: In user.php (admin folder), add this code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
See, I told you it's easy! :D Now you have a link for this under Users => Find => List by access masks (under List all users). By the way, I know that one part of the code there could be combined with the other search part, but this is just as good. Sue me. ;) :p Feedback please. :) |
you keep this up firefly, and vb is going to throw you into the staff lineup. If one didnt know better, a person would swear that you and tubedog are having a hack release contest...:D
Keep up the good work! |
[QUOTE]Originally posted by ToraTora!
you keep this up firefly, and vb is going to throw you into the staff lineup. If one didnt know better, a person would swear that you and tubedog are having a hack release contest...:D Keep up the good work! |
I look forward to adding this :) You're a hacking machine!
|
Had the following mySQL-error:
Code:
Database error in vBulletin Control Panel: Invalid SQL: SELECT userid,username,usergroupid,password,email,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,posts FROM user WHERE userid IN () |
Ooops, if there are no results I should bring you back to the search screen.
I'll fix it in a mo. |
Fixed.
If no users are found an appropriate line appears and you are brought back to main search screen. |
It fails even if there should be search results. I checked it on a forum where everyone has access and it gets me that error. Actually, the members should be listed there.
Other question: If the forum's set that only admins and mods can post and reply but users can only read it, will that be included in the search? |
You missed something:
This searches by access masks, not by regular forum/usergroup permissions. So only users that you specifically selected Yes for them will appear. See this thread for more info: http://www.vbulletin.com/forum/showt...threadid=27668 |
Hmm, ok, now after the bug fix I see somehow how it's working...
|
All times are GMT. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|