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: Dec 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: 940
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:	1327
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.
  #166  
Old 22 Feb 2014, 21:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Keep it vBulletin.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #167  
Old 22 Feb 2014, 23:47
jkcerda jkcerda is offline
 
Join Date: Mar 2008
getting a DB error
The Single String Archer database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.singlestringarcher.com home page, then try to open another page.
Click the Back button to try another link.
The www.singlestringarcher.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.
I did not get a "you have registered" message.
test users pop up in the "users awaiting e-mail confirmation".
I have not received e-mail for confirmation.

tried 2 different test users with different e-mails.


Last edited by jkcerda; 22 Feb 2014 at 23:56.
Reply With Quote
  #168  
Old 22 Feb 2014, 23:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
This mod doesn't alter the database in anyway- it is likely a conflict with another mod.

I would need to see the text of the actual database error- it should be emailed to the tech address set in config.php or in your MySQL error log.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #169  
Old 22 Feb 2014, 23:57
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Originally Posted by BirdOPrey5 View Post
This mod doesn't alter the database in anyway- it is likely a conflict with another mod.

I would need to see the text of the actual database error- it should be emailed to the tech address set in config.php or in your MySQL error log.
I'll fish for it + & try again.

ok, regstered from my phone and it worked fine, not sure if things are cached on my PC or why things flew fine from the phone, going to try a different PC.

worked fine from different PC with a new user & e-mail.

SOME users are reporting errors.I'll update when I get the logs

Last edited by jkcerda; 25 Feb 2014 at 04:47.
Reply With Quote
  #170  
Old 04 Mar 2014, 05:57
kisanjong kisanjong is offline
 
Join Date: Feb 2009
Great Mod thanks BOP , this should be a standard feature in vb!
Reply With Quote
  #171  
Old 04 Mar 2014, 23:15
ggrimes620 ggrimes620 is offline
 
Join Date: Feb 2013
Awesome mod!
Reply With Quote
  #172  
Old 20 Mar 2014, 08:17
lazytown lazytown is offline
 
Join Date: Feb 2004
First, thank you for posting this and trying to help. I installed this along with other suggestions from OZZY.

Renaming "register.php" is now fairly useless against the latest spam software. It was a good idea and probably once worked quite well,, but spam software (xrumer, etc) must now just be looking at the register link to figure out the URL, so the filename really doesn't matter anymore. I renamed register to completely random numbers/letters, two separate times, and all settings are correct. Within 30 minutes, the spambots are filling out forms on the new register filename. I know they are getting past the rename plugin trick because I'm getting PMs with them being blocked by a separate hostname spam plugin (which does help eliminate some spam).

I wonder if implementing a javascript generated version of the link to register.php (or whatever we rename it to) would block them again for a while, until they figure a way around that as well. That is what some websites use to reduce email harvesters.
Reply With Quote
  #173  
Old 23 May 2014, 02:29
addamroy addamroy is offline
 
Join Date: Sep 2010
how do I keep stumbling on YOUR mods.

Anyway, couple inquiries for you.

What happens if I have already made some manual template edits changing register.php to something else? For example the register link in the top right corner, I changed where that links to, also changed the URL in the 'no permission' phrases, etc things of that nature.

What I did was took the registration form from your OTHER mod, really fast registration, and put it into a new custom vbulletin page. So naturally I went through a few of the templates/phrases and added my own URL.

My concern is whether or not installing this mod will effect all of the adjustments. I figure I might as well rename register.php to prevent the last bit of spammish traffic that might be going directly to that URL to register, rather than clicking the register button itself, of coarse.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #174  
Old 23 May 2014, 09:47
john7911 john7911 is offline
 
Join Date: Feb 2013
Great Mod thanks BOP
Reply With Quote
  #175  
Old 23 May 2014, 20:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by addamroy View Post
how do I keep stumbling on YOUR mods.

Anyway, couple inquiries for you.

What happens if I have already made some manual template edits changing register.php to something else? For example the register link in the top right corner, I changed where that links to, also changed the URL in the 'no permission' phrases, etc things of that nature.

What I did was took the registration form from your OTHER mod, really fast registration, and put it into a new custom vbulletin page. So naturally I went through a few of the templates/phrases and added my own URL.

My concern is whether or not installing this mod will effect all of the adjustments. I figure I might as well rename register.php to prevent the last bit of spammish traffic that might be going directly to that URL to register, rather than clicking the register button itself, of coarse.
Any template instances/links to register.php should be automatically changed by this mod to the new value. If you created a custom php file then you may need to manually edit the php file with the new register.php name however really fast registration was coded to work with this mod out of the box.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #176  
Old 27 May 2014, 03:40
gregmlb gregmlb is offline
 
Join Date: Dec 2007
Not Working in ForumRunner

This mod works great - except when a potential registrant is browsing using ForumRunner. If he or she hits the "Register" button through ForumRunner, then a 404 Page Not Found error pops up (because register.php no longer exists).

How can this be fixed so mobile users can successfully register after installation of this mod?
Reply With Quote
  #177  
Old 27 May 2014, 14:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by gregmlb View Post
This mod works great - except when a potential registrant is browsing using ForumRunner. If he or she hits the "Register" button through ForumRunner, then a 404 Page Not Found error pops up (because register.php no longer exists).

How can this be fixed so mobile users can successfully register after installation of this mod?
Interesting... thanks for letting me know. I'll work on some kind of ForumRunner fix. My initial thought is a copy of register.php but modified so it only works for users in ForumRunner.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #178  
Old 29 May 2014, 05:11
CaptainAwesome CaptainAwesome is offline
 
Join Date: Apr 2014
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?
Reply With Quote
  #179  
Old 30 May 2014, 16:36
lillylissy's Avatar
lillylissy lillylissy is offline
 
Join Date: Feb 2006
Thank you BirdOPrey5 for this modification!

For PhotoPost-Users a code adjustment is necessary:

Line 380 of vb3.php located in the forums subdirectory of their product:


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

__________________
Bäckerei Lieb

Last edited by lillylissy; 30 May 2014 at 16:42.
Reply With Quote
  #180  
Old 31 May 2014, 08:17
madness85 madness85 is offline
 
Join Date: Jun 2012
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
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 05:19.

Layout Options | Width: Wide Color: