Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Registration form AJAX enhancements Details »»
Registration form AJAX enhancements
Version: 1.1.7, by FractalizeR FractalizeR is offline
Developer Last Online: Nov 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.0 Rating:
Released: 06-08-2008 Last Update: 07-23-2008 Installs: 833
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

What does it do?
  • Checks for username validity as you type it in registration form
  • Checks for email validity as you type it in registration form
  • Checks for password validity as you type it in registration form
  • Suggests good passwords
  • Shows strength of your password as you type it in registration form
Points of interest:
  • No template or code changes. All is done using VBulletin Product API.
  • Only several custom phrase is used. All others are taken from VBulletin. So, product localization is VERY easy.
  • All validity checks are implemented using VBulletin API

How to install?
  • Unpack archive into forum root
  • Install *.xml file via Admin Control Panel (Product management)

What is NOT done:
  • No checks implemented for entering captchas as it may seriously lower forum anti-spam security


How to update to latest version?
Overwrite all files by new ones from latest zip and reimport product XML file via Admin Control Panel with "Allow Overwrite" option checked.

Version history:
Code:
1.1.7 (24-07-08)
  • Situation where password = login is now classified as error. New string added for this case (localizers, note).
1.1.6 (22-07-08)
  • Minified version of ajaxreg.js included in the pack. 1Kb savings :)
1.1.5 (01-07-08)
  • Fix for checking usernames, containing space character (only fractalizer_ajaxreg_ajax.php file is changed since 1.1.4)
1.1.4 (17-06-08)
  • Small fix to a bug with username checking on some forums.
1.1.3 (16-06-08)
  • A fix provided to prevent some browsers from refreshing page after clicking on Password Suggestor button
1.1.2 (16-06-08)
  • Another attempt to fix checking usernames containing non-latin chars. Should work this time ;)
  • Icons rearranged to prevent problems with custom styles
1.1.1 (11-06-08)
  • Template issue fixed (password suggestor is now correctly shown) (skariko)
1.1 (11-06-08)
  • New feature - password suggestor. New phrases were added for it also to product XML.
  • New images for password strength added to distro for easy customization.
  • Functionality of password strength calculation fixed (Quantnet.org, Arbit3r)
  • non-latin characters problem hopefully fixed (requires iconv PHP extension, autodetected). (ecihanuysal)
  • Border in IE is now correctly cleared (Jeordie015)
1.0.1 (10-06-08)
  • Text sanitizing added (AlexanderT).
  • Password strength images are now shown everywhere (HTML was broken) (TheInsaneManiac, uantnet.org, Lionel)
  • jQuery is now about 45% less in size (Milad)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
caoducanh9x

Comments
  #12  
Old 06-09-2008, 03:30 PM
iBlazee iBlazee is offline
 
Join Date: Nov 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you.
Reply With Quote
  #13  
Old 06-09-2008, 03:42 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FractalizeR View Post
product-fractalizer_ajaxreg.xml is not needed in forum root It should be installed via Admin CP
ah, that's obvious mate ...
Reply With Quote
  #14  
Old 06-09-2008, 03:50 PM
Davey Davey is offline
 
Join Date: Nov 2002
Location: England
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not getting the password strength coming up visually (the stars).
I just upgraded to 3.7.1 (latest patch also).

Any tips on this? Thanks.
Reply With Quote
  #15  
Old 06-09-2008, 04:00 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They should come when any of password controls looses focus. Press Tab or click somewhere outside that control. My forum is running 3.7.1 just fine.
Please ensure this folder: \images\rating\ is not empty on your forum installation. You must have rating_0.gif, rating_1.gif, rating_2.gif, rating_3.gif, rating_4.gif, rating_5.gif files there.

Also you may be testing too short password (with zero strength ).
Reply With Quote
  #16  
Old 06-09-2008, 04:17 PM
Legende Legende is offline
 
Join Date: Jan 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got the same problem with the stars images Using custom skin


Nice mod, waiting for this since Ajax Reg disappeared
Reply With Quote
  #17  
Old 06-09-2008, 05:01 PM
taxick taxick is offline
 
Join Date: Aug 2005
Location: Denmark
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice - Thx for this nice hack!
Reply With Quote
  #18  
Old 06-09-2008, 05:21 PM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack. I only had a quick glance at the code. One note: It's recommended that you sanitize the $_POST variables before using them (following vB's guidelines):

$vbulletin->input->clean_array_gpc('r', array(
'field' => TYPE_NOHTML,
'value' => TYPE_NOHTML,
'value2' => TYPE_NOHTML,
));

And then use the appropriate sanitized variables (e.g. $vbulletin->GPC['field']).
Reply With Quote
  #19  
Old 06-09-2008, 05:39 PM
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edited.
Reply With Quote
  #20  
Old 06-09-2008, 05:54 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are using custom skin, just replace /images/rating filenames in ajaxreg.js with the images you like.
Reply With Quote
  #21  
Old 06-09-2008, 05:55 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2Skavenger:
Please execute REPAIR TABLE vb_post on your MySQL server. It is not caused by my mod. Just MySQL crashed on your server on some reason.
Reply With Quote
Reply


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 07:20 PM.


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.05359 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete