PDA

View Full Version : Remove mass-prune posts option in ModCP


Erwin
05 Jan 2004, 03:07
This is a simple hack that I have in my private forums.

I do not want my 70+ moderators mass-pruning posts, so all I did was to do this:

In modcp/index.php -

Find:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Change to:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Simple. :)

Koutaru
05 Jan 2004, 11:32
70 plus mods?!?..

/me stares

I don't really trust my mods when it comes to mass pruning either. Consider this installed. :p Thanks

Hmmm.. couldn't you take out the entire code?

Erwin
05 Jan 2004, 11:41
You can, but I take out as little as I can. ;)

SloppyGoat
09 Jan 2004, 22:52
Yep, I was also looking at that. It scared the hell out of me. Thanks for this one! ;)

NTLDR
09 Jan 2004, 23:25
Just a side note that these links also appear on forumdisplay and should also be removed from that template :)

cerebro
11 Jan 2004, 10:18
can you make some mod to remove "IP Search" ... my moderators use that too and take over all the CPU :(

Erwin
11 Jan 2004, 12:56
can you make some mod to remove "IP Search" ... my moderators use that too and take over all the CPU :(
Just for you. ;)
http://www.vbulletin.org/forum/showthread.php?t=60050

eva2000
11 Jan 2004, 15:08
Just for you. ;)
http://www.vbulletin.org/forum/showthread.php?t=60050
can't you just edit and disable moderator's can prune/mass move permissions on the 'add new moderator to forum' page ?

would be better if you could have a admin page to mass check and edit moderator per forum permissions to disable this and other functions can delete, can real delete etc

Koutaru
30 Mar 2004, 22:42
Is there a way to make it so super mods can pass prune but not regular mods?
:) Thanks

FleaBag
07 Apr 2004, 18:51
Nicely done Erwin - cheers.

HabboForum
02 May 2004, 15:18
I just removed thread.php from modCP and removed the links from the Index page.
Also stops them from mass moving.

I personally believe that this is a big security problem and Jelsoft should give admins the option to disable or enable this from the ModCP. Some boards have many mods, what if one of their accounts got stolen? The whole forum could be erased in seconds.
For this very reason, i have also removed thread.php from the AdminCP, but i have not removed the links. That way, i can simply upload it when i need to use it.

Koutaru
22 Jun 2004, 06:07
Is there a way to make it so super mods can pass prune but not regular mods?
:) Thanks

Anyone? Please? :ermm:

Andreas
11 Jul 2004, 00:43
@Erwin
Hmm ... this hack doesn't make sense at all.
One could just directly enter the URL.

Erwin
11 Jul 2004, 13:42
@Erwin
Hmm ... this hack doesn't make sense at all.
One could just directly enter the URL.
The assumption is that unless the mod knows the direct url, they won't be doing that.

But you can always open thread.php in the modcp directory, and remove:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The rest of the mass prune code is intermingle with the mass move code, and would be messy to remove, which was why I didn't post about that. :)

jilly
17 Dec 2004, 20:53
just what I had been needing lately :)

jilly
04 Jan 2005, 07:52
can you remove mass prune from supermods too?

(besides setting the option board by board)