vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Main Mod / Regular Mod Hack (https://vborg.vbsupport.ru/showthread.php?t=47979)

Neo 01-21-2003 10:00 PM

Main Mod / Regular Mod Hack
 
This is pretty simple, but its a nice addon. Julie is behing the idea of this hack.

So if you cant guess what this does then I will tell you. It makes it so that you can make a mod the head of a forum. Now you have to make a new usergroup for this but its alot simpler then playing around with admin files for hours and hours.

This has been tested on 2.2.8 so it works as far as I know.

Images are below if you need visual help (which most of you do ;))

To make this work correctlt you will have to edit all 3 of these

PHP Code:

$moderator['usergroupid']==XX 

to the usergroupid that the main mods will be..

anyways here it is.

Neo 01-21-2003 10:48 PM

image one.

Neo 01-21-2003 10:48 PM

image two.

LOD-squa 01-21-2003 10:55 PM

Nice hack. I might install it. good job bro

ethics 01-21-2003 11:04 PM

This will be very nice for my politically based board. Thank you. :)

Link14716 01-21-2003 11:15 PM

So anyone in the main mod usergroup will be the main mod of every forum they are set to mod?

Suggestion: Add a field to the moderators table (not sure of the name) for the main mod capability and edit forum.php a little bit so that it will add a yes/no option for that user to be a main mod of that forum. That way, Mod A can be a head mod of forum A, but a regular mod of forum B. :)

Neo 01-21-2003 11:28 PM

Link: A main mod will be only put in the forum they are modding. If you put a main mod in two forums then she/he will be the main mod for those forums, and so on.

And when I get around to making a update I will look into it, but having one less query is always good. :)

Logik 01-22-2003 12:44 AM

Nice neo.. Good idea. ;)

DWZ 01-22-2003 11:43 AM

This doesn't give the "head mod" any more powers does it? It's just visual isn't it?

Sweet Cheeks 01-22-2003 01:55 PM

Awesome!!!!!! :banana: Thank you so much for taking the time to write this hack for us Neo :D


All times are GMT. The time now is 11:59 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.01505 seconds
  • Memory Usage 1,724KB
  • 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)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