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
  #22  
Old 01-17-2009, 12:43 AM
mastertek2000 mastertek2000 is offline
 
Join Date: Apr 2007
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is great thanks this should be MOTM:up::up::up:
Reply With Quote
  #23  
Old 01-19-2009, 09:45 PM
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
Location: Denmark
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice thinking thanks
Reply With Quote
  #24  
Old 01-23-2009, 04:44 PM
XtremeOffroad XtremeOffroad is offline
 
Join Date: Jul 2005
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great little addition, Thanks.
Reply With Quote
  #25  
Old 01-26-2009, 05:53 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #26  
Old 01-26-2009, 03:21 PM
darkie79 darkie79 is offline
 
Join Date: Sep 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, here is one issue that I have noticed...

I have tried using this for unregisted/not logged in and forwarding it to a pseudo welcome page within vbadvanced...but once it redirects them, it goes into an endless redirect loop
Reply With Quote
  #27  
Old 01-29-2009, 11:26 PM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darkie79 View Post
So, here is one issue that I have noticed...

I have tried using this for unregisted/not logged in and forwarding it to a pseudo welcome page within vbadvanced...but once it redirects them, it goes into an endless redirect loop

That is exactly what it will do, cookies are set and you will not be able to login. Not exactly an issue as it falls into the nature of how vbulletin works. you are always unregistered/ not logged in until you login. If this happens to you, you will still be able to login to the admincp directly with a url and change or remove the code.
Reply With Quote
  #28  
Old 01-30-2009, 12:08 AM
leodestroy's Avatar
leodestroy leodestroy is offline
 
Join Date: Jul 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

о_0 https://vborg.vbsupport.ru/showthread.php?t=162722
Reply With Quote
  #29  
Old 02-01-2009, 09:55 AM
nonspin nonspin is offline
 
Join Date: May 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKBusinessLive View Post
I redirected it to my forums, but with a slight spelling mistake, and they get the dreaded 404 error page

After a while they must give up
i redirected them to vbb's original "database error" page ..
that way "banned" dont get much suspicious and/or encouraged to "try"
something else ..
Reply With Quote
  #30  
Old 02-01-2009, 05:04 PM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres a beter solution, not to drive anyone awa. but if you have access to your sites cpanel (which you should) go there and hopefully you have the ability to create custom errors. Well go into and edit the 403 error one, this is what shows when someone is blocked fro ma website. and place this in there. if you do this, if you ban the persons IP from your website rather than the forums they will be redirected no matter what unless they get smart and use a proxy.

Code:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theybannedme.com">
Reply With Quote
  #31  
Old 02-03-2009, 03:02 PM
gmerin gmerin is offline
 
Join Date: Dec 2008
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you really think a banned user doesn't immediately clean their cookies? at best these tactics only work one time, and only act to turn a banned user into a determined banned user.

anything less than an ip ban is just giving the admins a false sense of security.
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 09:32 AM.


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.06130 seconds
  • Memory Usage 2,324KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (4)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