vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Restrict Supermod Permissions (https://vborg.vbsupport.ru/showthread.php?t=91121)

Andreas 06-25-2005 10:00 PM

Restrict Supermod Permissions
 
Restrict Supermod Permissions
This Hack allows you to restrict the Permissions of Supermods just as you can with normal Moderators.

Details
1 Bitfield XML File
1 Query
1 File Edit (only for Versions < 3.5 RC3)

History
1.0.0
Initial Version

1.0.1
Fixed wrong Phrases

1.0.2
Updated for RC3
This Hack is now packaged as a Product and does not require File Edits any longer

1.0.3
Moved the Permissions to their own Group (Super Moderator Permissions) in Usergroup Manager; they are now also hidden from Non-Supermod Usergroups
No functional changes.

1.0.4
Fixed two wrong phrases
Changed product assignment for bitfield XML from vbulletin to smodperms.

Important Notice
This Hack is not necessary nor compatible with vBulletin 3.6.
Do not install it on 3.6 and don't expect or ask for an update.

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

Christine 06-26-2005 05:22 PM

THANK YOU Kirby!!

Downloaded and going to test now...

Christine 06-26-2005 05:46 PM

Loaded flawlessly and is working like a champ. No messy error messages -- the permissions are controlling what options they even see.

Have I told you lately that I love you? :p

Andreas 06-26-2005 05:50 PM

Quote:

Originally Posted by Christine
the permissions are controlling what options they even see.

Yes. They work (at least they should) exactly the same way as they do for normal Moderators.

Quote:

Have I told you lately that I love you? :p
[high]* Andreas feeling ashamed now :)[/high]

Chris M 06-27-2005 12:00 AM

I've been saying that we need a feature like this since the first Beta of vB 3.0 - Hope this makes it into 3.5 as an actual feature :D

Satan

southernlady 07-07-2005 11:46 AM

Quote:

Database error in vBulletin 3.5.0 Beta 3:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Super Moderators',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '917503',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '0',
`modpermissions` = '32',
`genericpermissions` = '204430703',
`genericoptions` = '31',
`profilepicmaxwidth` = '150',
`profilepicmaxheight` = '150',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000'
WHERE usergroupid=5;

MySQL Error : Unknown column 'modpermissions' in 'field list'
Error Number : 1054
Date : Thursday, July 7th 2005 @ 07:20:05 AM
Script forum/admincp/usergroup.php
Referrer : http/admincp/usergroup.php?do=edit&usergroupid=5
IP Address
Username
Classname
I got an error but I suspect it has more to do with MY MySQL version or my phpmyadmin and not the modification itself. I'm using (only because I have no choice), MySQL version is 4.0.24 and phpmyadmin is 2.6.2-rc1. Liz

Andreas 07-07-2005 11:50 AM

This has nothing to do with your mySQL Version (it even works with mySQL 3.23), you just did not install it correctly.
Carefully (!) check the installation instructions again, especially Step 1.

southernlady 07-07-2005 12:02 PM

Kirby, I've NEVER run a query before...HELP???? Please. Liz

Andreas 07-07-2005 12:09 PM

ACP / Maintenance / Execute SQL Query or phpMyAdmin
http://vbulletin.com/forum/showthread.php?t=18558

southernlady 07-07-2005 12:10 PM

I'm in phpmyadmin cause that's where I have to run it but I don't know how. I've never done it before. And my host isn't online yet.

Thank you for the link.. Liz


All times are GMT. The time now is 10:59 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.02210 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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