vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Token of Death (cookie ban) (https://vborg.vbsupport.ru/showthread.php?t=131425)

Reeve of shinra 11-12-2006 10:00 PM

Token of Death (cookie ban)
 
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!

rezapci 11-13-2006 04:36 AM

reserved :D

COBRAws 11-13-2006 05:06 AM

This should be default. Thanks

harmor19 11-13-2006 07:03 AM

Thanks for the hack

memomemo 11-13-2006 07:09 AM

Please helpp. I am all user and all admin BANNED.
I am not login.

Please helppp

harmor19 11-13-2006 07:34 AM

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.

memomemo 11-13-2006 07:45 AM

Quote:

Originally Posted by harmor19 (Post 1116115)
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.


Hello
I am all change you to tell.
But not working banned.

Message :

You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never

ChavMagnet 11-13-2006 09:33 AM

access your sql through phpmyadmin and enter the banned ip table and remove your ip? Or upload tools.php and reset admin access.

memomemo 11-13-2006 10:15 AM

Ok I am coreect with my friend admin password.

But this problem Homepage click and this user root administrator > imported_user carrying. (no ip banned)

// This is the usergroup you want to change the user to (banned).
$TODgroup = 10;
This 10 = imported_user.

I am different admin login with pole admincp login (Dont homepage login) and this groups permission on.

Just now working.

aveon 11-13-2006 10:32 AM

thank you soo much installed


All times are GMT. The time now is 02:20 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.01245 seconds
  • Memory Usage 1,756KB
  • 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
  • (10)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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