vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Redirect Banned Users or Spamers To Another Site working on VB4.x.x (https://vborg.vbsupport.ru/showthread.php?t=239033)

Casmos 03-23-2010 10:00 PM

Redirect Banned Users or Spamers To Another Site working on VB4.x.x
 
1 Attachment(s)
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:D

Please click INSTALLED if you use this

Syria BoY 03-25-2010 09:38 AM

Nice Idea Thanks

dianna 03-26-2010 11:08 AM

I love this I have been so waiting for an update!!!!!

steve1966 03-26-2010 06:38 PM

thanks rated

irishblacknight 03-26-2010 07:15 PM

ROFL

I'm not sure if I'd want to send banned users to your site, but I'm sure I could think of plenty of other "nice" places to send them :)

Casmos 03-26-2010 07:40 PM

Quote:

Originally Posted by irishblacknight (Post 2010738)
ROFL

I'm not sure if I'd want to send banned users to your site, but I'm sure I could think of plenty of other "nice" places to send them :)

All you need to do is change URL, no problem. A good one is a fake URL where ban/spammers gets HTTP 400 error-web page not found:D

It would not be off-topic if some nice urls where posted here to send spammers and ban users to different sites. Depending on the volation.

Anyone have any good URLs to send ban users???

Shadawg 03-29-2010 06:32 AM

Great man, you should think about making this into a plugin for ease of use :)

is_it_me 03-29-2010 09:56 AM

LOL @ this mod :D

My site is small and only has 2 banned users, which have never attempted to come back, but I've bookmarked it for the future in case I need it.

Quote:

Originally Posted by Casmos (Post 2010753)
Anyone have any good URLs to send ban users???

The worst that I can think of at the moment is that 'Goatse' image. :eek:

paramegsoft 03-30-2010 01:03 AM

hhhhhhhhh

nice man
thanks

nul7 04-02-2010 05:16 PM

I like this idea +1 for you...bookmarked


All times are GMT. The time now is 04:51 PM.

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.01184 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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