vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to update config.php to make myself undeletable as admin. (https://vborg.vbsupport.ru/showthread.php?t=294873)

obglobal.net 02-08-2013 01:07 AM

How to update config.php to make myself undeletable as admin.
 
How do I make myself, the admin, incapable of deletion?

Any other security tips (and the means to execute them) would also be most appreciated.

Thank you, everyone. :up:

ForceHSS 02-08-2013 02:06 AM

Have you opened the config file with notepad++ yet

Lynne 02-08-2013 03:15 AM

Open /includes/config.php and enter your userid in place of the red x:

Code:

    //    ****** UNDELETABLE / UNALTERABLE USERS ******
    //    The users specified here will not be deletable or alterable from the control panel by any users.
    //    To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = 'x';


obglobal.net 02-08-2013 03:26 AM

Quote:

Originally Posted by ForceHSS (Post 2402779)
Have you opened the config file with notepad++ yet

Ah, no. It's all still foreign to me.

Nelson58 02-08-2013 04:09 PM

Quote:

Originally Posted by obglobal.net (Post 2402796)
Ah, no. It's all still foreign to me.

If you use filezilla, you can right click and hit edit. It opens (the config file). Replace the user number with your user number and hit save and you are good to go.

If you own the site, but have administrators, I recommend you do this for your own protection.

Nelson

obglobal.net 02-09-2013 06:33 AM

Oh, man, I still have no idea where to start. Thanks for the comments and help everyone, I just can't initiate things because I don't know where to begin doing so.

Eric 02-09-2013 07:31 AM

Is your forum hosted on a server where you have something like cPanel available? I normally do not recommend using it, but if so, you may find it easier to just use cPanel's File Manager to make the file edit.


All times are GMT. The time now is 03:42 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.01036 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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