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
  #22  
Old 06-09-2008, 05:57 PM
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Location: Russia, Moscow
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2AlexanderT:
Thank you for suggestion. I will do as you say.
Reply With Quote
  #23  
Old 06-09-2008, 06:01 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexanderT View Post
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']).
Great hack ... but I second the above advice. Could you please upgrade your code with the above?

Thanks
Reply With Quote
  #24  
Old 06-09-2008, 06:02 PM
avsunforum avsunforum is offline
 
Join Date: Feb 2008
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #25  
Old 06-09-2008, 06:05 PM
Legende Legende is offline
 
Join Date: Jan 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FractalizeR View Post
If you are using custom skin, just replace /images/rating filenames in ajaxreg.js with the images you like.
Won't show up either? Seems something wrong with folder.

Greets
Reply With Quote
  #26  
Old 06-09-2008, 06:22 PM
AdrianH AdrianH is offline
 
Join Date: Sep 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Legende View Post
Won't show up either? Seems something wrong with folder.

Greets

Likewise , I tried this edit to give the correct path but the images do not show.
Reply With Quote
  #27  
Old 06-09-2008, 07:15 PM
DJTREX DJTREX is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice ...
Reply With Quote
  #28  
Old 06-09-2008, 07:52 PM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before installation i n gotta ask some question... i m already using a similar hack,
i think its this one: https://vborg.vbsupport.ru/showthread.php?t=144869

or here is the live demo for my hack: www.tafreehmela.com/register.php

so i want to know, if u want your hack, do i need to upgrade or uninstall my current one and install urs...

Thanks
Reply With Quote
  #29  
Old 06-09-2008, 09:08 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FractalizeR, the rating images show up only in FireFox, but not in internet explorer. That may be why others do not see the ratings.
Reply With Quote
  #30  
Old 06-09-2008, 09:28 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same issue here. Custom Skin, no stars. Good looking mod tho.
Reply With Quote
  #31  
Old 06-09-2008, 10:51 PM
ecihanuysal ecihanuysal is offline
 
Join Date: Apr 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed the mod, but i am using a turkish character system on my vB. so some letters became a problem at the registration. when i typed an existing user name, here your hack couldnt find any error about it. i tried it with the letter "ç".

some possible related letters(special characters) are: Ç,Ş,İ,Ü,Ğ,Ö,ü,ş,ç,ö,ğ,ı

so can we solve it?
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:57 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.05199 seconds
  • Memory Usage 2,314KB
  • 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
  • (3)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
  • (4)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