vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Username change for an Adminstrator (https://vborg.vbsupport.ru/showthread.php?t=296583)

bremereric 03-28-2013 03:04 AM

Username change for an Adminstrator
 
I would like to change my username and I am the owner and administrator of my board. I made a secondary administrator before trying. I changed it and tried to save it but the it flashed a warning that I was protected by some varibles the config.php. Any help would be apreiciated. I already know I will have to update the counters after this is accomplished.:confused:

John Lester 03-28-2013 04:32 AM

Your admin id is listed in the config.php file as undeletable. This also means it's un-editable. You will have to edit your config.php file and either remove the admin id you're renaming, or replace it with the secondary admin id.

You find your userid by searching for your username in the acp. It's at the very top.

You could also add your admin id back to config.php after you rename yourself (recommended).

bremereric 03-28-2013 04:56 AM

In laymans terms please. I have changed my password before.

Krusty1231 03-28-2013 09:14 AM

Download your config.php file from your server. It is in the forum/includes folder.

You will need to open it up - in this instance you could use say - notepad to open it.

Scroll down till you see this:

// ****** UNDELETABLE / UNALTERABLE USERS ******

Take out the 1 - input the other admin you created with that user ID.

Save it - reupload the config.php

Make your name change.

John Lester 03-28-2013 06:13 PM

Quote:

Originally Posted by bremereric (Post 2412638)
In laymans terms please. I have changed my password before.

The members listed as undeletable in the config.php can't be edited by other admins. Yes you can change your own password if you're logged in with that account, but you can not change it if you're logged in from another admin account.

It's done that way to help protect the account(s) from tampering.


All times are GMT. The time now is 02: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.00926 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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