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.
  #151  
Old 18 Dec 2013, 04:04
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by CAG CheechDogg View Post
A facepalm will help too! hahah...lol...
Reply With Quote
  #152  
Old 18 Dec 2013, 04:07
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
AWesome! lol...im in a very "i am gonnah laugh at everything" kindah mood right now ...and watching the movie "Harold" is not helping either lol ....
Reply With Quote
  #153  
Old 18 Dec 2013, 10:43
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by ozzy47 View Post
Maybe it is something I added in the replacement_vars plugin. So it may not be his mod after all.

And now that I look at the original code it is indeed what I added. Sorry for the confusion.
No worries, it happens.

Glad you figured it out... Thinking back issues like this was one of the reasons a simple replacement variable (which it tried first) didn't work and I went with the mod instead. As you can tell by the code rather than just change the word "register" it looks for several more complex variations which (so far) seems to handle all the changes that are necessary while not causing issues elsewhere.
__________________
-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
  #154  
Old 20 Dec 2013, 12:55
madness85 madness85 is offline
 
Join Date: Jun 2012
hi guys ive renamed register.php and all email phrases works great but if a members Email Activation Code is lost what do i do?

i see 2 options in admincp next to the user waiting to be activated and none of them work now because ive changed register.php

Reply With Quote
  #155  
Old 20 Dec 2013, 13:03
madness85 madness85 is offline
 
Join Date: Jun 2012
i changed it back they dont do anything anyways lol. but i did notice half of the users profile was missing from admincp with the register.php changed. e.g. i couldnt manually change the users primary usergroup
Reply With Quote
  #156  
Old 20 Dec 2013, 13:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
There is likely another mod interfering with the admincp changes. If you want to disable the admincp part of this mod go to plugin manager and disable the plugin called Send Activation Code Fix.
__________________
-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
  #157  
Old 20 Dec 2013, 14:30
madness85 madness85 is offline
 
Join Date: Jun 2012
Originally Posted by BirdOPrey5 View Post
There is likely another mod interfering with the admincp changes. If you want to disable the admincp part of this mod go to plugin manager and disable the plugin called Send Activation Code Fix.
I have dbtech advanced registration it's probably that. Thanks for the quick reply will try again
Reply With Quote
  #158  
Old 20 Dec 2013, 19:52
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Please make one for:

forumdisplay.php
showthread.php
memberlist.php

Will pay for GOLD for sure, I think alot of people would. It really would personalize the forum and get further away from the "default vb" feel.
Reply With Quote
  #159  
Old 08 Jan 2014, 02:50
heyzeus909 heyzeus909 is offline
 
Join Date: Jun 2007
Sorry if this is a repeat, but the Tapatalk stuff earlier in the thread confused me - which is easy to do. I just wanted to confirm that it's probably a good idea for owners of Tapatalk enabled forums to take go to AdminCP > Settings > Options > Tapatalk Options > Register page url: *change_to_renamed*.php

Thank you for your work.
Reply With Quote
  #160  
Old 22 Feb 2014, 05:44
jkcerda jkcerda is offline
 
Join Date: Mar 2008
having issues here

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)
clicking on "link to Edit e-mail body & phrases"

default product is VB,
$vbphrase[activateaccount]


Dear $username,

Thank you for registering at the $vboptions[bbtitle]. Before we can activate your account one last step must be taken to complete your registration.

Please note - you must complete this last step to become a registered member. You will only need to visit this URL once to activate your account.

To complete your registration, please visit this URL:
$vboptions[bburl]/register.php?a=act&u=$userid&i=$activateid

**** Does The Above URL Not Work? ****
If the above URL does not work, please use your Web browser to go to:
$vboptions[bburl]/register.php?a=ver

Please be sure not to add extra spaces. You will need to type in your username and activation number on the page that appears when you visit the URL.

Your Username is: $username
Your Activation ID is: $activateid

If you are still having problems signing up please contact a member of our support staff at $vboptions[webmasteremail]

All the best,
$vboptions[bbtitle]
I see no way of "editing:" it, above text is grayed out.
Reply With Quote
  #161  
Old 22 Feb 2014, 11:49
john7911 john7911 is offline
 
Join Date: Feb 2013
thank you
Reply With Quote
  #162  
Old 22 Feb 2014, 13:03
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by jkcerda View Post
having issues here


clicking on "link to Edit e-mail body & phrases"

default product is VB,
$vbphrase[activateaccount]


I see no way of "editing:" it, above text is grayed out.
I'm sorry when I say "Edit" on a phrase I mean create a Translation (to English is fine) - The "translation" always overrides the original text.

So for your language(s) click the "Copy Default Text" button and then make the changes and save.
__________________
-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
  #163  
Old 22 Feb 2014, 19:31
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Originally Posted by BirdOPrey5 View Post
I'm sorry when I say "Edit" on a phrase I mean create a Translation (to English is fine) - The "translation" always overrides the original text.

So for your language(s) click the "Copy Default Text" button and then make the changes and save.
ok, so copy the entire text into the translation box, make the changes & save?
Reply With Quote
  #164  
Old 22 Feb 2014, 19:42
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Exactly.

Please also "Mark as Installed."
__________________
-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
  #165  
Old 22 Feb 2014, 21:15
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Originally Posted by BirdOPrey5 View Post
Exactly.

Please also "Mark as Installed."
Will do. Last question. Does the default product stay at vBulletin. Or do I change it from the drop down ?
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:45.

Layout Options | Width: Wide Color: