![]() |
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:
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:
|
reserved :D
|
This should be default. Thanks
|
Thanks for the hack
|
Please helpp. I am all user and all admin BANNED.
I am not login. Please helppp |
Log into your FTP
Go to public_html --> forum --> includes Download "config.php" Below PHP Code:
PHP Code:
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:
PHP Code:
|
Quote:
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 |
access your sql through phpmyadmin and enter the banned ip table and remove your ip? Or upload tools.php and reset admin access.
|
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. |
thank you soo much installed
|
Nice work man!
|
tried everything not working please help me
|
Did you edit the usergroup ID's in the two plugins that are added to correspond with your banned usergroup ID's?
|
i am not able to log in after also i tried everything you said
help me man i am getting many emails from my members asking me an explanation for their banning common man help me please |
yes i did
i did exactly what was told in the mod |
well remove or disable the hack for now as per the instruction. You'll need to unban your users. I'll take a look for you when I get home if you send PM me an admin username and login that has access to plugins and products.
|
how to remove it or disable it
as it`s not allowing me to enter the admincp Edit : got back my powers :D the above said method doesn`t work man |
Follow the steps here to disable plugins:
https://vborg.vbsupport.ru/showpost....15&postcount=6 Once the plugins are disabled, you can get into the admin and disable this plugin. |
I havent tried this out but try saving this code as token-of-life.php and uploading it into your forums folder. This should delete the cookie and change the usergroup from 10 (banned?) to 2 (registered).
PHP Code:
|
Quote:
sounds like ure havin probs m8... Quote:
|
Great idea! I'll be keeping an eye on this....
- Justin |
Wow this would be really cool..... Please let me know when this is out of beta or installable.. Dont want to be the test monkey :D
Also will this work on 3.5.x ? |
Quote:
hey man i have the same problem how did u solve it help please |
anybody please help meh is there anyway to log in to da admin cp
|
were you guys testing this out on yourselves? I'm not sure why your having these problems.
|
Quote:
hey friend tjnx for tha produck but when i installed the priduct it change mine and all the other members id to group 10 right and i cannot log in to admincp anymore and i triend all the solutuons given but none of them worked for me if you can help me cause my members are goin crazy |
Sounds good . but Next version will be great i think :)
Thanks for sharing |
So If they cleared their cookies it would reset?
|
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. |
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. :)
|
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. |
Quote:
|
im waiting for the new version when are u gunna release it bro??
|
Quote:
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! :cool: ) 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. :) |
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. |
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. |
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 |
Possible to work on vB 3.5.4 I'm still trying out the code aveon provided.
|
Looking at your code:
Code:
if ($TOD = '1') Change it to Code:
if ($TOD == '1') |
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. |
All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|