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
  #82  
Old 09-08-2002, 08:22 PM
adalberto adalberto is offline
 
Join Date: Aug 2002
Location: Italy
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhh... Now it's ok... but in your file (1.3) is:
PHP Code:
if ($userid==42) and ($bbuserinfo[userid]!=42) { 


Thank's very much for your help
Reply With Quote
  #83  
Old 09-15-2002, 03:03 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all I want to say Thx a lot @ Satan for this great Hack! This was exactly what I was searching for.


While hacking the files I encountered some Problems due to some Errors you made. Here they are :


Wrong Link in the first Post of the Thread:

The File-Attachement points to a file named 'instructionsupdate2.txt' which unfortunately is the 1.2 Version and not the newest 1.3 Version.


Script Error in the 1.2 Version:

Search this Code in instructionsupdate2.txt

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

This refers to users.php at about line 300. As you can see while reading this thread, the code causes problems to the Users. This is, because the hint that your user-ID is 1 is missing and two brackets () are missing. The right Code is:

PHP Code:
if (($userid==1) and ($bbuserinfo[userid]!=1)) { 
echo 
"<p>You cannot delete this Admin.</p>";
  
cpfooter();
  exit;

This solves the problems discussed over the last 5 pages, perhaps a Mod could delete those posts as the Solution is here and the thread gets too complicated.


With friendly greetings, TheSaint-AeD

P. S.: Now I will hack the files to 1.3 Version, I'll keep you informed if I encounter any Problems, even if they are the same.
Reply With Quote
  #84  
Old 09-15-2002, 03:42 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

@File attachment - I decided to leave 1.2 as the Attached Version, as either 1.2 or 1.3 can be used Both take different avenues of hacking

@Errors - 1.2 & 1.3 versions updated

I used "X", because your userid might not be 1

Thanks for the positive feedback

Satan
Reply With Quote
  #85  
Old 09-15-2002, 04:23 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to update my 1.2 Version to 1.3 . As this Hack was the only installed Hack on my VB 2.2.7 I simply took user.php in an unchanged version and performed Step 7+8 aswell as the alternate options on the bottom. Now I get a blank screen if I try to log in the Lesser-Admin-CP on /admin2/index.php ?

Any suggestions?

Comment: I'm no Newbie and did exactly what was described in the hack.
Reply With Quote
  #86  
Old 09-16-2002, 01:49 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear VB-Staff, I need help with the Problem stated above, I'm not able to find a solution to this, as I hacked everything like stated from Satan.

And I have some further Questions:

How is it possible, to give some Groups Access to the LA-CP (Lesser Admin CP) and not only the Group Co Admin? Can I simply add them as Lesser Admins over the ACP or do I have to hack every single Group?
Reply With Quote
  #87  
Old 09-16-2002, 04:27 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok.

I took a whole unmodified VBB 2.2.7 and applied the 1.3 Hack to be sure, I made no mistakes during the last tryout, and I encounter still the same problem: a blank screen on admin2/index.php

I didn't encounter this Problem in the previously applies 1.2 version, but I need the 1.3 Version as I want to ally my lesser Admins to create/change User Groups.
Reply With Quote
  #88  
Old 09-17-2002, 02:49 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

Hmmm...

I can suggest 2 things:

1 is that you did not hack global.php correctly...
2 is that you uploaded the files in ASCII mode, not Binary...

Satan
Reply With Quote
  #89  
Old 09-17-2002, 11:09 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm...

1. I edited global.php exactly as told in your 1.3 file
2. I uploaded it in Binary...
Reply With Quote
  #90  
Old 09-18-2002, 12:24 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay. I will edit global.php once again (for the third time) to make sure I did no mistakes. I'll keep you informed on the Progress.
Reply With Quote
  #91  
Old 09-20-2002, 02:57 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got it working now. There are no errors in Satan's Script. It was just, that I made some personal Changes to it because my Lesser Admins get more Options as in his Hack, and in theses changes made an error.

Sorry.

Thx again for this great Hack, Satan. In my Opinion, the most important Hack on hole vB.org
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:07 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.08606 seconds
  • Memory Usage 2,321KB
  • 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_php
  • (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
  • (1)pagenav_pagelinkrel
  • (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