vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Edit Config.php (https://vborg.vbsupport.ru/showthread.php?t=218184)

Drpepper99uk 07-08-2009 09:19 PM

Edit Config.php
 
Hi,

I have just downloaded a VB Mod which requires me to change my status from a Admin to a super Admin. I need to edit the config.php file in order to get the mod working, how exactly do I do this? I found the config.php in the includes folder once accessing it via Cyberduck FTP, but I can't work out what program I need to use to edit the file.

Michael.

Ronald0 07-08-2009 09:23 PM

You dont need a vbulletin module, there is a simple way to do that.

first you must find your USERID via forums, so on the forums go to your profile, then look at the URL those number(s) at the end will tell you what registration member # you are. Then you take that number and then you will open config.php scroll down until you see super admin, then either add your number or replace the number. If you replace it then you will be the only super admin, if you add it then that number and your number will be super admin.

By default whoever uploaded and installed the forums will be super admin.

Drpepper99uk 07-09-2009 05:03 AM

Hi Jake,

My user ID number is set to 6. What I'm trying to do is find out how to edit the config.php file as I have found the file which appears to be a load of text and futher down is mentions about Super Admin and the user ID of 1 but I can't seem to edit it to my current user id status which is set to 6. I don't know if I need some kind of external editor program in order to do this.

Mike.

James Birkett 07-13-2009 06:45 AM

Hey Drpepper,
looks like your thread got pushed down the queue a little there.
To answer your question; any text editing program will suffice. Open it, scroll down to:
Code:

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

Note the
Code:

$config['SpecialUsers']['superadministrators'] = '1';
If you change that to "1,6" it will include both of your ID's as super administrators.
Hope this helps you - make sure you separate them with commas.


All times are GMT. The time now is 08:13 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.01525 seconds
  • Memory Usage 1,713KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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