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
  #72  
Old 03-03-2010, 04:58 PM
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Steve1966 I guess no one wants to share how they got it to work with us
Reply With Quote
  #73  
Old 03-04-2010, 02:20 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that http://www.theybannedme.com/ has been down for more than a week now and is broken. The current downtime message says :

Quote:
so apparently something irrevocably corrupted the forums database.... RICHYYY?!?!?!?!?
Reply With Quote
  #74  
Old 03-24-2010, 11:11 PM
Casmos Casmos is offline
 
Join Date: Mar 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Edit* don;t worry figured it out
There is a new update working VB4
https://vborg.vbsupport.ru/showthrea...92#post2009592

enjoy
Reply With Quote
  #75  
Old 03-28-2010, 09:41 AM
Mo7mD.ZaYOnA Mo7mD.ZaYOnA is offline
 
Join Date: Sep 2009
Location: iraq/baghdad
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to hide names banned user from the Who's Online !!
Reply With Quote
  #76  
Old 04-12-2010, 05:40 PM
Iguana Goddess's Avatar
Iguana Goddess Iguana Goddess is offline
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone still using this mod, you may direct banned users to my site as theybannedme.com no longer exists. Site link is in my signature.
Reply With Quote
  #77  
Old 04-12-2010, 05:41 PM
Iguana Goddess's Avatar
Iguana Goddess Iguana Goddess is offline
 
Join Date: Sep 2009
Location: Pennsylvania
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone still using this mod, you may direct banned users to my site as theybannedme.com no longer exists. Site link is in my signature.
Reply With Quote
  #78  
Old 04-30-2010, 10:20 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RocCityDad View Post
anyway to redirect an IP address?
There is a way to do this, if I may post this here.

In your .htaccess file at the VERY TOP, place this:

# The following is IP deadbanning, it redirects if the IP matches
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^11\.111\.111\.111$ [OR]
RewriteCond %{REMOTE_ADDR} ^111\.11\.111\.111$
RewriteRule .* http://banned.ytmnd.com/ [R=301,L]

Of course replace the 1's with the IP Addresses you'd like to use. (And those ones are a fake IP btw)

You may also replace the website as well, if you'd like.

Then if you want to add more, just copy & paste the following line:

"RewriteCond %{REMOTE_ADDR} ^111\.11\.111\.111$"

You want the last line to always be WITHOUT [OR]

Any line above that should contain that [OR] statement for new bans.


Hope this helps.
Reply With Quote
  #79  
Old 05-06-2010, 12:35 AM
Rideharder's Avatar
Rideharder Rideharder is offline
 
Join Date: Jan 2008
Location: Florida
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that was funny!
Reply With Quote
  #80  
Old 11-24-2010, 12:06 AM
H22A H22A is offline
 
Join Date: Apr 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this !
I redirect to
Code:
http://piv.pivpiv.dk/
Reply With Quote
  #81  
Old 06-19-2015, 03:37 PM
John Danley's Avatar
John Danley John Danley is offline
 
Join Date: Jun 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works good.
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 08:46 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.04576 seconds
  • Memory Usage 2,323KB
  • 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
  • (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
  • (2)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