vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   help on config file please (https://vborg.vbsupport.ru/showthread.php?t=158532)

nirav 09-23-2007 11:57 AM

help on config file please
 
hi on my vbulletin i have deleted the admin username by accedent and i dont know how to bring back the admin with all rights . i have created a admin username from my other account but on the other account is not allowing me to give full acces to the admin cp . so if i make someone as admin from my other account is not allowing me to give full acces for the admin cp in there admin cp is saying this look

Sorry, you are not allowed to edit administrator permissions.

If you think you should have permission to access this page, you will need to edit the $config['SpecialUsers']['superadministrators'] variable in the includes/config.php file.

To allow the administrators to access this page, edit the variable to include the user IDs of those administrators should have access, separating each user ID with a comma, like this:

$config['SpecialUsers']['superadministrators'] = '1,25,57';

To allow only a single administrator to access this page, simply add that user's ID with no commas, like this:

$config['SpecialUsers']['superadministrators'] = '1';

can someone help me pleaseeeee

WhaLberg 09-23-2007 12:05 PM

Edit the line
PHP Code:

$config['SpecialUsers']['superadministrators'] = '1'


in includes/config.php. Enter your username and save it.

nirav 09-23-2007 12:44 PM

what do u have to enter the username in here ['SpecialUsers'] and same username in here as well ['superadministrators'] ?

i tryed it but is not workin can u help please

dyna88 09-23-2007 01:17 PM

You have to enter the user ID not the actual user name...so you would replace the '1' with your user ID # so say your user ID # was 6 the line would look like this...
PHP Code:

$config['SpecialUsers']['superadministrators'] = '6'


nirav 09-23-2007 01:26 PM

oh so in here say my username is ['DjRowdy'] and here ['DjRowdy'] and here my username contans 7 letters and so like this = '7'; right ?

WhaLberg 09-23-2007 01:32 PM

Nope. You have to enter your userid.

nirav 09-23-2007 01:32 PM

is it like that or how do i find my user id :S

but how do i find the user id please

oh is it /forum/member.php?u=13 so is ['SpecialUsers']['superadministrators'] = '13';
do i have to put my username in thoese two boxes ['SpecialUsers']['superadministrators']

dyna88 09-23-2007 03:16 PM

Quote:

Originally Posted by nirav (Post 1345169)
is it like that or how do i find my user id :S

but how do i find the user id please

oh is it /forum/member.php?u=13 so is ['SpecialUsers']['superadministrators'] = '13';
do i have to put my username in thoese two boxes ['SpecialUsers']['superadministrators']

If that is the link when you click on your user name then yes your user ID is 13 so the line would look like this... all you change is the user ID # NOTHING else...

You can also find your user ID by searching for your username in your adminCP... it would look something like... User: nirav (id: 13) on the top of the page

PHP Code:

$config['SpecialUsers']['superadministrators'] = '13'


nirav 09-23-2007 05:56 PM

no is not working please help me

Paul M 09-23-2007 09:41 PM

So what did you actually put ?


All times are GMT. The time now is 05:29 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.01080 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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