vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Trap Banned Members: They can not logout (VB3) (https://vborg.vbsupport.ru/showthread.php?t=63013)

aranthorn 07-09-2004 05:01 PM

Nice hack, just had to use it.

Mtmm 07-12-2004 11:55 PM

Wonderfull hack! Thx!

Blam Forumz 08-19-2004 07:13 AM

/me installs and drools

roundhost 08-19-2004 10:11 AM

fantastic, original idea!

/me clicks install

lifesourcerec 08-26-2004 03:31 PM

seems no one can logout, not just banned users. everything is installed correctly.

Logician 08-26-2004 04:21 PM

Quote:

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)

lifesourcerec 08-26-2004 04:58 PM

Quote:

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:
Quote:

// Logician Hack : Banned users can not logout
if ($bbuserinfo['usergroupid']==10) {print_no_permission(); exit;}
// Logician Hack : Banned users can not logout

Logician 08-26-2004 05:03 PM

Quote:

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.

lifesourcerec 08-26-2004 06:37 PM

Keep getting this:

Quote:

An error occurred while attempting to log you out. Click here to log out.

Logician 08-26-2004 06:45 PM

I don't think this is related to the hack. Remove it and probably you'll still get it.

lifesourcerec 08-26-2004 07:07 PM

I'll try it and let you know. I'll just comment it out.

sv1cec 08-27-2004 10:23 AM

Quote:

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

integra99 08-27-2004 10:47 AM

Quote:

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.

The Coldwood 08-27-2004 10:58 PM

Quote:

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!

lifesourcerec 08-28-2004 08:21 PM

Quote:

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:

Quote:

login.php?$session[sessionurl]do=logout
to this:
Quote:

login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]
?

SamirDarji 12-15-2004 02:50 PM

Anyone tried this on 3.0.3? I'm thinking of using it in conjunction with the Advanced Warning System hack.

AlphaWolf 12-18-2004 01:26 PM

thx

-installed

MajorFm.com 12-31-2004 03:40 PM

nice mini hack!

bulbasnore 02-27-2005 01:01 PM

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.

kall 02-27-2005 04:33 PM

Quote:

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.

SmartGnome 03-15-2005 06:54 AM

Tnx Logician for the hack. I used the old one vor vb2 and totaly overlooked this one :shame

One $ question..... "How can I global edit the user cookie usage" ?

Tnx

Logician 03-17-2005 07:17 AM

Quote:

Originally Posted by SmartGnome
Tnx Logician for the hack. I used the old one vor vb2 and totaly overlooked this one :shame

One $ question..... "How can I global edit the user cookie usage" ?

Sorry I didn't understand the question?

vulture 03-30-2005 12:34 PM

Great little hack. Installed on 3.0.7 fine.

The Piper 04-21-2005 10:10 AM

Just installed on 3.0.7, tested, and works wonders. Thanks, Logician! Yet another great hack by you... :D

DavidN 04-29-2005 08:52 PM

Installed ;)

Bulent Tekcan 09-29-2005 11:04 PM

Is it available for 3.5.0 ?

Logician 09-30-2005 09:32 AM

I didn't port it to vb3.5, but I don't know if it is worth porting. Because in 3.5, the users can't see log out link when they are banned. Well they can still log out if they know the URL by memory but if they are that clever, I think they can think of clearing the cookies manually to bypass this hack either. Don't you think?

Bulent Tekcan 10-01-2005 06:45 AM

Yes basicly cannot see this link,but many vB forums everyhere :) Your hack is easy but strong,becasuse maybe %10 users known clear cookies manualy,when I use this hack banned member hang on forum,very simple but good :) If it is available I think many admin pleasure for you.

Thanks

Logician 10-01-2005 06:51 AM

Quote:

Originally Posted by Bulent Tekcan
Yes basicly cannot see this link,but many vB forums everyhere :) Your hack is easy but strong,becasuse maybe %10 users known clear cookies manualy,when I use this hack banned member hang on forum,very simple but good :) If it is available I think many admin pleasure for you.

Thanks

ok I'll port it.. np..

Logician 10-01-2005 06:55 AM

ok took 2 min. to port lol. Here you go, VB3.5 version: ;)

Bulent Tekcan 10-01-2005 08:33 AM

Great :) thanks for that reply..

Cheers

RaZor Edge 08-09-2006 01:43 PM

Quote:

Originally Posted by Logician
ok took 2 min. to port lol. Here you go, VB3.5 version: ;)

For those interrested: This work as well for 3.6.0 Gold. (use the instruction for 3.5)

https://vborg.vbsupport.ru/showpost....6&postcount=70

bulbasnore 09-15-2007 04:59 PM

Sigh. Marked uninstalled. I can no longer maintain it as a code edit. Would love this as a MOD, if that were possible.

solboy 03-03-2009 06:42 PM

Is there a 3.8.1 plugin for this?


All times are GMT. The time now is 04:05 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.02201 seconds
  • Memory Usage 1,790KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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