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)

jazzyname 05-28-2009 05:42 PM

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.

Medtech 06-16-2009 12:38 AM

Quote:

Originally Posted by Sea Shepherd (Post 1817446)
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 ;)

BeFit4Free 07-01-2009 04:22 PM

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.

GearX1 07-02-2009 11:14 AM

this is such a funny mod lol i love it , some can't figure out whats going on lol

KHALIK 07-07-2009 07:27 PM

loving it :)

Maxman1544 07-08-2009 02:12 AM

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.

theybannedme 07-12-2009 06:56 PM

Quote:

Originally Posted by Maxman1544 (Post 1844918)
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? :D

Cobra-J82 07-13-2009 06:19 AM

lol nice

jca2112 07-23-2009 09:11 PM

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?

danny1mmafan 07-29-2009 03:49 AM

Great app man installed and i love it:) Im looking forward to more of your work.


All times are GMT. The time now is 11:49 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.01350 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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