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)
-   -   [final]Lesser Admin Cp... (https://vborg.vbsupport.ru/showthread.php?t=41556)

monstergamer 05-31-2003 08:12 AM

now since i install the 1.4
my co-admins cant change any thing in some one profile
need help

Chris M 05-31-2003 09:23 AM

Who's profile are they trying to edit?

Satan

monstergamer 05-31-2003 07:00 PM

any bodies except the admin

Chris M 05-31-2003 07:04 PM

If they are trying to edit another co-admin, they cannot...

Satan

monstergamer 06-01-2003 02:54 AM

ok i fixed that problem
and i really hate to bug you
but they cant edit any bodies post

Chris M 06-01-2003 10:19 AM

Did you make them a Super Moderator?

Satan

monstergamer 06-01-2003 07:42 PM

i got it
thanx

Chris M 06-01-2003 08:35 PM

No problems;):)

Satan

monstergamer 06-01-2003 09:27 PM

i re-installed it and moded it a little
i left some of it the same and only changed it like this
so co-admins could not add or move people to or from the Administrators usergroup

in admin2/user
find
PHP Code:

// ###################### Start do update #######################
if ($HTTP_POST_VARS['action']=="doupdate") { 

add under
PHP Code:

if (($userid==1) and ($bbuserinfo[userid]!=1)) { 
echo 
"<p>You cannot update this Admin.</p>";
  
cpfooter();
  exit;
}
if ((
$usergroupid==6) and ($bbusergroupinfo[usergroupid]!=6)) { 
echo 
"<p>You cannot make this person Admin.</p>";
  
cpfooter();
  exit;


find
PHP Code:

// ###################### Start Kill #######################

if ($HTTP_POST_VARS['action']=="kill") { 

and add under
PHP Code:

if ($userid==1) { 
echo 
"<p>You cannot delete this Admin.</p>";
  
cpfooter();
  exit;
}
if (
$usergroupid==6) { 
echo 
"<p>You cannot delete this Admin.</p>";
  
cpfooter();
  exit;
}{ 

the rest i left the same

monstergamer 06-01-2003 09:35 PM

this is what it looks like well you click on a user
http://www.monstergamer.net/stuff/1.gif

dropdown box
http://www.monstergamer.net/stuff/2.gif

when they try to edit the admin
http://www.monstergamer.net/stuff/3.gif

when they try to move some one in to the Administrators usergroup
http://www.monstergamer.net/stuff/move.gif


All times are GMT. The time now is 01:14 PM.

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.01144 seconds
  • Memory Usage 1,742KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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