Register Members List Search Today's Posts Mark Forums Read

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: Jan 2020 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: 943
Supported Uses Plugins Code Changes  

Brought to you by BirdOPrey5 /

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.


Click image for larger version

Name:	bop5_rr_settings.jpg
Views:	1332
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.
Old 12 Feb 2019, 23:01
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
Join Date: Mar 2006
Real name: Daniel
So far no new attempts to register when New Registration is turned off so I guess that's good news.

Is there a way to hide/spoof the url that's displayed for this? A URL rewrite so they can't just copy what's displayed in the browser and plug in the new URL into the bot.
__________________ Large scale model building at its best. Check it out.
Reply With Quote
Old 13 Feb 2019, 17:24
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
Join Date: Mar 2006
Real name: Daniel
I just wanted to add that this mod is helping allot actually. I was being hit with spambots every few seconds all day every day trying to register. So far after a few days Im down to about 100 a day. That's a big change, thanks.

Still, it would be nice to be able to hide the URL somehow. I'm sure it can be done but I'm no wiz with htaccess so maybe someone would be willing to take up the challenge.
__________________ Large scale model building at its best. Check it out.
Reply With Quote
Old 14 Feb 2019, 13:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Join Date: Jun 2008
Real name: Joe D.
I can't think of anyway to hide a URL that it would still work.
Former Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
Old 14 Feb 2019, 14:35
In Omnibus's Avatar
In Omnibus In Omnibus is online now
Join Date: Apr 2010
Real name: Kris
You might want to try blocking bots by user agent at the server level.
Reply With Quote

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 09:58.

Layout Options | Width: Wide Color: