vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Protect Admin CP, But Allow Others Access... (https://vborg.vbsupport.ru/showthread.php?t=43330)

Chris M 09-09-2002 04:43 PM

Ah...But scsa forgot to mention that this is a clever little doody:)

This little thingy looks to see what userid you are trying to access it with;)

If you are userid 1 (what it is set to as standard), and you upload the hellsatan.php file, ONLY your admin account cannot access the Control Panel...Ideal if you have more than one admin;)

Satan

Vivi Ornitier 09-09-2002 06:28 PM

I just use a if($bbuserinfo[userid]!=1) { show_nopermisssion(); } in sessions.php

Chris M 09-10-2002 04:21 PM

It has the same effect:)

The only thing about hard-coding it (as such) to not allow userid 1, is that you either have to re-upload a sessions.php file that doesnt have that in to access it, or edit the current one and remove it...This you just rename or delete the file, then upload a new one / rename the one you renamed when you are finished:)

Satan

huuthangn 09-15-2002 01:11 PM

Please tell me which URL to down load all hacks for vbulletin v226, I've just come here, I don't know much.
Thanks for all your help.

email: nbikc@yahoo.com

Chris M 09-15-2002 01:43 PM

http://www.vbulletin.org/hacks/index...r=desc&x=3&y=8

Try the hacks database;)

Just search for hacks via the vB version, and then click on the vB 2.2.6 hacks that you like:)

Satan

Sengir 10-12-2002 01:45 PM

Ok.. great idea.. Here's an idea for a hack that includes the Lesser Admin hack.

Let's say you have this hack and that you download this file allowing only you full AdminCP.

Then you can delegate between other Groups so that they download a different file allowing them access to each group's custom CP. So if I want one lesser admin group to see a CP with only changing a member to a specific group or two, and maybe change the sig.. Then another lesser admin group could only add/modify/delete styles... Is this practically possible to create?

Though, actually.. I am not sure I would use this hack. Mainly because I edit the admincp alot from work.

Maybe though if the hack was created like I just described I could create a custom remoteadmincp..

Also, another idea/suggestion.. A custom cp permissions page would be a great addon. So that you can choose what permissions each custom cp has.. (like groups)

Chris M 10-12-2002 02:08 PM

Hmmm...

Lets see...

It is possible to create a second and third and fourth Control Panel - You would really need to follow the instructions in the Lesser Admin CP hack, and take out the files you dont want them to be able to edit, and then ask if there is any code that you want to implement :

i.e. Styles CP - yourdomain.com/forum/stylecp/
"I want the user to be able to edit, but not delete the styles"...

That kind of thing...

As for the custom cp permissions...Sounds like a great idea!...I shall look into it:D

Satan

Sengir 10-12-2002 09:42 PM

Sweet :)


All times are GMT. The time now is 06: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.01032 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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