Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Token of Death (cookie ban) Details »»
Token of Death (cookie ban)
Version: 1.00, by Reeve of shinra Reeve of shinra is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.2 Rating:
Released: 11-12-2006 Last Update: Never Installs: 32
Uses Plugins
Is in Beta Stage  
No support by the author.

Token of Death (cookie ban)
by http://www.shinraonline.com
Version: BETA!

Products: 1
Plugins: 2
Queries: 1 (if the user is in banned group)


THIS IS A BETA... DON'T INSTALL IT...

Really, I mean it. Okay, so it worked on my test forum, but do you really want to be a guinea pig?

Actually, its using the "forumhome_complete" hook to initiate the banning process... I think there's probably a better hook, but I'm not sure where yet.

Sounds cool, does it destroy robots?

Um, no. If a user is banned, it will set a cookie and if they re-register or log onto an alias, they will be auto-banned.


IMPORTANT SIDE NOTE:

If you test this out on your forum, delete the cookie before you log back into your admin account or you will get banned!!

Already locked yourself out? Try these steps by Harmor19
https://vborg.vbsupport.ru/showpost....15&postcount=6

(Next version, I'll add a check so admins are exempt)


Installation:

Step 1: Import product-token_of_death.xml

Step 2: edit the 'Token Of Death: Bake a Cookie!' and change the 8 to your preferred banned usergroup ID. 8 I think is the default.
admincp -> plugin manager -> Token Of Death: Bake a Cookie! (edit)

PHP Code:
if (is_member_of($vbulletin->userinfo8)) 

Step 2: edit the 'Token of Death: Stealth Ban!' plugin and change $TODgroup to the usergroup you want to add the user to.
admincp -> plugin manager -> Token of Death: Stealth Ban! (edit)

PHP Code:
// This is the usergroup you want to change the user to (banned).
$TODgroup 10
Step 3: Take over World!

Show Your Support

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

Comments
  #52  
Old 01-04-2007, 03:45 AM
LunaTech LunaTech is offline
 
Join Date: Aug 2004
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sid's needs a . TABLE_PREFIX .
Reply With Quote
  #53  
Old 01-12-2007, 10:49 PM
saf-t scissors saf-t scissors is offline
 
Join Date: Sep 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed sid's version. It doesn't do a thing.

I can't figure out what the deal is. I fixed the TABLE_PREFIX line, but still nothing. I'm getting the TOS cookie with the banned account, I still have the cookie with the account that wants to be banned, the plugin is on, all the settings look correct, but it's not moving the new user to the banned usergroup.
Reply With Quote
  #54  
Old 01-12-2007, 10:51 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have SET the usergroup the user is to be moved into?

'sid

ps yupp, i've used Reeve of shinra's code and just added some lines without checking that's why there was no Table_prefix in it (updated).
I don't support that hack .. not even my own xml
Reply With Quote
  #55  
Old 01-12-2007, 11:42 PM
saf-t scissors saf-t scissors is offline
 
Join Date: Sep 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I set TOD_banned_usergroup and TOD_to_usergroup to 8.

Nuttin.

The test account was only banned temporarily, but I don't think that makes a difference. They should still be in usergroup 8.... no?
Reply With Quote
  #56  
Old 03-06-2007, 04:59 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should have named it "Cereal Killer"
Reply With Quote
  #57  
Old 03-13-2007, 07:39 AM
TVNettet's Avatar
TVNettet TVNettet is offline
 
Join Date: Mar 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make your admin user account unalterable in config.php... this way admins can't ban themselves... Should work, though not sure from looking at the xml I will install this just yet.
Is default set up to ban group 8 or 10?
Reply With Quote
  #58  
Old 04-07-2007, 09:14 PM
Cyber Smoke's Avatar
Cyber Smoke Cyber Smoke is offline
 
Join Date: Apr 2006
Location: Moscow, Russia.
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, sid's version does not work. An update to this hack is really appreciated, I'm sure that I'm not the only person waiting for non-beta release =)
Reply With Quote
  #59  
Old 04-07-2007, 10:59 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been watching this since I joined here and there has been no progress. I wish the author would update...
Reply With Quote
  #60  
Old 04-08-2007, 01:30 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, just been busy with real life and this kind of fell by the wayside. I'll see if I can find time over the week to do some small updates and get this ready for prime time.
Reply With Quote
  #61  
Old 04-08-2007, 03:15 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeve of shinra View Post
Sorry guys, just been busy with real life and this kind of fell by the wayside. I'll see if I can find time over the week to do some small updates and get this ready for prime time.

Awesome glad to hear it. Hope things work our ok for you. Good luck look forward to the release.
Reply With Quote
Reply


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 01:36 AM.


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.04975 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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