vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Super Admin Permissions - Please HELP!!! (https://vborg.vbsupport.ru/showthread.php?t=152904)

fgenetics 07-21-2007 02:40 AM

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?

Eikinskjaldi 07-21-2007 02:44 AM

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.

HMBeaty 07-21-2007 02:46 AM

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

Roms 07-21-2007 02:47 AM

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 :)

fgenetics 07-21-2007 02:58 AM

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?

HMBeaty 07-21-2007 03:00 AM

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

/public_html/board/includes/config.php

fgenetics 07-21-2007 03:13 AM

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.

Roms 07-21-2007 03:15 AM

Quote:

Originally Posted by fgenetics (Post 1297128)
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... ;)

fgenetics 07-21-2007 03:23 AM

Quote:

Originally Posted by Roms (Post 1297130)
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 :D

problems fixed people ... thanks to all of you!

fgenetics 07-24-2007 05:52 PM

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


All times are GMT. The time now is 08:04 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.02020 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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