Back to vBulletin 3.6 Add-ons

Token of Death (cookie ban)
Mod Version: 1.00, by Reeve of shinra

This modification is in the archives.
vB Version: 3.6.2 Rating: (1 vote - 5.00 average) Installs: 32
Released: 13 Nov 2006 Last Update: Never Downloads: 459
Not Supported Uses Plugins Is in Beta Stage  

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

Spoiler (click to open)


Log into your FTP
Go to public_html --> forum --> includes
Download "config.php"

Below
PHP Code:
<?php
Add
PHP Code:
define('DISABLE_HOOKS'true); 
Save and Re-upload

Now If you're using Firefox go to Tools --> Options --> Privacy
Click the button that says "Settings". Make sure "Cookies" are ticked and click "OK". Press "OK" again. Close your browser and try going to your site and see if it worked.

For Internet Explorer
Go to Tools --> Internet Options
Click on "Delete Cookies".

Now go into your ACP --> Plugins & Products --> Plugin Manager
Look for "Token Of Death: Bake a Cookie!" and Token of Death: Stealth Ban! (most likely it'll be this one that is causing the problem).

Edit the Plugin named "Token of Death: Stealth Ban" and change "Plugin is Active" to "No".

Edit your 'config.php' file again

Change this
PHP Code:
define('DISABLE_HOOKS'true); 
To this
PHP Code:
//define('DISABLE_HOOKS', true); 
Save and Re-upload.

Close


(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!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-token_of_death.xml (1.3 KB, 323 downloads)
File Type: %1$s Token_of_Death_Installation_Steps.txt (1.3 KB, 291 downloads)

Similar Mods

Death-X vBulletin 3.6 Styles

vblts.ru supports vBulletin®, 2022-2024