Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Edit Unalterable / Undeletable users. Details »»
Edit Unalterable / Undeletable users.
Version: 1.00, by Blam Forumz Blam Forumz is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-17-2004 Last Update: Never Installs: 3
 
No support by the author.

My sexond hack (First was on account i forgot my passowrd to lol) :

What this does is allow any userid, (that is admin) to delete / edit undeleteable / unalterable users ill use id 1 as an example :

Open admincp/global.php

Find :
PHP Code:
print_cp_login();


Add underneath :
PHP Code:
if ($bbuserinfo['userid'] == 1) {
unset (
$undeletableusers);

Replace the 1 with whatever id you want to be in full control with

thanks to kirbyde for this

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-18-2004, 09:21 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code looks familiar to me
Reply With Quote
  #3  
Old 07-18-2004, 09:24 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
This code looks familiar to me
And not even a thank you.
Reply With Quote
  #4  
Old 07-18-2004, 09:46 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
And not even a thank you.
and I can't for the life of me find a gloabal.php anywhere!



(although, I do use this system on my boards...came up with it meself, but it is a handy little function.)
Reply With Quote
  #5  
Old 07-18-2004, 10:02 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry KirbyDE >< Edited it in now
Reply With Quote
  #6  
Old 07-18-2004, 12:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
and I can't for the life of me find a gloabal.php anywhere!



(although, I do use this system on my boards...came up with it meself, but it is a handy little function.)
Spelling error fixed!
Reply With Quote
  #7  
Old 07-18-2004, 12:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only bad thing about this is if anyone evers gets into your account, you would be in trouble.
Reply With Quote
  #8  
Old 07-18-2004, 12:45 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
The only bad thing about this is if anyone evers gets into your account, you would be in trouble.
You can always go into phpmyadmin and change yourself :P
Reply With Quote
  #9  
Old 07-18-2004, 12:56 PM
nexialys
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Boofo
The only bad thing about this is if anyone evers gets into your account, you would be in trouble.
i don't think a hacker will take the time to modify these users if he is able to login as a admin... he will trash the board first...

btw, i don't think it's useful to have unalterable users... modify a user need to be at a higher level of admin, only... example, in any company, the janitor can't delete the manager... but the manager have the job to deal with the janitor... and the owner of the company take a look at the logs to see if the manager take care of the janitor, and if not, will dismiss the manager (and hire the janitor to take the place)..
Reply With Quote
  #10  
Old 07-18-2004, 09:39 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank its nice work around the matter, however.....
How many ppl in your config as unlatereable/undeletables? and how often do you edit them?

I don't see any need for this hack
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06519 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete