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
  #32  
Old 11-15-2006, 03:52 AM
Sonic625 Sonic625 is offline
 
Join Date: Jun 2002
Location: D/FW Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested on a forum and it started banning members for no reason. What is the difference between 'Token Of Death: Bake a Cookie and 'Token of Death: Stealth Ban! settings? should there be a new usergroup created? I set both to 8 (banned)

I started unbanning members and noticed some were being put into the coppa Registation group and still showing members the banned message until I saved them to the registered usergroup again.
Reply With Quote
  #33  
Old 11-15-2006, 04:59 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
This could become really handy ^^ however a simple clear cookies would stop this from happening, so in a way, the really annoying users would figure this out in no time :/

Nice work tho, it seems really original.
Sooo, That clears the cookie bann... eh
Reply With Quote
  #34  
Old 11-17-2006, 05:20 PM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im waiting for the new version when are u gunna release it bro??
Reply With Quote
  #35  
Old 11-17-2006, 11:59 PM
The Finman's Avatar
The Finman The Finman is offline
 
Join Date: Jun 2006
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Could you please make an option to connect this to the Miserable users member group? After getting re-banned right away, most banned members will start to think about clearing their cookies. But if a returning banned member is automaticly put into Miserable users, then it will just seem like the site is acting weird and is much more fun as well.
I agree...I would love to be able to use this with Paul's fantastic "Miserable Users" hack

I am trying to work on a Mod (hack) that I would like to develop. My mod would display a user's registration IP and E-mail in their profile for Mods and/or Admins only. Mods/Admins could instantly see a user's registration IP & E-mail by clicking on that user's profile without having to log into their ModCP or AdminCP...and would be able to view their E-mail address even if the user chooses to hide it from regular members. Mine really isn't doing anything new, just reorganizing information so it's easier to get. I've have a few people trying to help with mine, I will see what they think about yours, as I feel it could be useful in adding another "layer" of difficulty in stopping trolls/problem posters.

A great example is I have a user that uses anonymous proxies to get back in, I ban his new proxy IP and he changes it. I've also installed Paul M's (I think Paul makes the bulk of the hacks I use! ) Proxy to Real IP hack, so it's become a fight between he and I over proxies, so adding a cookie might help, even if only temporarily.


My troll spends a good part of his day looking for workable anonymous (I'm not sure he even knows that he needs anonymous proxies, as I think he just sits there going through proxy after proxy, looking for one that works). Even though the probability in the long run may be that he figures out that it's now also a cookie blocking him...I think it would at the very least make it a little more difficult for trolls as it's another "monkey wrench" thrown at them.

Although there is no technique for getting rid of troll and problem posters that is 100% foolproof (when I resorted to putting new members in the moderation queue, he started getting family and friends to register new accounts with valid IPs and E-mails for him, then giving him the new account), but I think each layer combined (while still not 100%) does increase the "hoops" trolls and problem posters must jump through, thus increasing the difficulty level for trolls versus their stubbornness.

Another thought on your mod (hack), or maybe even a completely different one (might be better) altogether, is I had a friend of mine that ran a UBB board and he developed a mod (hack) that checked what port a user was connecting on and the hack blocked all connections to his forums except for port 80 (http). Same problem, even though many proxies connect using port 80, a very large portion of them don't and he was at least able to cut down on the numbers of trolls using proxies by blocking those proxy connections that weren't on port 80. He moved back to Hungary, and I have no way to reach him, but your idea and the other's (like Paul's) would really help turn the table for admins when it comes to fighting trolls/problem posters. I just wish I was a lot better at PHP and could help directly. :ermm:

I will bookmark this thread and I will check back occasionally, or I will PM you or post if I have something useful to contribute.
Reply With Quote
  #36  
Old 11-18-2006, 12: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

I havent had time to work on this the last few days but due to some of the issues presented, I am thinking of changing the hack so that it adds a cookie and if that cookie is present, it adds to the user to a secondary user group. You could specify that usergroup to be a banned group or a miserable users group. What do you guys think about that?

Incidentally, this hack is open source as in hey just give a line of credit in the post and keep the cool name please kind of way should anyone ever want to add to this.

finman, totally agree, sometimes its just about making them jump through more hoops.
Reply With Quote
  #37  
Old 11-18-2006, 05:13 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not combine this hack with the AE detector? They seem to be doing very simular things. AE only alerts when the same pc/cookie is connected to 2 accounts. ToD will move the 2nd account into a secondary group if the 1st account is banned. Both are very handy features. Can't they be handled by one cookie, instead of two? May be worth while to talk to MDPev.

But to answer your question; moving the 2nd account to an additional user group is a good idea IMO.
Reply With Quote
  #38  
Old 11-18-2006, 10:01 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome idea!

I will check that out
without reading your code.. isn't it possible to just add ( AND $bbuserinfo['usergroupid'] != 6) to an appropriate if condition of your hack to avoid admins getting banned while testing?

'sid
Reply With Quote
  #39  
Old 11-18-2006, 03:12 PM
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possible to work on vB 3.5.4 I'm still trying out the code aveon provided.
Reply With Quote
  #40  
Old 11-19-2006, 08:35 AM
Bigblah Bigblah is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at your code:

Code:
if ($TOD = '1')
It's no wonder that this plugin is banning everyone.

Change it to

Code:
if ($TOD == '1')
Reply With Quote
  #41  
Old 11-30-2006, 12:21 PM
MimeSong Erk MimeSong Erk is offline
 
Join Date: Apr 2006
Location: Japan
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rofl@people who installed beta software to their main forum, apparently with no db backup, and banned themselves.

This is a great idea and I hope the kinks iron out. We shall be watching your career with great interest, young hack.

As for les miserables integration: miz is a usergroup is it not? Least it was when I installed it! Just have the autoban point to the miz usergroup rather than the banned usergroup. voi, as they say, la. My trolls are well aware of the miz plugin but I bet they would not think of it if their next newly created account suffered the same problem.
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:18 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.04981 seconds
  • Memory Usage 2,322KB
  • 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_code
  • (2)bbcode_php
  • (2)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