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 ?

nirav 09-24-2007 02:27 PM

i putted this $config['SpecialUsers']['superadministrators'] = '13';

Paul M 09-24-2007 05:47 PM

Well that's formatted correctly, so either you haven't uploaded it properly, or you are not userid 13 (or some other mistake I haven't thought of).

Marco van Herwaarden 09-25-2007 12:17 PM

Is userid == 13 in the Administrators usergroup at all?

nirav 09-25-2007 02:00 PM

what u mean i dont get it ?

--------------- Added at 16:01 ---------------

some on here got msn add me admin@tamilsourcex.com please

Marco van Herwaarden 09-25-2007 02:32 PM

Is that user in the Administrators usergroup? Ie. is he an admin or did you just add the id of a regular member as superadmin to your config.php?

nirav 09-25-2007 02:51 PM

yes that was a normal member and i just made him as admin so if anything happen to the admin username i can use that but now i cant is not letting me edit the admin premission

Marco van Herwaarden 09-25-2007 03:11 PM

How did you "made him as admin"?

As which user do you try to edit the Admin permissions?

nirav 09-25-2007 04:55 PM

yes he is in admin usergroup

dyna88 09-25-2007 05:01 PM

Lets get this straight...you gave user id 13 superadmin permissions by entering this line in the config file...
PHP Code:

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

Now are you trying to grant user id 13 full admin permissions from another admin account???
Or are you trying to use user id 13 to grant full admin permissions to another admin account???

nirav 09-26-2007 02:06 PM

im trying to trying to use user id 13 to grant full admin permissions to another admin account

nirav 09-27-2007 02:46 PM

help please


All times are GMT. The time now is 03:28 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.01130 seconds
  • Memory Usage 1,754KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete