Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Customize AdminCP via Admin Permissions Details »»
Customize AdminCP via Admin Permissions
Version: 1.00, by House_of_Crazed House_of_Crazed is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-09-2004 Last Update: Never Installs: 4
 
No support by the author.

// Make AdminCP Stricter
// Made by House of Crazed on 7/10/04
// Released on vbulletin.org
// First modification released here on vB.org

-- Information --

I originally made this modification to my admincp to further lock down my admincp to any of my supermod / admin / mods. It was easier to me to do this instead of having to modify two different CP's. Then I decided "Release on vB.org, never know if someone else is looking for the same thing." I hope that this will be helpful to some people.

Support will be given as best as I can help.

HoC

Show Your Support

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

Comments
  #12  
Old 07-14-2004, 12:06 AM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to keep adding to the permissions list, if you desire.

Unless the hack author adds in that file change themselves in the install file.

HoC
Reply With Quote
  #13  
Old 07-16-2004, 03:04 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more question if you dont mind... if I allow a mod to alter usergroups, are they prevented from adding someone into a mod or admin group?
Reply With Quote
  #14  
Old 07-16-2004, 03:44 AM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused.

This is not a mod to alter usergroups.

This is a mod to alter administrator permissions which only Super Administrators can only grant permissions to other Administrators.

HoC
Reply With Quote
  #15  
Old 07-29-2004, 03:18 AM
Spydertech Spydertech is offline
 
Join Date: Dec 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeve of shinra
One more question if you dont mind... if I allow a mod to alter usergroups, are they prevented from adding someone into a mod or admin group?
No - this hack just further restricts the Admin Permissions you give to people who have access to the AdminCP...

Usergroups as yes will allow whoever has that access Usergroup Manager and actually change the Usergroups themselves - it deosn't give them access to the User page to change a particular Users Usergroup.

To implement what you want, you will want to keep the ModCP and modify it to allow your Mods and SuperMods to make group changes based on criteria you set in the AdminCP - see:
https://vborg.vbsupport.ru/showthread.php?t=62018

But don't give them the UserGroup access in the Administrative permissions..


edit - after actually testing it out, I edited for a better explanation.
Spydertech
Reply With Quote
  #16  
Old 08-01-2004, 02:58 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry but i am bit confused on using this hack :S

I want to restrict my Jr. Admins to only access Users Settings and post icons and smileys
can u suggest somthing ?

thnx.
Reply With Quote
  #17  
Old 04-17-2005, 09:01 AM
Pickalo Pickalo is offline
 
Join Date: Dec 2002
Location: Victoria
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

~bump.

I just installed this today, and to throw my own little twist on it I edited out a few fields in the admincp/user.php file. Now, the problem is that I want to block out Usergroups because I don't want Supermods to be able to make themselves admins.

I tried blocking out this code:

PHP Code:
    // USERGROUP SECTION
    
print_table_header($vbphrase['usergroup_options']);
    
print_chooser_row($vbphrase['primary_usergroup'], 'user[usergroupid]''usergroup'$user['usergroupid']);
    if (!empty(
$user['membergroupids']))
    {
        
$usergroupids $user['usergroupid'] . (!empty($user['membergroupids']) ? ',' $user['membergroupids'] : '');
        
print_chooser_row($vbphrase['display_usergroup'], 'user[displaygroupid]''usergroup'iif($user['displaygroupid'] == 0, -1$user['displaygroupid']), $vbphrase['default'], 0"WHERE usergroupid IN ($usergroupids)");
    }
    
$tempgroup $user['usergroupid'];
    
$user['usergroupid'] = 0;
    
print_membergroup_row($vbphrase['additional_usergroups'], 'membergroup'0$user);
        
print_yes_no_row($vbphrase['shoutbox_cpuser_banned'], 'user[shoutbanned]'$user['shoutbanned']);
    
print_table_break(''$INNERTABLEWIDTH);
    
$user['usergroupid'] = $tempgroup
But when I do I get a database error. Does anyone have a solution for this?
Reply With Quote
  #18  
Old 04-18-2005, 03:07 PM
Pickalo Pickalo is offline
 
Join Date: Dec 2002
Location: Victoria
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...help anyone, please?
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 12:42 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.04380 seconds
  • Memory Usage 2,283KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_php
  • (1)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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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