Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Rename register.php by BOP5 Details »
Rename register.php by BOP5
Mod Version: 1.1.5, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (36 votes - 4.92 average) Installs: 272
Released: 04 May 2013 Last Update: 09 May 2013 Downloads: 937
Supported Uses Plugins Code Changes  

Brought to you by BirdOPrey5 / Qapla.com

It's great when you stop spam bots during registration but this mod gives you a chance to stop them BEFORE they even attempt to register.

I have received multiple reports from people who say their "register.php" was getting hammered with spam requests- so much so it was like a denial of service attack. Even if they disabled registration they would waste so much resources their site was slow or worse- had to be taken offline.

What this mod does is allow you to rename the register.php file- my theory is many of the vBulletin spamming bots are hard coded to look for register.php. Using a unique name will throw them off, at least for a while.

To manually change the name of register.php would have meant dozens, maybe hundreds of manual edits to files and templates previously.

This mod makes it as simple as possible. At worst you will need to edit 2 phrases and 1 file, and some people don't need to edit anything at all.

Compatible with VB 3.8.x (and 3.7, and 3.6 probably too) and all VB 4.x.x versions.

Basic Instructions
1) Import XML File
2) Go to mod settings in Admin CP
3) Rename your register.php file via FTP or some other means- make it a unique value but only use basic letters, numbers, underscores, or hyphens. Something like "joeregister999.php"
4) In the mod settings, set the value of register.php to the new file name you chose.
5) If you require email verification during registration follow the next setting in the Admin CP and edit the phrases listed (activateaccount and activateaccount_chnage phrases in Email Body)
6) Finally, if you use Facebook Connect on your forum make the manual file edit of class_bootstrap.php as instructed.

Now enjoy your new filename for register.php, I hope it reduces server load and spam in general.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it!

----

Note- if having problems sending activation codes or other Admin CP related activities use the solution in post #197.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	bop5_rr_settings.jpg
Views:	1322
Size:	78.2 KB
ID:	144820  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #181  
Old 31 May 2014, 19:02
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by CaptainAwesome View Post
When i click through the "Link to Edit Email Body Phrases", it takes me to the Email Body Text Page. When i click on edit, it takes me through to a page for the "activeaccount" but i'm unable to edit anything.

How do i edit the activateaccount and activateaccount_change parts?
You don'r really edit a phrase- you provide a translation. So even if your site is English, press the button to copy the original text to the translation box, then make the changes in the translation, and save. A translation always override the default phrase if it exists for that language.

Originally Posted by madness85 View Post
the tab email activation codes in admincp at the top of a users profile page or in quick user links still takes me to register.php please help
I just double checked, this should be working as long as the Admin CP plugin part of the mod is active, and it would be by default. All I can think of is perhaps some other mod running on an Admin CP hook is causing a conflict.

You can always send the emails by going to the URL directly-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where you obviously replace the values unique to your site. registerXXX.php should be replaced with the custom value you set for your site.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #182  
Old 21 Jun 2014, 00:46
chris.t chris.t is offline
 
Join Date: Nov 2013
Trying to install Mod (Novice I might add)

Trying to install Mod (Novice I might add). in VB4.2.2

I got through #1....

I have a manage products and a plugin manager....don't see "Mod Settings" so where do I go? and once I get there(wherever there is) what do I do to complete step #2?

and is step #3 just changing the name of the file, using like filezilla?

thanks for any help,,,chris

Basic Instructions
1) Import XML File
2) Go to mod settings in Admin CP
3) Rename your register.php file via FTP or some other means- make it a unique value but only use basic letters, numbers, underscores, or hyphens. Something like "joeregister999.php"
4) In the mod settings, set the value of register.php to the new file name you chose.
5) If you require email verification during registration follow the next setting in the Admin CP and edit the phrases listed (activateaccount and activateaccount_chnage phrases in Email Body)
6) Finally, if you use Facebook Connect on your forum make the manual file edit of class_bootstrap.php as instructed.
Reply With Quote
  #183  
Old 21 Jun 2014, 02:30
chris.t chris.t is offline
 
Join Date: Nov 2013
found it......does it matter that everyone can see what you renamed the register.php file to?

thanks

chris
Reply With Quote
  #184  
Old 21 Jun 2014, 02:36
chris.t chris.t is offline
 
Join Date: Nov 2013
I got this all set up and turned my site back on......spammers registering started immediately....3 or 4 a minute.....does this MOD do any good?

chris
Reply With Quote
  #185  
Old 21 Jun 2014, 03:09
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by chris.t View Post
I got this all set up and turned my site back on......spammers registering started immediately....3 or 4 a minute.....does this MOD do any good?

chris
this does not stop spammers it never worked for me
Reply With Quote
  #186  
