Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Trap Banned Members: They can not logout (VB3) Details »
Trap Banned Members: They can not logout (VB3)
Mod Version: 1.00, by Logician (Coder) Logician is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (2 votes - 5.00 average) Installs: 144
Released: 27 Mar 2004 Last Update: Never Downloads: 72
Not Supported  

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!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
No Logout for Banned Users akanevsky vBulletin 3.5 Add-ons 33 22 Nov 2007 20:49
Trap Banned Members: They cant logout. Logician vBulletin 2.x Full Releases 66 27 Mar 2004 10:43

  #46  
Old 26 Aug 2004, 18:21
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by lifesourcerec
seems no one can logout, not just banned users. everything is installed correctly.
make sure you applied the code as "($bbuserinfo['usergroupid']==XX)" not "($bbuserinfo['usergroupid']=XX)" (and to the correct place)
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #47  
Old 26 Aug 2004, 18:58
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Originally Posted by Logician
make sure you applied the code as "($bbuserinfo['usergroupid']==XX)" not "($bbuserinfo['usergroupid']=XX)" (and to the correct place)
This is the line added:
// Logician Hack : Banned users can not logout
if ($bbuserinfo['usergroupid']==10) {print_no_permission(); exit;}
// Logician Hack : Banned users can not logout
Reply With Quote
  #48  
Old 26 Aug 2004, 19:03
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Originally Posted by lifesourcerec
This is the line added:
If you applied it to the correct place, people except usergroup 10 should log out fine.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #49  
Old 26 Aug 2004, 20:37
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Keep getting this:

An error occurred while attempting to log you out. Click here to log out.
Reply With Quote
  #50  
Old 26 Aug 2004, 20:45
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
I don't think this is related to the hack. Remove it and probably you'll still get it.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #51  
Old 26 Aug 2004, 21:07
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
I'll try it and let you know. I'll just comment it out.
Reply With Quote
  #52  
Old 27 Aug 2004, 12:23
sv1cec sv1cec is offline
 
Join Date: May 2004
Real name: John
Originally Posted by lifesourcerec
Keep getting this:
This error message, is usually shown if you are in the forums as a simple user (like when you are testing the hack) and at the same time, you use another window to change something in the AdminCP, as the administrator. vBulletin gets mixed up and shows that message.

Rgds
Reply With Quote
  #53  
Old 27 Aug 2004, 12:47
integra99's Avatar
integra99 integra99 is offline
 
Join Date: Jun 2003
Real name: Colin
Originally Posted by sv1cec
This error message, is usually shown if you are in the forums as a simple user (like when you are testing the hack) and at the same time, you use another window to change something in the AdminCP, as the administrator. vBulletin gets mixed up and shows that message.

Rgds
Also, VB changed the way users logout I believe in one of the RC's. The originally just did a /login.php?do=logout and since have updated it to /login.php?do=logout&u=$bbuserinfo[userid]. Make sure to check your templates, or revert them if necessary.
Reply With Quote
  #54  
Old 28 Aug 2004, 00:58
The Coldwood's Avatar
The Coldwood The Coldwood is offline
 
Join Date: Jul 2004
Location: Alberta
Real name: Kyle Korleski
Originally Posted by Logician
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!

Enjoy!
You are a modern-day genius!
Reply With Quote
  #55  
Old 28 Aug 2004, 22:21
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Originally Posted by integra99
Also, VB changed the way users logout I believe in one of the RC's. The originally just did a /login.php?do=logout and since have updated it to /login.php?do=logout&u=$bbuserinfo[userid]. Make sure to check your templates, or revert them if necessary.
So, you mean, change this:

login.php?$session[sessionurl]do=logout
to this:
login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]
?
Reply With Quote
  #56  
Old 15 Dec 2004, 16:50
SamirDarji SamirDarji is offline
 
Join Date: Apr 2004
Anyone tried this on 3.0.3? I'm thinking of using it in conjunction with the Advanced Warning System hack.
__________________
Pics of the Huntsville Car Scene: www.huntsvillecarscene.com, hsv.streetracing.org
Pics of the Huntsville Night Life: www.thetoe.cc
Reply With Quote
  #57  
Old 18 Dec 2004, 15:26
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Real name: Alexander
thx

-installed
Reply With Quote
  #58  
Old 31 Dec 2004, 17:40
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
nice mini hack!
Reply With Quote
  #59  
Old 27 Feb 2005, 15:01
bulbasnore bulbasnore is offline
 
Join Date: Dec 2004
Any way to clear the login in special cases (like banning the user because the screen name is not acceptable)? Some people we want to log back in under a different name.
Reply With Quote
  #60  
Old 27 Feb 2005, 18:33
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by bulbasnore
Any way to clear the login in special cases (like banning the user because the screen name is not acceptable)? Some people we want to log back in under a different name.
Banning them to a usergroup other than 10 would do the trick.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:42.

Layout Options | Width: Wide Color: