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)

GamerzWorld 03-30-2004 12:48 PM

Perfect, works great :) Ty

JoergZ 04-03-2004 07:25 PM

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:

 if ($permissions['genericoptions'] & ISBANNEDGROUP

I have tested it and works fine for me in vB3 Gold.


Regards

J?rg

Sin City 04-05-2004 07:25 PM

wow... awesome hack man... thank you :)

RugBurn 04-05-2004 09:48 PM

Thank you sir.

MentaL 04-10-2004 07:11 PM

gr8 ;)

Massacure 04-14-2004 03:14 AM

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?

rinkrat 04-14-2004 04:13 AM

Edit file "login.php", find line:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// clear all cookies beginning with COOKIE_PREFIX
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

That does not exist in GOLD login.php

Logician 04-14-2004 05:43 AM

Quote:

Originally Posted by Massacure
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?

yes they can log in ok.

Quote:

That does not exist in GOLD login.php
It does. Check carefully around lines 50-55.

Bulent Tekcan 04-15-2004 01:59 PM

Dear JoergZ

Can you explain me ?

Quote:

Originally Posted by JoergZ
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:

 if ($permissions['genericoptions'] & ISBANNEDGROUP

I have tested it and works fine for me in vB3 Gold.


Regards

J?rg


Logician 04-15-2004 04:40 PM

Quote:

Originally Posted by turkeyforum
Dear JoergZ

How can I add this line ?

huh?


All times are GMT. The time now is 03:47 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.01136 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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