Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Rename register.php by BOP5 Details »»
Rename register.php by BOP5
Version: 1.1.5, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 4.x.x Rating:
Released: 05-03-2013 Last Update: 05-08-2013 Installs: 278
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. :up:
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

File Type: zip Rename register.php by BOP5_v115.zip (5.0 KB, 1064 views)

Screenshots

File Type: jpg bop5_rr_settings.jpg (78.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 09-28-2013, 04:49 AM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Despite renaming my register.php, I'm still getting around 150 failed registrations per day from spambots. I use spamhammer, which blocks registrations that take shorter than a certain time (bots fill out instantly).

Does anybody know why renaming my register.php does not seem to have helped?
Reply With Quote
  #123  
Old 09-28-2013, 09:34 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[s]In spam hammer are you using the option to disable clicking on the button until the time limit passes?[/s]

Edit - I see you are, that's good IMO.

You can try editing you welcome phrase, currently-

Quote:
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Change up the wording, don't make the word register the link to register.php, find some other unique wording. Or get fancy- and say something like- "Click on the XXXXXXX icon to register" and add a few icon/pictures to the box with only one going to register.php. (My mod will take care of renaming register.php to your renamed value.)
Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, Cedric_FP
  #124  
Old 09-28-2013, 09:35 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cedric_FP View Post
Despite renaming my register.php, I'm still getting around 150 failed registrations per day from spambots. I use spamhammer, which blocks registrations that take shorter than a certain time (bots fill out instantly).

Does anybody know why renaming my register.php does not seem to have helped?
Rename your register.php to something else my my Man, signupatfp.php might still be a keyword (signup) that these spammers have their bots and script looking for when they hit websites.

Get as creative as possible and avoid synonyms of the word register ...maybe something like (cavewall.php) or (oaktreeranger.php)...give it something that they would have to really look for physically themselves. Just like a password, you should make it as hard as possible for them to guess your register.php's new name.

You might also what to change the phrase "Register" on any links that are on your home page, maybe something like (Begin Posting) for the register link ...
Reply With Quote
Благодарность от:
Cedric_FP
  #125  
Old 09-29-2013, 02:25 AM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
[s]In spam hammer are you using the option to disable clicking on the button until the time limit passes?[/s]

Edit - I see you are, that's good IMO.

You can try editing you welcome phrase, currently-



Change up the wording, don't make the word register the link to register.php, find some other unique wording. Or get fancy- and say something like- "Click on the XXXXXXX icon to register" and add a few icon/pictures to the box with only one going to register.php. (My mod will take care of renaming register.php to your renamed value.)
Quote:
Originally Posted by CAG CheechDogg View Post
Rename your register.php to something else my my Man, signupatfp.php might still be a keyword (signup) that these spammers have their bots and script looking for when they hit websites.

Get as creative as possible and avoid synonyms of the word register ...maybe something like (cavewall.php) or (oaktreeranger.php)...give it something that they would have to really look for physically themselves. Just like a password, you should make it as hard as possible for them to guess your register.php's new name.

You might also what to change the phrase "Register" on any links that are on your home page, maybe something like (Begin Posting) for the register link ...
Thank you both for your replies. I didn't realize the spambots were so advanced :S I'll try switching these things up and see if that helps!

I'll try to avoid words like join, sign up, register, etc.
Reply With Quote
Благодарность от:
CAG CheechDogg
  #126  
Old 09-29-2013, 03:35 AM
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are still instances of register.php in our current templates, do we need to edit them manually?
Reply With Quote
  #127  
Old 09-29-2013, 03:46 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pocket Aces View Post
There are still instances of register.php in our current templates, do we need to edit them manually?
Pocket Aces, right now I personally don't see a need to do that really, unless you really start getting hit again by these bots....

My opinion on this is if they can't click directly to the old register.php file then they can't really do anything, this mod does enough by just helping you rename what you need and nothing more....again just my opinion..

So I wouldn't worry about renaming the other instances of register.php my Man...
Reply With Quote
  #128  
Old 09-29-2013, 10:18 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pocket Aces View Post
There are still instances of register.php in our current templates, do we need to edit them manually?
No. The mod can change all other templates on the fly except email templates.
Reply With Quote
Благодарность от:
Pocket Aces
  #129  
Old 09-29-2013, 12:56 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh nice, good stuff BOP5 I had no clue it actually did all that ...SawwEEt!
Reply With Quote
Благодарность от:
BirdOPrey5
  #130  
Old 11-08-2013, 07:07 PM
pjclas pjclas is offline
 
Join Date: Aug 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and it works well, but there seems to be a problem in the admincp. I am unable to edit a user in the awaiting email confirmation group. When I click on one of these users, I get "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." This is not due to a gzip compression issue, I've already verified that. I can edit users in any other group (e.g. Registered users). I also noticed that in firefox, the edit user page flashes briefly prior to getting this message, and firebug shows post data coming back, but it's incomplete.

When I disable this product, I am able to view users in the awaiting email confirmation group with no problem, so I think it is directly related to this. I'm guessing there is something calling the old register.php stuff somewhere that is causing the response to get cut off due to some failure. Anyone else seeing this?
Reply With Quote
  #131  
Old 11-09-2013, 11:40 PM
hpidriver hpidriver is offline
 
Join Date: Jun 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I install this on a forum that is Tapatalk enabled, are any modifications necessary? Just want to make sure it doesn't interfere with the Tapatalk in-app registration. Thanks
Reply With Quote
Reply

Thread Tools

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 02:10 AM.


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.08664 seconds
  • Memory Usage 2,381KB
  • Queries Executed 28 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (30)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete