Back to vBulletin 4.x Add-ons

Rename register.php by BOP5
Mod Version: 1.1.5, by BirdOPrey5

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

Brought to you by http://www.qapla.com/mods/

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

Spoiler (click to open)


Hello,

It should work, if not something else is interfering. I'm afraid it can't be fixed- I had to use a lot of tricks to get that to work at all.

What you could do as a work around is make a copy of register.php, put it where it is supposed to be, but in your .htaccess file deny anyone from loading the page except for your ip address.

Create (or add to) an .htaccess file:

Code:
    <Files register.php>
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    </Files>
Replace the red IP address with your own IP address.

Obviously the above is for Apache servers only. If on IIS or something else you'll need to figure out how to translate that to your own server, I'm sorry I have no idea how.

Close
.

Download

File Type: %1$s Rename register.php by BOP5_v115.zip (5.0 KB, 1071 downloads)

Screenshots

Click image for larger version
Name:	bop5_rr_settings.jpg
Views:	1440
Size:	78.2 KB
ID:	144820  


vblts.ru supports vBulletin®, 2022-2024