Old 21 Jun 2014, 04:01
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by ForceHSS View Post
this does not stop spammers it never worked for me
It IS one of our recommended anti-spam Mods that is safe to skip, really.
Reply With Quote
  #187  
Old 21 Jun 2014, 05:35
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by Max Taxable View Post
It IS one of our recommended anti-spam Mods that is safe to skip, really.
It does not work as a stand alone but just renaming the register.php will not stop a bot if the link is put on the page for guests to see even if it is hidden bots will find it in time. When i added this sometime ago i hidden the register link with in 24 hrs bots found the new renamed one and try to spam it. So now I have other things put in place and dont get any bots even trying anymore
Reply With Quote
  #188  
Old 21 Jun 2014, 12:25
smirkley smirkley is offline
 
Join Date: Apr 2008
If you are buiulding a honeypot, this mod works very well.
Reply With Quote
  #189  
Old 21 Jun 2014, 17:05
madness85 madness85 is offline
 
Join Date: Jun 2012
Originally Posted by ForceHSS View Post
It does not work as a stand alone but just renaming the register.php will not stop a bot if the link is put on the page for guests to see even if it is hidden bots will find it in time. When i added this sometime ago i hidden the register link with in 24 hrs bots found the new renamed one and try to spam it. So now I have other things put in place and dont get any bots even trying anymore
Would you like to share?
Reply With Quote
  #190  
Old 21 Jun 2014, 17:30
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by ForceHSS View Post
It does not work as a stand alone but just renaming the register.php will not stop a bot if the link is put on the page for guests to see even if it is hidden bots will find it in time. When i added this sometime ago i hidden the register link with in 24 hrs bots found the new renamed one and try to spam it. So now I have other things put in place and dont get any bots even trying anymore
I too came to doubt its effectiveness and have removed it from our list of recommended anti-spam modifications.
Reply With Quote
  #191  
Old 22 Jun 2014, 09:26
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
I have not had any problems with spam at all since I installed this ... actually not one single spam account at all! And it has been since the day he released this mod that I have not had any spam or bots hitting my new register.php file ...
Reply With Quote
  #192  
Old 22 Jun 2014, 11:25
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
There is no one perfect anti-spam mod... The main purpose of this mod was to help people who were having bots specifically target register.php.

Some people have found it effective in general spam prevention, some have not- it is up to you if the few minutes of installing and setting it up is worth it to you. Maybe it's only stopping 5% or 10% of spammers- what I do know is that there are at least *some* spam bots out there that are hard coded to look for register.php can can't continue if it doesn't find one.

Others may have always simply looked for a "register" link on the forum and in that case this does not help.

Tip:- For those claiming total ineffectiveness make sure you don't have a register.php file in your forum directory. Some people have upgraded their VB versions or re-uploaded a fresh copy of the VB files and of course if you do that register.php will come back if you don't rename it again. You'll have both the custom name and the original name on the server and the bots will find the original name and be able to use it. The original register.php must not exist after you rename it.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #193  
Old 22 Jun 2014, 17:34
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by CAG CheechDogg View Post
I have not had any problems with spam at all since I installed this ... actually not one single spam account at all! And it has been since the day he released this mod that I have not had any spam or bots hitting my new register.php file ...
Alot of the problem with it, from people I have actually helped with it, is related to their own attention to detail (lack of) in installing this.

However even in the perfectly done install world, like at OzzModz, we still get the spam attempts. Which are stopped by, other Mods.

There's no silver bullet, it takes several bullets to inhibit spam.
Reply With Quote
  #194  
Old 15 Jul 2014, 21:40
U-Fig U-Fig is offline
 
Join Date: Nov 2012
Hello,
this is a great product andf i have had it installed for a while now, however, I found a teensy issue with it in regards to manually sending activation codes from the users profile page in the adminpanel, the button saying 'Email Activation Codes' that is on top of the profile page for a user awaiting email conformation still leads to register.php instead of the new value.
sorry if this was already answered and i missed that, thanks. otherwise a great mod.
Reply With Quote
  #195  
Old 24 Aug 2014, 09:51
BigAl205's Avatar
BigAl205 BigAl205 is offline
 
Join Date: Oct 2010
Real name: Alan
This mod works great, but it's best if you come up with a name that doesn't have the word "register" or "join" in it because bots are searching your site for those keywords, and "register123" would still be found. It would be best to name it something that isn't even a real word, such as "reboster" or the like. The end user might see it in the URL during the registration process, but it will still function the same.

I also recently created an IP logger and named it "register.php", that way if any bot tries to visit the standard registration page, its IP gets logged into a text file so I can block them later. Just over a matter of 2 days I've already caught some China-bot IPs in my little web trying to register.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:08.

Layout Options | Width: Wide Color: