Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Redirect Banned Users To Another Site Details »»
Redirect Banned Users To Another Site
Version: 1.00, by Medtech Medtech is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 12-15-2008 Last Update: Never Installs: 171
Template Edits
Re-useable Code Translations  
No support by the author.

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...

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 08-04-2009, 11:48 AM
iguano iguano is offline
 
Join Date: May 2009
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, thanks you
Reply With Quote
  #63  
Old 08-18-2009, 11:34 AM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool!
Reply With Quote
  #64  
Old 12-23-2009, 03:11 AM
icarusforde icarusforde is offline
 
Join Date: Jun 2009
Location: New Zealand
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed working on vB 4.0.0 if you use a replacement variable - <head>
Reply With Quote
  #65  
Old 02-16-2010, 07:57 PM
Pro-eSports.com Pro-eSports.com is offline
 
Join Date: Jan 2010
Location: Germany
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by icarusforde View Post
Confirmed working on vB 4.0.0 if you use a replacement variable - <head>
Where do I have to add <head> or do i have to replace something?
Reply With Quote
  #66  
Old 02-17-2010, 08:44 AM
hayaldunya hayaldunya is offline
 
Join Date: Mar 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnks..
Reply With Quote
  #67  
Old 02-17-2010, 07:48 PM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is not work
Reply With Quote
  #68  
Old 02-24-2010, 03:26 PM
KissOfDeath KissOfDeath is offline
 
Join Date: Dec 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how does this work for vb4?

Edit* don;t worry figured it out
Reply With Quote
  #69  
Old 02-27-2010, 06:53 PM
basskiller basskiller is offline
 
Join Date: Jan 2003
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would you add more than one usergroup ?

using a comma produces a syntax error
Reply With Quote
  #70  
Old 03-01-2010, 07:09 PM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KissOfDeath View Post
how does this work for vb4?

Edit* don;t worry figured it out
Hi would you or someone like to share waht you did to get this working?
Reply With Quote
  #71  
Old 03-02-2010, 05:37 PM
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steve1966 View Post
Hi would you or someone like to share waht you did to get this working?
Yes please share...
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04933 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete