vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Super Mod Permission (https://vborg.vbsupport.ru/showthread.php?t=318018)

ForceHSS 03-28-2015 10:00 PM

Super Mod Permission
 
1 Attachment(s)
Description :
Let?s today prevent forum moderators from pruning many threads via the modcp. Moderators should not be able to use this dangerous feature. We can do a small trick here to disable this feature for them.. Forever

Ease of Installation : Easy

I made this for vbulletin 4, but it should work for vbulletin 3 also

Installation :

Add new plugin via you adminCP:

Product: vBulletin
Hook Location: mod_global
Title: Super Mod Permission
Execution Order: 5
Plugin PHP Code:
PHP Code:

if(strpos(strtolower($_SERVER['REQUEST_URI']),'thread.php')!==false)print_stop_message('no_permission'); 

Plugin is Active: Yes
Save

alcazarx 03-30-2015 05:11 PM

Your mod would affect any user, including admins - also it would prevent mass move.
May sound stupid, but cant this be done already with moderator permissions?
(Just disallow permanent delete and mass prune)

ForceHSS 03-30-2015 05:23 PM

Wrong this will stop super mods mass moving or pruning threads from the modcp only

alcazarx 04-02-2015 11:35 AM

Dont want critizise or downrate this (thus bumping for more user interest :p ).
But as said, this plugin will prevent mass move / prune for whoever has acces to the ModCP
(incl. admins), not only "Supermods".
Can also be done by mod permissions in ACP.

Happy Easter https://vborg.vbsupport.ru/external/2015/04/2.gif

ForceHSS 04-02-2015 12:25 PM

Why would an admin use the modcp? I made this so it stops super mods using these options in the modcp. And you cant do this via mod permissions

badheeu 03-15-2017 11:04 AM

Excellent feature


All times are GMT. The time now is 04:05 PM.

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.01160 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete