![]() |
Trap Banned Members: They can not logout (VB3)
I'm releasing this ported version of an old very tiny hack upon request. It is a 1 line hack that prevents banned usergroups (or any other usergroup you want) to log out. Since they can not log out, they can not reregister either.
The hack prevents them to clear the cookies so they are stuck with their banned usernames in the forum. But obviously this applies: a) If user is a cookie user b) If he is not able to clear them manually in his computer. So the hack is effective for novices only. Tested in vB3.0.0, should work in all vb 3.x versions though. Vb2.x version is here. Click install if you use it, thanks! VB3.5 version is here: here Enjoy! |
Welcome back! I hope this is just the first of many great hacks from you, my friend. Been waiting a long time for you to get back into the old grind with us here. ;)
|
This is really hard - this is something to believe in...
|
:D Excellent. Thanks Logician!
|
This is definitely going to be of great use to me. :D
|
Wow...this solves so many problems on my boards...
|
thank you
|
nice
|
Nice hack thnx,
as for the user must be using cookies, thats easy.. you just make that group use cookies which is simple in vB3 by global edit command :) |
I was looking for something so evil and easy as well :D
See Ya |
One of my idol finally back in action!
|
very nice idea (clicks install)
|
Thanks! Been awaiting this one.
|
Thx dude for this great hack!!!
MFG datainternet |
Thank you.
|
I found myself (as administrator) being unable to log out, even though the XX are replaced with the id's of banned and banned by mods. This happen to anyone else?
|
Wouldn't this be "not nice" for those people using public computers (eg at a library)?
|
Well, if they're banned, what difference would it make? The account would basically be useless.
|
True, the banned account is useless, but it also means that anyone else using that specific computer/browser will be unable to log in. For example, if I'm using a shared computer and my account gets banned on your forums, anyone else who will be using that computer to access your forums will not be able to log in (unless the cookies got wiped).
|
In the last days I have been thinking in a evil modification :devious: is it possible to add some adons to this hack.
For example is it possible to at the same time block the access to the new threads automaticly when you using this hack, also specificate the vissible parts, as Terms of Use :rolleyes: See Ya |
Perfect, works great :) Ty
|
I had this hack already in my vB2 and now in vB3. *installed*
But I have a little suggestion for an improvement: To not insert hard-coded the usergroupid in the PHP, how about that: PHP Code:
Regards J?rg |
wow... awesome hack man... thank you :)
|
Thank you sir.
|
gr8 ;)
|
So, what happens if they are banned while they are logged out? If they are logged out will it allow them to log in before banning them?
|
Edit file "login.php", find line:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // clear all cookies beginning with COOKIE_PREFIX -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= That does not exist in GOLD login.php |
Quote:
Quote:
|
Dear JoergZ
Can you explain me ? Quote:
|
Quote:
|
Good stuff.
|
Quote:
|
nice. I've clicked on install
|
I get this error
Parse error: parse error in /home/interfan/public_html/forum/login.php on line 63 My line 63 is: if ($bbuserinfo['usergroupid']==15 {print_no_permission(); exit;} |
Quote:
|
Nice hack. :)
Thank you for posting this one. [clicks install] |
Thank You For This!
|
/me installs.
|
Parse error: parse error in /home/httpd/vhosts/dutchbodybuilding.com/httpdocs/forum/login.php on line 58
if ($bbuserinfo['usergroupid']==9) OR $bbuserinfo['usergroupid']==11) {print_no_permission(); exit;} SOLVED!! should be if ($bbuserinfo['usergroupid']==9 OR $bbuserinfo['usergroupid']==11) {print_no_permission(); exit;} Great hack logician :D |
Quote:
Tnx |
All times are GMT. The time now is 11:05 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:
|