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
  #32  
Old 02-12-2012, 03:40 AM
ibwt's Avatar
ibwt ibwt is offline
 
Join Date: Feb 2012
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Test Live Demo.
http://www.guarforum.net/
User= spam
Pass= test
you should have warned - haven't been abused like that for as long as i remember and had to force restart to quit
Reply With Quote
  #33  
Old 03-15-2012, 06:14 AM
rashidsre's Avatar
rashidsre rashidsre is offline
 
Join Date: Feb 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice
Reply With Quote
  #34  
Old 05-25-2012, 07:33 PM
Conehead555 Conehead555 is offline
 
Join Date: Oct 2010
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site welcomes trolls, troublemakers, one topic crusaders, and all assorted idiots.

Please feel free to point your redirects at my site:
http://www.arguewitheveryone.org
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 07:11 PM.


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.07641 seconds
  • Memory Usage 2,248KB
  • Queries Executed 19 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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