Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2010, 09:14 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A trick to send spammers to hell (or anywhere you want!)

Hello to all,

I think that most of you, have the same problem with me. Huge amount of spam posts in my site. I have tried any possible way to fight spam, but except the post moderation (which is a time waster), nothing was working.

A few days ago, an idea came to my mind, a simple way to do it, which finally seems to work fine, as I've 0 (zero) spam since that day. Even if the idea is simple, it's needs some knowledge to follow it, so try it in your own risk.

What you've to do (follow the steps one by one):
  1. Turn your site off
  2. Rename the file register.php to anything you like. eg I've renamed it to microrgister.php
  3. Do a Search and Replace for the string register.php (case sensitive) with the name of the new file (don't forget the .php extention), in the files:
    1. The file that you've just renamed (eg in my case microregister.php)
    2. functions_online.php at /includes
    3. md5_sums_vbulletin.php at /includes
    4. email.php at /admincp
    5. user.php at /admincp
  4. Upload these files to your site
  5. Login to your AdminCP
  6. Goto Styles & Templates -> Search in Templates -> Find & Replace
  7. Search for register.php ..... Replace with the new filename (don't forget the extention .php). Set "Test Replacement Only" to NO
  8. Here you've to click many times "Continue", but actually the changes are in a few only templates (You'll see them marked in red).
  9. Now goto Languages & Phrases -> Search in Phrases and search for register.php setting Case-sensitive to YES
  10. As I remember it's about 6-8 phrases to change. 3 of them (email phrases) have more than one (4) replacements.
  11. That's all
As a final step, if you want to have some fun, write a file register.php with a redirection to anywhere you like and then upload it to your site. A sample code for this file is:
Code:
<?php
   header("location:http://www.spammers.com");
?>
I repeat, that, if you're not familiar with such change don't even think to try it. A disadvantage is that Jelsoft releases very often new versions, so (as I believe) you've to repeate it in the future.

Maria
Reply With Quote
  #2  
Old 01-10-2010, 12:32 AM
M@tt M@tt is offline
 
Join Date: Nov 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a really good idea. Vbulletin should just put an option in admincp to change it to whatever you like! Would stop a lot of bots/spammers I would imagine.
Reply With Quote
  #3  
Old 01-10-2010, 12:27 PM
Dygear's Avatar
Dygear Dygear is offline
 
Join Date: Apr 2008
Location: Levittown, NY
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree, that's great, thanks for the tip. Should spamming become an issue, I'll be sure to use this.
Reply With Quote
  #4  
Old 01-10-2010, 01:13 PM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dygear View Post
I agree, that's great, thanks for the tip. Should spamming become an issue, I'll be sure to use this.
Thank you both of you. I post a suggestion to vbulletin.com to add an option like the one that they had at 3.x. version with the name of forumindex file. If they place the filename in variable, you can change the name very often, so your site should be totally secure from spammers.

Even since the time of my post, I had none spam registration or post.

Maria
Reply With Quote
  #5  
Old 01-10-2010, 03:23 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
# Goto Styles & Templates -> Search in Templates -> Find & Replace
Why not just use a Replacement Variable?
Reply With Quote
  #6  
Old 01-10-2010, 04:07 PM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
Why not just use a Replacement Variable?
Why do you think that I know to use all vb features? ...lol..lol... By coding for vB in no way means that I'm familiar with the use of the whole system. As coder, I follown the well known to me search and replace

Maria
Reply With Quote
  #7  
Old 01-10-2010, 10:14 PM
italcro italcro is offline
 
Join Date: Jan 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Everybody

MicroHellas, I am having a very similar problem to yours, and I have ONLY HALF SOLVED IT.

I have just purchased a VB4 Publishing Suite, and I haven't yet listed the forum's URL on Google or Yahoo, and already I have become a target for SPAMMERS AND PROFESSIONAL TIMEWASTERS, almost invariably with FAKE or INEXISTENT e-mail accounts or with e-mail accounts linked to Russian porn sites and almost invariably registering with weird or outright offensive names like SexPervert, TedBundyForever, LongLiveJeffreyDahmer, etc and then posting rubbish.

Upon advice from the VB customer service I have made the forum MODERATED in order to stop spammers and idiots from joining the forum.
However the other half of the problem which is still unsolved is the fact that I DON'T WANT the statistics to show the names of members who are still in the moderation queue and have not been approved yet by myself or another moderator.

Of course I have no desire to see my forum become a den for freaks or weirdoes, therefore, again, I don' t want anyone's name to appear on these Statistics until they have been fully approved.

Therefore can anyone please tell me, if at all possible, how to solve this
problem?

Kind regards

italcro
Reply With Quote
  #8  
Old 01-13-2010, 12:34 AM
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds like the best idea I've seen yet for dealing with automated spammers. Here is some documentation on Replacement variables from vBulletin.

This approach should limit automated spammers better than anything I've seen. Part of the problem is the simplicity of google searches for sites with vbulletin files and the register.php file.

Admin CP>Styles & Templates>Replacement Variable Manager> [Add New Replacement Variable]

Then you just have to rename register.php to your replacement variable to implement this simple spam blocker
Reply With Quote
  #9  
Old 01-13-2010, 01:23 AM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by italcro View Post
Hi Everybody

MicroHellas, I am having a very similar problem to yours, and I have ONLY HALF SOLVED IT.

I have just purchased a VB4 Publishing Suite, and I haven't yet listed the forum's URL on Google or Yahoo, and already I have become a target for SPAMMERS AND PROFESSIONAL TIMEWASTERS, almost invariably with FAKE or INEXISTENT e-mail accounts or with e-mail accounts linked to Russian porn sites and almost invariably registering with weird or outright offensive names like SexPervert, TedBundyForever, LongLiveJeffreyDahmer, etc and then posting rubbish.

Upon advice from the VB customer service I have made the forum MODERATED in order to stop spammers and idiots from joining the forum.
However the other half of the problem which is still unsolved is the fact that I DON'T WANT the statistics to show the names of members who are still in the moderation queue and have not been approved yet by myself or another moderator.

Of course I have no desire to see my forum become a den for freaks or weirdoes, therefore, again, I don' t want anyone's name to appear on these Statistics until they have been fully approved.

Therefore can anyone please tell me, if at all possible, how to solve this
problem?

Kind regards

italcro
Wow.. I feel for you.

I gave the Human Verification Manager a shot and is working really nice for me, I choose the Questions and Answer way and although simple questions I don't think no robot can answer them.... yet.

Good luck.
Reply With Quote
  #10  
Old 01-13-2010, 02:50 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I know is, that is 17 days now that I've activated this trick and I've 0 (zero) spamm registrations, while only in 5 days since the time that I've installed the Gold release I had 248!! At that time I was moderating new registrations but it was a time waster.

Maria
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:43 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.07492 seconds
  • Memory Usage 2,266KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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