Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2007, 03:40 AM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Super Admin Permissions - Please HELP!!!

I bought a board from a friend of mine and am stuck. I need to get complete access however this is what I get

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';



Which directory can i find config.php?

I want to add two user names as superadmins

Is this correct?
$config['SpecialUsers']['superadministrators'] = '1';Name1;Name 2

Also what is a good editor for .php files?
Reply With Quote
  #2  
Old 07-21-2007, 03:44 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instructions don't come much clearer that this.

"To allow the administrators to access this page, edit the variable to include the user IDs of those administrators should have access"

not usernames, userids. and not semicolons, but commas

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

As for an editor, I use vi, but I am assuming you are using a windows system and accessing the site via ftp, in which case I would recommend bbbedit, although there are a host of syntax highlighting code editors out there, some of them for free as well.
Reply With Quote
  #3  
Old 07-21-2007, 03:46 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, that is not correct. You would enter their userid not their username. For example, if you go to your profile here on vbulletin.org you will see your userid in the address bar. (https://vborg.vbsupport.ru/member.php?u=179056) Your userid being the 179056.

As far as a good editor, I swap between Notepad and WordPad but MOSTLY use Notepad
Reply With Quote
  #4  
Old 07-21-2007, 03:47 AM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open the config.php file with wordpad (notepad will often add unwanted characters, and deamweaver will add unwanted code). Then in that area add the userid number not the name... upload.

Let us know if you need more help
Reply With Quote
  #5  
Old 07-21-2007, 03:58 AM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for the quick replies.... I am not able to find config.php in my /public_html/board and I can see that the site is www.-------.com/board

where is the config.php by default?
Reply With Quote
  #6  
Old 07-21-2007, 04:00 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would be in your includes/ directory, so you would take this path.....

/public_html/board/includes/config.php
Reply With Quote
  #7  
Old 07-21-2007, 04:13 AM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ... i got to the file.

now comes a problem ... the site is already SEO'd, so when I click on profile I am not able to get to the member number neither am i able to do this thru member list. Plz advise.
Reply With Quote
  #8  
Old 07-21-2007, 04:15 AM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fgenetics View Post
thank you ... i got to the file.

now comes a problem ... the site is already SEO'd, so when I click on profile I am not able to get to the member number neither am i able to do this thru member list. Plz advise.
In the profile hover over "Find all posts by XXX" and you'll see the number...
Reply With Quote
  #9  
Old 07-21-2007, 04:23 AM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Roms View Post
In the profile hover over "Find all posts by XXX" and you'll see the number...
can i bake u guys a cake or something

problems fixed people ... thanks to all of you!
Reply With Quote
  #10  
Old 07-24-2007, 06:52 PM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so my admin panel seems to be looking ok, but when I get to usergroups/admin permissions I am getting the same superuser error again.

I did add the following as superadmins, me being 5569 however, i keep getting the same error. what could be the reason?

// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1,4073,5569,14318';

ttt
Reply With Quote
Reply


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 03:05 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.05341 seconds
  • Memory Usage 2,256KB
  • Queries Executed 13 (?)
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
  • (2)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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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