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)

Xenon 07-26-2002 11:00 PM

you get better and better :)
good work satan

Thewnagchung 07-26-2002 11:13 PM

im getting this error once im done installing it o.O

Parse error: parse error, unexpected T_LOGICAL_AND in /home/videogam/public_html/forum/Admin2/user.php on line 299

Thewnagchung 07-27-2002 12:13 AM

PHP Code:

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


what values do I put in for X ?

forgive me but im a n00b at this

Xenon 07-27-2002 12:26 AM

X is your userid ;)
normally its 1

Thewnagchung 07-27-2002 01:09 AM

I got it to work for the most part, but I have a question.

if you give them the power to make users, cant they just make an admin account and thus forth wreak havoc anyway?

Chris M 07-27-2002 08:52 AM

Yes...That is why It is not finished;)

I am working on the Usergroup issue now:)

Satan

Chris M 07-27-2002 09:25 AM

I have updated the hack...It is in the first post...

This attached file is version 1.1 for those of you who never got it...

Satan

Marshalus 07-29-2002 07:47 PM

Great hack!

/me clicks install

Chris M 07-29-2002 07:57 PM

Thanks:)

Satan

Velocd 07-30-2002 03:28 AM

Nice hack Satan
*clicks install*


All times are GMT. The time now is 08:44 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.01359 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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