Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Restrict Supermod Permissions Details »»
Restrict Supermod Permissions
Version: 1.0.4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-25-2005 Last Update: 10-04-2005 Installs: 114
DB Changes Uses Plugins
Additional Files  
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 09-17-2005, 10:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Don't understand what could be confusing regarding this settng, but

Pre RC3: Admins had all moderator permissions
RC3+: Admins don't have moderator permissions if they are not supermods as well
I guess I didn't realize they changed it in RC 3. But SuperAdmins are not affected by this right? If that is the case, then it is better this way.
Reply With Quote
  #63  
Old 09-17-2005, 10:57 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A Superadmin is still an Admin, isn't he?
Reply With Quote
  #64  
Old 09-17-2005, 11:03 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
A Superadmin is still an Admin, isn't he?
Then that's where we need the chnage. SuperAdmins should be able to mod all areas no matter what. If they turn it off for other Admins, then they are out.
Reply With Quote
  #65  
Old 09-17-2005, 11:23 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that's standard behaviour and does have nothing to do with this Hack which deals with Supermods

But feel free to suggest @ .com that superadmins should have all moderator permissions.
Reply With Quote
  #66  
Old 09-25-2005, 04:12 PM
karanlikdunya karanlikdunya is offline
 
Join Date: Apr 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my functions.php code

if ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator'])
{
DEVDEBUG(' USER IS A SUPER MODERATOR');
$return = true;
($hook = vBulletinHook::fetch_hook('can_moderate_supermod') ) ? eval($hook) : false;
return $return;
}
}

you code:

if ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator'] OR
$vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])
{
DEVDEBUG(' USER IS A SUPER MODERATOR');
return true;

:speechless: :speechless: :speechless: :speechless:

Powered by: vBulletin Version 3.5.0 Release Candidate 3
Reply With Quote
  #67  
Old 09-25-2005, 04:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From the first post:

Quote:
1 File Edit (only for Versions < 3.5 RC3)
Reply With Quote
  #68  
Old 09-25-2005, 08:49 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@karanlikdunya
As Boofo already pointed out, this Hack does not need any File Edits for RC3+.
Those are only necessary for Versions < RC3 - which is clearly stated in the readme.
Reply With Quote
  #69  
Old 09-25-2005, 11:04 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe im missing something but I installed it the RC3 way and I dont see anything new or different in the supermod permissions page. What is this mod supposed to add exactly?
Reply With Quote
  #70  
Old 09-25-2005, 11:11 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=34827" target="_blank">https://vborg.vbsupport.ru/attac...chmentid=34827</a>
This should appear in usergroup manager.
Reply With Quote
  #71  
Old 09-25-2005, 11:25 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I found why. I didnt put the xml file in. Although I do notice that the header saying Elite Mod permissions is not at the top like your screenshot is. Mine us just blank at the top.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05608 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete