PDA

View Full Version : Miscellaneous Hacks - Really Fast Registration by BOP5 (VB3)


BirdOPrey5
09-04-2013, 10:00 PM
Brought to you by BirdOPrey5 / Qapla.com (http://www.qapla.com/mods/)

Live Demo: http://www.juot.net/forums/

The purpose of this mod is to get users registered as quickly as possible. Users just enter a username, a valid email address, check a box agreeing to the rules (optional), and hit register, and they are sent an email with a randomly generated password.

The fact they get the password by email confirms entered a valid email address (if they ever log in, you know it is legit.)

https://vborg.vbsupport.ru/attachment.php?attachmentid=146308&stc=1&d=1378405849


Full Feature List

Displays on top of Forum Home (forum.php)
Ability to customize script name to reduce chances of Spam
Uses built in VB javascript to verify valid username in real time
Uses 3rd party javascript to detect user's timezone and set it during registration
Fully Phrased for easy customization or translation
Full use of Stylevars to control colors/layout options
Agree to Forum Rules checked by default option
Show randomly generated password after registration option (this could lead to users with invalid emails however, not recommended)
Random passwords generated vary in length
Choose default usergroup for new registrations
Register button not active until valid looking username/email entered into form
Apply specific referrer to all users who register via this mod (good for tracking purposes)
Compatible with my Rename Regiter.php (http://https://vborg.vbsupport.ru/showthread.php?t=297834) Mod
In unlikely event of error on registration user returned to regular registration script.
Option to hide rules completely
Option to show RFR Form to Admins at all times
Option to put RFR Form on any/all templates manually (RFR Anywhere)
Option to show JavaScript confirmation that explains why a valid email is needed and gives user option to update their email address.
Compatible with VB 3.8.x
Support for Human Verification
Added option allowing user to hide the form for a set number of days
NEW - Added option to enable the register_addmember_complete hook to increase compatibility with other registration mods
NEW - (In Beta) - Added option to use RFR form in "IFRAME" mode for non-VB pages.



I've used this mod for a month or so on my site, I have not had any spammers use it, probably too new for them to take notice.

The mod uses its own email phrases for new registrations so be sure to customize it if you want to.

Some important phrases...

Email Body Text Phrases
bop5rfr_newuser - Email sent to email addresses set to be notified of new users
bop5rfr_welcome - Email sent to new users (contains their password and other info)

Error Message Phrases
bop5rfr_reg_complete - Message shown upon completed Registration
bop5rfr_error_missing_values - Message shown if missing values (only possible if javascript disabled)

Front-End Redirect Messages
bop5rfr_problemredirect - Message shown if error and being redirected to full registration form (unlikely to happen)

GLOBAL Phrases
bop5_rfr_agree_to_rules - Agree to rules text
bop5_rfr_really_fast_reg_join_now - Text in title
bop5rfr_timezone_detect - [Timezone Detetion]
bop5rfr_confirm1 & bop5rfr_confirm2 - JavaScript Confirmation before submitting form



The "External Content" is an option to load the time zone detect javascript remotely, you can load it locally if you prefer.

This mod is compatible with vBulletin 3.8.x and vBulletin 4.x.x

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5
09-05-2013, 05:33 PM
Reserved.

See the 4.x.x thread for previous discussions - https://vborg.vbsupport.ru/showthread.php?threadid=301283

Midohash
09-05-2013, 08:34 PM
What about spam registration?

BirdOPrey5
09-05-2013, 08:39 PM
Spam was discussed heavily in this thread - https://vborg.vbsupport.ru/showthread.php?threadid=301283

I do not believe there will be any spam registrations. I've used it for almost 2 months now with no spammers. Spam software would need to be designed to work with this and I don't think it ever will be because it's not a popular mod.

The mod has the option to rename the script file so if you use a unqiue php file name it would make the chance of a spam script using it even less.

However if you do got spam, then disable it- this mod is for people who value new members even if it means some spammers.

Midohash
09-05-2013, 08:47 PM
Spam was discussed heavily in this thread - https://vborg.vbsupport.ru/showthread.php?threadid=301283

I do not believe there will be any spam registrations. I've used it for almost 2 months now with no spammers. Spam software would need to be designed to work with this and I don't think it ever will be because it's not a popular mod.

The mod has the option to rename the script file so if you use a unqiue php file name it would make the chance of a spam script using it even less.

However if you do got spam, then disable it- this mod is for people who value new members even if it means some spammers.

Thanks BirdOPrey5 for explanation but is there any chance to add a haphazard question/answer box for example to the mod to minimize spam registration even further?

BirdOPrey5
09-05-2013, 09:07 PM
That's not likely to happen until and unless I see it actually being used by spammers. The point of the mod is to register as fast as possible.

Alfa1
09-07-2013, 04:36 PM
Very nice Joe!
Please consider to add this to the reply box, so that guests can post and register at the same time.

Does this addon check for banned email addresses or email addresses already in use?
Please check for location so that the location field is automatically filled in.

BirdOPrey5
09-07-2013, 04:46 PM
It's not checking for banned emails, I will add that in a future version.

3amalah
09-08-2013, 07:58 PM
email not sent

BirdOPrey5
09-08-2013, 08:18 PM
Check your email settings in Admin CP, are any registration emails going out?

6piston
10-01-2013, 11:12 AM
hi BOP,

I have the same problem,

My experience:
- Input username = checks for duplicate works, green tick and box
- Input email
- click register now = no pop up box, (popup selected to yes)
- no email response
- user not registered

I've checked if there are emails sent out and there are (contact us form)

any clues?

6piston
10-01-2013, 12:22 PM
sorry bop, i take back my reply, the plugin works!
it's my bad. I had the files uploaded wrongly

6piston
10-01-2013, 12:39 PM
Though i have problem BOP,

I found the Registration email was sent to spam folder.
I tested a new registration through the vbulletin factory registration and it wasn't sent to spam.

Any way i can change the phrases to prevent the email being sent to spam?

BirdOPrey5
10-01-2013, 07:52 PM
You are welcome to change the phrases-

Email Body Text Phrases
bop5rfr_newuser - Email sent to email addresses set to be notified of new users
bop5rfr_welcome - Email sent to new users (contains their password and other info)

There are only minor changes (in my opinion) between the default templates and mine, but you're welcome to edit them as needed. I have not seem the emails go to spam in gmail or my outlook based account. Obviously all spam filters are setup differently, hard to predict why one mail would go to spam and another wouldn't.

BirdOPrey5
11-20-2013, 01:21 PM
Updated to version 2.0!

At long last, full support for all vBulletin Human Verification options. The HV Challenge pops up after pressing the Register Now button so it doesn't waste space on the page.

https://vborg.vbsupport.ru/attachment.php?attachmentid=147262&d=1384957183

Also fixed some hard coded phrases and fixed bug where it would prevent chatboxes and other mods that shared same template hook from working.

Remember, also compatible with VB 4.x.x!

If you like the update please nominate it MOTM. We were so close last time!

BirdOPrey5
11-26-2013, 11:36 AM
New Release: 2.1.0

New Option- Allow users to hide (dismiss) the RFR Form for an Admin set number of days.

Note- if upgrading from 2.0.0 only file upload is not necessary, just import the XML file.

BirdOPrey5
12-18-2013, 10:47 AM
OK... Updated to version 2.2.0.

New to this version-

Added the register_addmember_complete hook to the file as an option. If you enable this hook in settings it may help let you run some other mods that run after default registration such as "Welcome thread" mods.

Also - I'm considering this feature being "in beta" but you can new enable "Frame Mode" which allows access to the form via an IFRAME- this allows you to integrate the form into a 3rd party page like a Wordpress site or custom landing page.

To use "Frame Mode" enable it in the mode options, then make the IFRAME URL-

http://your-forum-url/bop5_rfr.php?do=frame


Of course if you customized the value of bop5_rfr.php then you need to use the custom value instead of the default file name.

Some of the differences in "Frame Mode" besides displaying the form itself alone is that any errors generated do not bring up the full vBulletin error page because it would be too big to show in a frame and you don't want the forum header, navbar, and footer, etc... So an error, such as a human verify error, simply displays a message to please try again. Also, assuming the registration is completed successfully the success message is also displayed alone without a vBulletin header and footer so it fits better in a frame.

Caution- I have not done much testing with this feature since I have no real need for it- it seems to work though in my VB4 testing. Honestly VB3 testing was even less than VB4- if you need to use this feature please test it yourself to make sure it works once or twice with your chosen settings before relying on it for registrations.