Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

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
  #52  
Old 05-28-2009, 05:42 PM
jazzyname jazzyname is offline
 
Join Date: Jan 2009
Location: Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutely brilliant
* marked as Installed *

I also have a forum link that I post in txt all spammed names and emails, for the spam bot to use and collect their email to spam them.
Reply With Quote
  #53  
Old 06-16-2009, 12:38 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sea Shepherd View Post
What happened to the download files?
Cant wait to get my hands on it.
there is no download, just c/p the template edit.

read the instructions
Reply With Quote
  #54  
Old 07-01-2009, 04:22 PM
BeFit4Free's Avatar
BeFit4Free BeFit4Free is offline
 
Join Date: Aug 2008
Location: Colorado
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified it a little to send banned users to a different part of my site that still provides benefit to our site. BeFit4Free - Health and Fitness Forums

I changed the refresh to 5 seconds and made it where the banned users are forwarded to our link exchange directory. (Banned page)

The reason that members are typically banned from BeFit4Free.net is because they are submitting pharmacy links, erectile dysfunction stuff or nutritional supplements that we do not sell.

This way I still have a chance of getting a good link exchange from a related site, since we sell nutritional supplements.
Reply With Quote
  #55  
Old 07-02-2009, 11:14 AM
GearX1 GearX1 is offline
 
Join Date: Mar 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is such a funny mod lol i love it , some can't figure out whats going on lol
Reply With Quote
  #56  
Old 07-07-2009, 07:27 PM
KHALIK KHALIK is offline
 
Join Date: May 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

loving it
Reply With Quote
  #57  
Old 07-08-2009, 02:12 AM
Maxman1544 Maxman1544 is offline
 
Join Date: Jan 2006
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a dream that the guy that wrote this banned me from his site. Can you believe that? I was banned from they banned me. Wow.

Yes, it was only a dream but it felt so real.
Reply With Quote
  #58  
Old 07-12-2009, 06:56 PM
theybannedme theybannedme is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Maxman1544 View Post
I had a dream that the guy that wrote this banned me from his site. Can you believe that? I was banned from they banned me. Wow.

Yes, it was only a dream but it felt so real.
May surprise you that I didn't write the mod although I did endorse it and link to it after I found out about it.

I did, however, get banned from your site... maybe your dream was some subconscious guilt?
Reply With Quote
  #59  
Old 07-13-2009, 06:19 AM
Cobra-J82's Avatar
Cobra-J82 Cobra-J82 is offline
 
Join Date: Apr 2008
Location: Montreal
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol nice
Reply With Quote
  #60  
Old 07-23-2009, 09:11 PM
jca2112's Avatar
jca2112 jca2112 is offline
 
Join Date: Sep 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I tried this redirect banned users refresh technique to send banned users to a "503 Server Unavailable" error page. We want the banned user to think the server is down and go away.

Here is the problem:

The full vBulletin page must load in your browser before the meta refresh redirect can happen, even if it is set to 0. (It doesn't matter if you move the meta refresh to the headinclude or header template.) Depending on the browser, connection, etc. a user can easily see the standard vBulletin "Banned" error message for a second just before they are redirected to the other page. They may also be able to pull the original error page up using the BACK button.

That's a big problem if you are trying to deter SEO and backlinks spammers, who are registering and posting by hand and will be registering multiple accounts anyway.

So I am trying a Javascript version of this same banned users redirect:

Code:
<if condition="$bbuserinfo['usergroupid'] == 8">
<script type="text/javascript"><!--
location.replace("http://yoursite.com/error.php");
//--></script>
<noscript>
<meta http-equiv="refresh" content="0;url=http://yoursite.com/error.php" />
</noscript>
</if>

This uses Javascript to instantly change the url location via the location.replace function, but also includes the old meta refresh redirect in case the user has javascript disabled.

Since I'm not a Javascript expert, can someone else test this to see if the redirect is faster or tell me if there is a better Javascript call to do this url replacement with?
Reply With Quote
  #61  
Old 07-29-2009, 03:49 AM
danny1mmafan's Avatar
danny1mmafan danny1mmafan is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great app man installed and i love it Im looking forward to more of your work.
Reply With Quote
Reply

Thread Tools

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 11:14 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.07018 seconds
  • Memory Usage 2,315KB
  • Queries Executed 29 (?)
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_postinfo_query
  • fetch_postinfo
  • 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