vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Unalterable Admins Can Edit Themselves (https://vborg.vbsupport.ru/showthread.php?t=93482)

akanevsky 08-04-2005 12:57 PM

The difference is, in Kirby's version you could delete the admin (but not edit him). In mine, you can edit, but not delete.

akanevsky 08-04-2005 12:58 PM

Mod, move it to plugins please thanks.

IceBurn3000 08-04-2005 01:06 PM

Awesome plugin!

*Clicks install

It was a real pain having to edit the config file to modify my settings! Not any more!

Sovereign 08-04-2005 03:48 PM

Thank you! I couldn't edit myself (I set myself as unalterable for security reasons) and had to keep FTPing new config.phps every time I changed something...

Andreas 08-04-2005 07:48 PM

Quote:

Originally Posted by Dark Visor
The difference is, in Kirby's version you could delete the admin (but not edit him). In mine, you can edit, but not delete.

Erm ... I check for do != 'kill', you checked for do == 'update'
As those are the only actions in user.php that check undeletableusers it should be the same?

akanevsky 08-04-2005 08:15 PM

Quote:

Erm ... I check for do != 'kill', you checked for do == 'update'
As those are the only actions in user.php that check undeletableusers it should be the same?
Oh. Sorry. I read it as do=='kill'... lol. Yeah, it would do the same, but I prefer a specific action, rather than any exclusive actions if you know what I mean. :)

Andreas 08-04-2005 08:22 PM

Yeah, I didn't want to check for update as this is used by almost all Scripts.
Maybe
PHP Code:

if ($_POST['do'] == 'update' AND basename($vbulletin->scriptpath) == 'user.php')
{
stuff


Then it would really be disabled just for this action.

akanevsky 08-04-2005 08:46 PM

Quote:

Then it would really be disabled just for this action.
Actually, only user.php does any changes to user accounts. So it would be pointless to check for the script as well, wouldn't it?

Andreas 08-04-2005 08:49 PM

I was too lazy to check other Scripts ^.^
If it's only being used in this one, great.

BlackRabbit1971 08-05-2005 11:49 PM

Getting a "Invalid File Specified" on trying to import :(


All times are GMT. The time now is 08:43 AM.

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.01051 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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