Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2007, 11:57 AM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 09-23-2007, 12:05 PM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the line
PHP Code:
$config['SpecialUsers']['superadministrators'] = '1'

in includes/config.php. Enter your username and save it.
Reply With Quote
  #3  
Old 09-23-2007, 12:44 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 09-23-2007, 01:17 PM
dyna88 dyna88 is offline
 
Join Date: Dec 2006
Location: Wisconsin
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'
Reply With Quote
  #5  
Old 09-23-2007, 01:26 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #6  
Old 09-23-2007, 01:32 PM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope. You have to enter your userid.
Reply With Quote
  #7  
Old 09-23-2007, 01:32 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']
Reply With Quote
  #8  
Old 09-23-2007, 03:16 PM
dyna88 dyna88 is offline
 
Join Date: Dec 2006
Location: Wisconsin
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nirav View Post
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'
Reply With Quote
  #9  
Old 09-23-2007, 05:56 PM
nirav nirav is offline
 
Join Date: Dec 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no is not working please help me
Reply With Quote
  #10  
Old 09-23-2007, 09:41 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So what did you actually put ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:48 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.04268 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete