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

Reply
 
Thread Tools
Redirect Banned Users or Spamers To Another Site working on VB4.x.x Details »»
Redirect Banned Users or Spamers To Another Site working on VB4.x.x
Version: 1.01, by Casmos Casmos is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.2 Rating:
Released: 03-23-2010 Last Update: Never Installs: 60
Template Edits
Re-useable Code  
No support by the author.

Just an update to
Mod Version: 1.00, by Medtech (Designer) concept.

This modification will redirect Banned Users to http://www.guarforum.net/Virus/index.html. 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.

Instructions:

Admin CP->Styles and Templates->Style Manager-> [ << >>] ->header (Paste this at the very top)

Usergroup Based
Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 8">
<meta HTTP-EQUIV="REFRESH" content="0;url=http://www.guarforum.net/Virus/index.html">
</vb:if>
If your banned usergroup id is something other than 8, change the value to what yours is.

Quote:
** You can repeat the code multiple times and add different URLs to different groups ****
That is you can add code multiple times with different usergroup id and redirect each group to different URLs.
Also, you can change the url to anything you want, in case you ever want to change it............

User Based
Code:
<vb:if condition="$bbuserinfo['userid'] == X">
<meta HTTP-EQUIV="REFRESH" content="0;url=http://www.guarforum.net/Virus/index.html">
</vb:if>
Where X = the userid
This modification can also be used for a wide variety of creative purposes.

Please note if you using more then one forum Style you need to put in all styles
that are shown in the ( Quick Style Chooser ).

Tested on VB 4.0.2 may also work on all VB 4.X.X

Test Live Demo.
http://www.guarforum.net/
User= spam
Pass= test
PC speakers on so you hear the little message for the Ban/spamer

Please click INSTALLED if you use this

Show Your Support

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

Comments
  #12  
Old 04-03-2010, 09:46 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if u need redirect yours banned users.

try this link.

http://www.clangsm.com.br/vb/banido.html
Reply With Quote
  #13  
Old 05-06-2010, 12:40 PM
pjdaley pjdaley is offline
 
Join Date: Feb 2004
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still need a way to redirect banned IP addresses. As I ban almost 30 full ranges and approx 50-60 partial ranges some of those may be legitimate users. I need a way to redirect them to a page explaining the banned ranges and if they feel it is a mistake they can contact me via the contact page.
Reply With Quote
  #14  
Old 07-28-2010, 06:57 AM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked for install later.
There's a good clean site to redirect banned users to at: http://www.msxlabs.org/banned.php
Reply With Quote
  #15  
Old 08-02-2010, 12:07 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you please conver this to a plugin code please
Reply With Quote
  #16  
Old 10-19-2010, 08:13 PM
Casmos Casmos is offline
 
Join Date: Mar 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated information.

For multiple usergroups.
You can repeat the code multiple times and add different URLs to different groups .
That is you can add code multiple times with different usergroup id and redirect each group to different URLs.

example:
REFRESH" content="0,, is the timer before redirection.

usergroup = 8 banned, goes to the Banned URL in 0 time. (REFRESH" content="0)
usergroup = 1 not login, goes to Anywhere URL in 60 seconds (REFRESH" content="60)

Let the Guest see your forum then kick him/her out, lol anyway this is just an example.
Reply With Quote
  #17  
Old 10-20-2010, 11:18 AM
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by midnz View Post
Marked for install later.
There's a good clean site to redirect banned users to at: http://www.msxlabs.org/banned.php
haha love it!!
Reply With Quote
  #18  
Old 10-20-2010, 01:51 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dianna View Post
haha love it!!
hehehe so cool , me 2
Reply With Quote
  #19  
Old 10-20-2010, 05:09 PM
Marcel Adam Marcel Adam is offline
 
Join Date: Feb 2008
Location: Syria
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tanks man

nice Work
Reply With Quote
  #20  
Old 10-20-2010, 06:15 PM
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Location: Peru
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh Crapz !

my computer D= !

hahaha

nice hack .

INSTALLED !
Reply With Quote
  #21  
Old 01-17-2011, 10:48 PM
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a good link if you really want to annoy your banned users.

Rick Roll

Code:
http://thekickback.com/rickroll/rickroll.php
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:43 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.04359 seconds
  • Memory Usage 2,319KB
  • Queries Executed 28 (?)
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
  • (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_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