![]() |
The Google Ban
The Google Ban
for vBulletin 2 (and soon vBulletin 3) by Velocd This hack, as well all my other vB2 hacks, I no longer provide support for (being I run vB3 and it's too much hassel to debug vB2). When vB3 Release Candidate comes out, by request I might convert some of my hacks. Background This hack is something I've recently been driven to create. For about the past two months a substantial unproportional amount of fans to this one anime called "Inu Yasha" have been coming to my forum and registering, but all these members are fans of the kiddy version of the show that airs on Cartoon Network. At first it was no hassel, but then I (and the other normal users/moderators) decided it was enough when there were just too many zero-posters--the countless usernames with "inu yasha" in them, and the active users who seem to all share the trait of a spammer, annoying poster, and/or rule breaker. At first I thought of using Filburts Ban by Referrer hack, but I didn't know any Inu Yasha forums that these punks were coming from. But, I have a "how did you hear about this place" profile field, and most of them heard about it off of google. By suggestion of one of my members in the iRC chat the other day, he said it would be best to ban them right off of google. The main importance of this hack and why it could be needed is that if you have one of the many spidered-hacks install, you know google and other search engines will spider your forum like crazy, but it isn't always to your permission of what keywords/content is going on google, and sometimes it might be something that could attract the opposite crowd So, let me sum what this hack does. I found out an easy way to grab the keywords from google using HTTP_REFERER, then compared them with my own created "search engine banned word" list. So, any guest who goes to your site off of a search query that contains those words will automatically be banned. This hack also will work with searches on yahoo, altavista, alltheweb, and lycos. Probably even more, but not tested. Make sure you modify the variables $bsistring, $message, and $searchtype. Credits to Filb since I referenced to his "Ban by Referrer" in certain areas of my code. ;) Conditionals
Screenshots? Just imagine a guest (though, we really shouldn't call them a guest if you are intentionally trying to ban them, so how about enemy) getting a ban message when they arrive to your forum off of google, and how clueless they will look. Here is an example of the email you will get: Quote:
Download the hack! Remember to click install if you use this hack, and comments/questions/suggestions are always welcomed. ;) |
Very nice concept Velocd. I may just install this :)
|
Ooh, I like this one. (Wish I could think of a reason we would use it.)
|
Nice idea, but maybe a tad paranoid;):p
Satan |
Doen't get the point of this.
Why would I want to ban them? |
If they search for something like "Loser forums" or "Rubbish forums", and your site comes up because of some smart alec, they are not likely to be coming to your board for any other reason than to trash it...
Satan |
Oh, I get it. Are there many people who trash boards?
|
Fantastic idea Mike :)!
- miSt |
great hack, sadly, i got no reason to install it but it's still a great hack
|
Some people will find no use to this, others will. If you know there is a group of people visiting your forums whom you dislike, and they are mainly finding it through google, you could do some undercover work to find the keywords they are using, and then ban those words.
I wouldn't call it paranoid when what you're trying to do is stop 5 spammers a day from joining your forum whom usually range from the age 9-15. It's annoying work for the moderators having to move threads to the right location/close them all the time, as well the members who follow the rules. |
Its a worth while modification if you need it for the reason the maker listed but I cant really see that a lot of boards would have this problem,
Good luck all the same I hope it can be of some use ? Maybe you have a Caprice board and dont want members looking for the super model Caprice, Just the car Caprice lol.. I quess this hack could be of use. |
man never heard anyone get mad over traffic lol.
I my self have a lot of 0 posters but when i check their activity they do not post but they visit often. So what I have done is when i see their username on the whos online i send them a nice little pm and 9 out of 10 times they post something. And if they do i write back and say thanks. |
The reason is a pity, Inuyasha is great anime, been watching it since it was airing in Japan. Rumiko is a genius, and everything that gets put on Cartoon Network ends up getting ruined =(
BTW, registered on your forums! |
I just noticed an error in the code, which could potentially, depending on your forum version, render this hack unfunctional.
So, in this area of functions.php: PHP Code:
The text file has been updated. |
its a good hack but not for me as i see no reason installing when i worked to hard getting the traffic i have a site which is about 8 weeks old and so far i think google and yahoo helped my site to get the traffic and rank from 3 million to about 320,442 and its climbing by the day i get quilty traffic from searches and may odd bad one but thats life. another reason i get about 70 regiseration from google every day cant afford to loose that.
|
wow terrific idea and hack!!
I have no use for it right now, but still wanted to give you props. =) |
Yeah, I get 5000-6000 uniques a day from search engines, mostly google...but it's still a good hack if someone would choose to use it.
|
If you don't wanna make the guest feel unwanted by your ban, and to make things seem more like their computer is messed up, or the site was down, I highly recommend installing the 404-ban error method, page not found, instead of using vBulletin's ban.
It's a great method of ban anyway, in general. In functions.php, just find every occurence of: PHP Code:
PHP Code:
[high]* Velocd laughs cynically :rolleyes:[/high] |
Great work velocd, but I am sure I am glad if any google bot visits my site. Maybe some wrongly visiters still have an interst :)
|
Sounds like you are having some personal problems.
|
i dunno about all that i would just like google to spider my site :(
bloody comes and goes and yes i have my robots setup correctly as all other search engines are fine :) |
fine hack man
|
All times are GMT. The time now is 06:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|