Token of Death (cookie ban)
This modification is in the archives.
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
PHP Code:
define('DISABLE_HOOKS', true);
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);
PHP Code:
//define('DISABLE_HOOKS', true);
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->userinfo, 8))
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).
Download
This modification is archived, downloads are still allowed. |
Similar Mods
Death-X | vBulletin 3.6 Styles |