vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Redirect Banned Users To Another Site (https://vborg.vbsupport.ru/showthread.php?t=198962)

Medtech 12-15-2008 10:00 PM

Redirect Banned Users To Another Site
 
1 Attachment(s)
This is my first modification to be posted. However i did not create it as it is actually a part of vbulletin. a friend of mine pointed it out to me. So i posted the idea. Thanks WM.
This modification will redirect Banned Users to www.theybannedme.com. Banned users will not be able to access your forum and create new user id's. Only after a bann is lifted and they clear their cookies then they will get access again.

This modification is endorsed by theybannedme.com website, they put a link on their front page to this post... :D

Confirmed working on vB 4.0.0 if you use a replacement variable - <head>
Thanks for the contribution icarusforde


Instructions:

Admin CP->Styles and Templates->Style Manager->Your Skin Style->Edit Templates->header->Paste this at the very top..........

Code:

<if condition="$bbuserinfo['usergroupid'] == 8">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</if>



If your banned usergroup id is something other than 8, change the value to what yours is........

Also, you can change the url to anything you want, in case you ever want to change it............

Updated>>> slightly changed version, thanks to DungBeetle= This will redirect a particular user

Code:

<if condition="$bbuserinfo['userid'] == X">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
</if>

This modification can also be used for a wide variety of creative purposes.

Tested on VB 3.6.x, 3.7.x, and 3.8.x

Confirmed working on vB 4.0.0 if you use a replacement variable - <head>

Please click INSTALLED if you use this

Bill from Cleve 12-16-2008 02:14 AM

You sir ROCK! :up:

EvilJohn 12-16-2008 03:17 AM

Haaaa :D

SEOvB 12-16-2008 01:26 PM

You should make it a plugin, use the login_redirect location

StokoE 12-16-2008 01:55 PM

nothing like sending the banned buggers to a not so nice site..

GrendelKhan{TSU 12-17-2008 12:54 AM

cool mod...

not to be a spoilsport but doesn't "miserable users" add-on do this?

johnrizz 12-17-2008 01:02 AM

nice!:D :)

ReQueM 12-17-2008 02:28 PM

interesting idea :D

iBardia 12-17-2008 03:53 PM

OMG! theybannedme.com has swears!
!!!!!!!

sdavis2702 12-20-2008 05:53 PM

That site is horrible lol


All times are GMT. The time now is 07:20 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
  • Page Generation 0.01098 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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