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

Reply
 
Thread Tools
[final]Lesser Admin Cp... Details »»
[final]Lesser Admin Cp...
Version: 1.00, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-25-2002 Last Update: Never Installs: 128
 
No support by the author.

Please do the following before attempting to install:

1.) Backup your Files before doing anything
2.) Be aware that although I have tested this myself, there may still be problems...If you do not backup your files, I cannot condone your install of this hack...
3.) If you want to Backup your Database, You can - There shouldn't be any need to...

The file(s) you should have is/are:

install_lesseradmincp_txt.php
install_lesseradmincp_usergroups_txt.php

Install Info:
Hack Version: 1.4
Files to edit: 4
Templates to add: 0
Templates to edit: 0
Queries to Run: 1
Time to install: Approx 5 Minutes

Credits
Requested by - Nobody

Support - I am offering support, but only in THIS THREAD...I unfortunately cannot be here during the coming weeks (Mon-Fri), so therefore you will have to rely on others for assitance, should it be urgent...If you do require assitance, please - Only reply in this thread

Hack info

What does it do? - This basically will allow you to make a Lesser Control Panel for your other Admins...I know I released the "Total Admin Security" hack (link in my profile), but this will allow you to ensure that they cant delete your templates, especially if you put them in a seperate usergroup...

I know you will want a screenshot, so here is a screenshot of my Co-Admin Control Panel...The second Screenshot is of the Co-Admin Permissions...The third is of the Usergroup gone from edit user and add user...The fourth is of the Usergroup gone from search options, and the fifth is from search display options...

Live Demo/Screenshots

Co-Admin Control Panel
Co-Admin Permissions
The name "Co-Admin" is what I determine as "Lesser Admin" - The picture may differ slightly from the screenshot
Usergroup options gone from Edit user & add user
Usergroup no longer a Find option
Usergroup no longer able to be display in searches

[high]Latest Version[/high]

You can download Version 1.4 (normal) here...
You can download Version 1.4 (usergroup version) here...

Enjoy!

Satan

Show Your Support

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

Comments
  #2  
Old 07-26-2002, 06:26 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll proably install this. Thanks
Reply With Quote
  #3  
Old 07-26-2002, 08:14 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good hellsatan

I don't currently have any use for it as I'm the only admin but I'm sure many will benifit from it.
Reply With Quote
  #4  
Old 07-26-2002, 08:23 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhuh...

I am the Only Admin at my boards also...I made it really, so that my Super Mods, who I call Co-Admins, can perform some of the Admin Functions, so I dont have to...

There are of course limitations to their power I made it so that I dont have anyone else who might be able to access the real Admin CP and do damage...

Satan
Reply With Quote
  #5  
Old 07-26-2002, 09:05 PM
Thewnagchung's Avatar
Thewnagchung Thewnagchung is offline
 
Join Date: Jul 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off GREAT HACK!!

but before i install it i have a couple of questions.

could i make it were my mega mods(super mods) can access it? and can you also add a temp ban, and unban function?

edit: NM about letting them access it, i figured that out, but can you add the ban/unban function?
Reply With Quote
  #6  
Old 07-26-2002, 09:31 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes...

You will need to make sure that you only give them the url, as any Mod can access it at this time...I am trying to sort that out...

Whatever hacks you can do to the Admin CP, you can do to this one too...

If you want to ensure that only your mega-mods can access it, enter this in the top of every php file, under :

PHP Code:
require("./global.php"); 
You can enter :

PHP Code:
if (($bbuserinfo[usergroupid]!=X) and ($bbuserinfo[usergroupid]!=Y)) {
echo 
"<p>You cannot perform this function.</p>";
  
cpfooter();
  exit;

(Change X and Y to the Ids of your MegaMod group, and your Admin group)

So yes...In answer to your question, yes you can

Satan
Reply With Quote
  #7  
Old 07-26-2002, 09:34 PM
Thewnagchung's Avatar
Thewnagchung Thewnagchung is offline
 
Join Date: Jul 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hellsatan
Yes...

You will need to make sure that you only give them the url, as any Mod can access it at this time...I am trying to sort that out...

Whatever hacks you can do to the Admin CP, you can do to this one too...

If you want to ensure that only your mega-mods can access it, enter this in the top of every php file, under :

PHP Code:
require("./global.php"); 
You can enter :

PHP Code:
if (($bbuserinfo[usergroupid]!=X) and ($bbuserinfo[usergroupid]!=Y)) {
echo 
"<p>You cannot perform this function.</p>";
  
cpfooter();
  exit;

(Change X and Y to the Ids of your MegaMod group, and your Admin group)

So yes...In answer to your question, yes you can

Satan
Thanks!

ione more question
how would i add a ban function that worked like this.

instead of having a set timer for a ban, the mega mod would ban the user, and if that user has been a pain leave him banned under that user name for good. BUT if he just wants it to be a temp ban, he can just un-ban him at a later date.
Reply With Quote
  #8  
Old 07-26-2002, 09:54 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hellsatan
Yes...

You will need to make sure that you only give them the url, as any Mod can access it at this time...I am trying to sort that out...
Your hack is better than you mean

you check for usergrouppermission: ismoderator which actually means the usergroup is a supermod group.

so just every supermod can acces to that panel

if you think that are to much users, you have to add another field to usergroup table canaccesscoadmin...
then change all ismoderator to canaccesscoadmin
Reply With Quote
  #9  
Old 07-26-2002, 10:24 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm...

@Thewnagchung - That is an issue for the creator of the Temp Ban hack...I cannot help you there im sorry...

@Xenon - It does? I thought it meant any moderator...

Silly me!

I might do what you suggested, so I can have Super Mods too

Satan
Reply With Quote
  #10  
Old 07-26-2002, 10:57 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...Ive updated the first post...

Satan
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 02:43 PM.


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.07128 seconds
  • Memory Usage 2,307KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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