Version: , by Mas*Mind
Developer Last Online: Sep 2003
Version: 2.0.x
Rating:
Released: 06-16-2001
Last Update: Never
Installs: 21
No support by the author.
UPDATE 18/7 22:23 (Dutch Time)
Changelog:
deleted some unnecesary htmlspecialchars() and htmlentities()-calls
Fixed the problem that you couldn't move to a forum in which no threads can be posted.
Only re-upload spinner.php (newly attached) and you're done
Description: This hack allows mods/admins to selectively delete/open/close/move/copy/movewredirect threads in a certain forum at once!
VBversions: tested with 2.01 but will probably work on all versions
Features: Certain features are only shown when the particular mod has the rights for it. EG: When a mod can't close threads the 'close' option won't be shown.
$permissions=getpermissions();
if ($permissions[ismoderator] or $ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND canmoderateattachments=1")) {
header("Location: mod/index.php?s=$session[sessionhash]&loc=moderate.php?s=$session[sessionhash]%26action=attachments");
} else {
show_nopermission();
}
}
Note: If you've renamed spinner.txt to spinner.php3 then you have to change
I am running version 2.2.6 of vBulletin. However, when I am inside the specific forum I want to organize (I added subforums and I am just shuffling threads around), I cannot seem to find that pesky moderator options pull down. What the heck am I doing wrong?
I sure hope I can figure out how to make this work, otherwise getting this board revised is going to be a never ending project.
Also, I didn't quite follow an earlier post about accessing spinner via the Admin CP. If I could do this, it would be excellent. I see where you showed what code to add, but I am not sure to which file or template the addition should be made.
Sorry if I sound like an idiot. Generally speaking - when it comes to coding, that's exactly what I am.
A follow-up question. Is this a hack of a hack? I mean, is there normally a "Moderator Options" pull down available at the forum level? I have contacted a couple other friends who are running vBulletin, and they are having similar issues...
It works perfectly on 2.3.0 with scsa20's and Link's modifications. I didn't use the moderator additions (which may be where the problems are), because I wanted only the admins to be able to do it =P
hi Friends, i have the Version 2.2.8 but i dont can find this in my Moderator.php
PHP Code:
if ($action=="modattach") {
$permissions=getpermissions();
if ($permissions[ismoderator] or $ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND canmoderateattachments=1")) {
header("Location: mod/index.php?s=$session[sessionhash]&loc=moderate.php?s=$session[sessionhash]%26action=attachments");
} else {
show_nopermission();
}