vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Remove mass-prune posts option in ModCP (https://vborg.vbsupport.ru/showthread.php?t=59697)

Erwin 01-04-2004 10:00 PM

Remove mass-prune posts option in ModCP
 
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:

PHP Code:

    if (can_moderate(0'canmassprune'))
    {
        
$canmass true;
        
construct_nav_option($vbphrase['prune'], 'thread.php?do=prune');
    } 

Change to:

PHP Code:

    if (can_moderate(0'canmassprune'))
    {
        
$canmass true;
    } 

Simple. :)

Koutaru 01-05-2004 09:32 AM

70 plus mods?!?..

[high]* Koutaru stares
[/high]

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 01-05-2004 09:41 AM

You can, but I take out as little as I can. ;)

SloppyGoat 01-09-2004 08:52 PM

Yep, I was also looking at that. It scared the hell out of me. Thanks for this one! ;)

NTLDR 01-09-2004 09:25 PM

Just a side note that these links also appear on forumdisplay and should also be removed from that template :)

cerebro 01-11-2004 08:18 AM

can you make some mod to remove "IP Search" ... my moderators use that too and take over all the CPU :(

Erwin 01-11-2004 10:56 AM

Quote:

Originally Posted by cerebro
can you make some mod to remove "IP Search" ... my moderators use that too and take over all the CPU :(

Just for you. ;)
https://vborg.vbsupport.ru/showthread.php?t=60050

eva2000 01-11-2004 01:08 PM

Quote:

Originally Posted by Erwin

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 03-30-2004 08:42 PM

Is there a way to make it so super mods can pass prune but not regular mods?
:) Thanks

FleaBag 04-07-2004 04:51 PM

Nicely done Erwin - cheers.


All times are GMT. The time now is 02:28 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
  • Page Generation 0.01166 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete