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

Maxman1544 01-06-2009 05:31 PM

Two Ukranian guys from Philly?

Oh my...

ti07shadow 01-09-2009 04:28 PM

I think this mod deserves MoTm, great addition. maybe I can ge trid of some arses. :p

Dax IX 01-09-2009 08:13 PM

Wow. And people actually ENJOY being on that site! :eek:

DungBeetle 01-10-2009 07:01 AM

Great, thanks, and I tried more solution and works with user ID to make joke with somebody.

Code:

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


ryantr 01-11-2009 08:14 AM

hahaahaha nice one
it would be better if we can find a link of gay porn and with lots of pop up and trojan and redirect those to there LOL

UKBusinessLive 01-12-2009 06:47 PM

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 :D

Mattcch 01-14-2009 01:30 AM

hi,
great ideas & works and installed.

just redirect improper users to aux site.

thanks so much.

Shaliza 01-15-2009 11:49 AM

Quote:

Originally Posted by UKBusinessLive (Post 1710031)
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 :D


Haha, that's genius. I must try this.

dilbert 01-15-2009 03:43 PM

Great idea.
I might have the redirect stay on the site and go to a page saying "under Construction" or something irritating like that.

Dax IX 01-15-2009 05:38 PM

Along those lines, would it be possible to redirect to the forums offline page? Is that even viewable when the forums are online?

mastertek2000 01-17-2009 12:43 AM

this is great thanks this should be MOTM:up::up::up:

GNDI 01-19-2009 09:45 PM

nice thinking :) thanks

XtremeOffroad 01-23-2009 04:44 PM

Great little addition, Thanks.

baghdad4ever 01-26-2009 05:53 AM

thanks

darkie79 01-26-2009 03:21 PM

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

Medtech 01-29-2009 11:26 PM

Quote:

Originally Posted by darkie79 (Post 1725294)
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.

leodestroy 01-30-2009 12:08 AM

о_0 https://vborg.vbsupport.ru/showthread.php?t=162722

nonspin 02-01-2009 09:55 AM

Quote:

Originally Posted by UKBusinessLive (Post 1710031)
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 :D

i redirected them to vbb's original "database error" page ..
that way "banned" dont get much suspicious and/or encouraged to "try"
something else .. :cool:

ti07shadow 02-01-2009 05:04 PM

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

gmerin 02-03-2009 03:02 PM

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.

Phreakwars 02-07-2009 10:50 PM

You could always redirect them to one of my domains as well www.newsucks500.com It's even more nasty and less restricted then theybannedme.com

http://www.encyclopediadramatica.com/The_Suckage
.
.

ti07shadow 02-15-2009 05:08 AM

I would like to add to this to make it even better. Why fuss with users and make them think they were permanently banned? Why not trick them into thinking the sites down? Be creative.

first off in the header put this code

Code:

<if condition="$bbuserinfo['usergroupid'] == 8">
<meta HTTP-EQUIV="REFRESH" content="0; url=./updates.php">
</if>

Create a new file and save it as updates.php

and in that file, well be creative but put this

Code:

<style type="text/css">
<!--
.style3 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
}
-->
</style>
<title>put your forum title here</title>
<span class="style3">The forums are currentley down for maintenance, please check back later.</span>

upload that file to your forum root directory.

and walla! instant trick. OR!

you can fake a database error. that seems to work even better

y2krazy 02-16-2009 04:12 PM

Quote:

Originally Posted by nonspin (Post 1730740)
i redirected them to vbb's original "database error" page ..
that way "banned" dont get much suspicious and/or encouraged to "try"
something else .. :cool:

How do you do this? It'd be nice to make them think there's always a database error. Thanks!

~ Sean

markusv3000 02-24-2009 11:45 PM

I like this idea

WildFire.ca 03-01-2009 07:37 PM

Read theybannedme.com's Home Page before you make it your redirect page.

beerhead 03-04-2009 01:45 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=162722" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=162722</a>

RocCityDad 03-20-2009 06:17 PM

anyway to redirect an IP address?

RocCityDad 03-20-2009 09:56 PM

btw, just gotta say this is great..hahahaha

alexkohler 04-14-2009 10:10 AM

Quote:

Originally Posted by darkie79 (Post 1725294)
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

This can kick your forum out of google or kill your ranking (meta refresh for guests) ;)

perhaps no good idea :rolleyes:

MARCO1 04-14-2009 11:26 AM

Good Work
Installed


All times are GMT. The time now is 06:38 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.01334 seconds
  • Memory Usage 1,808KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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