Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ajaxReg - Ajax Registration, with instant field checking Details »»
ajaxReg - Ajax Registration, with instant field checking
Version: 4.0.0, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 04-13-2007 Last Update: 12-10-2007 Installs: 865
Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

[hr]value[/hr]
. . . . . . . . Brought to you by

. . . http://www.Scriptasy.com
[hr]value[/hr]

Live Demo: ajaxReg 4.0.0

Installation Time: < 2 mins
Files: 3
Product: 1
VB Version: 3.X.X
  • v3.0.1
    • fixed the apostrophe issue
  • v3.0.2
    • added banned username check
    • fixed image url
  • v3.0.3
    • fixed banned username check for people that don't have banned phrases
  • v3.0.4
    • fixed the apostrophe issue for real instead of just not letting it be used
    • uses your username min character settings
    • uses your regex for usernames if set in the registration settings
    • (fixed for forums that have unregistered users set to cant view forum, look below for more info, its red.)
  • v3.0.5
    • fixed minor issue
    • added vbsettings option
  • v3.0.6
    • fixed slashes error
  • v3.0.7
    • fixed email match
    • added email in use check
  • v3.0.8
    • added password strength meter *requested
  • v3.0.9
  • v3.1.0
    • fixed ajax vulnerabilities *
    • added captcha check, thats right
  • v3.1.1
    • added captcha check to all captcha fields.
Description:
This hack uses AJAX to check if the user name is taken and also displays errors and reasons why the user messed up on the registration form. Look at attached example picture.

Installation Instructions:
(If you don't have the unregistered usergroup set to Can View Forum = YES then you will have to follow the normal steps then apply this fix: https://vborg.vbsupport.ru/showpost....&postcount=136)

1) Import the Product (make sure you have an original register template, or use the [manual edits])
2) Upload the images and javascript
3) Also Add these to your Additional CSS Definitions for your style:
Code:
.inputgood {
    width: 211px;
    border: 1px solid Green;
}
.inputbad {
    width: 211px;
    border: 1px solid Red;
}
If you like then [Mark As Installed]

Download Now

File Type: (21.4 KB, 0 views)

Show Your Support

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

Comments
  #112  
Old 04-25-2007, 10:49 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
Can you post actual manual template modifications and the plugins to disable if we want to do these manually to a customized registration template? Would come in handy for those who don't want to be limited in the look of this form.
Seconded! This automatic template modification thing seems to be the latest trend. I'm sure it's helpful for some, but it's a huge pain for many.
Reply With Quote
  #113  
Old 04-25-2007, 11:41 PM
FireFish's Avatar
FireFish FireFish is offline
 
Join Date: Jan 2006
Location: Yipppikayeh, Mofoh!!!
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was a nice enhancement to my current Ajax Check Username & E-mail mods.

Now most of my reg page is AJAX
Reply With Quote
  #114  
Old 04-26-2007, 05:27 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do you enable the ajax?
Reply With Quote
  #115  
Old 04-26-2007, 10:56 AM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

come on it's been days and I'm working with hundreds of visitors a day and i need to get this working... un-installed until a fix has been implemented, cheers
Reply With Quote
  #116  
Old 04-26-2007, 11:27 AM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by b6gm6n View Post
come on it's been days and I'm working with hundreds of visitors a day and i need to get this working... un-installed until a fix has been implemented, cheers
I have to agree! Everything seems to be working fine me except when I used symbols like: < > % ^ & $ # @ - then the rego form just does stupid stuff!

It doesn't bother me to much now though as I don't have a lot of registrations happening at the moment.
Reply With Quote
  #117  
Old 04-26-2007, 10:09 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Streicher View Post
Yes, i am using this ^[A-Z0-9 ]+$. But also a username like "Jeff" gives still "Contains invalid characters".
Thats probably because your using "Jeff" and it would like to see "JEFF"

Quote:
Originally Posted by b6gm6n View Post
Still stuck on usernames... i.e everything is permitted! - I'm sure there was some code to check , I'm sure the database i have my username table in isn't being read or checked... how do i point the checking of usernames to my vB database? - please advise

-b6
I'm not sure why yours isn't working it uses the VB database function so its taking your info from your config.php so it should work fine. It also uses your table prefix if it set.

Quote:
Originally Posted by Wayne Luke View Post
Can you post actual manual template modifications and the plugins to disable if we want to do these manually to a customized registration template? Would come in handy for those who don't want to be limited in the look of this form.
Yes ill do this as soon as possible, I have an older version but updates have not been made. The only issue is that it needs to at least add the Javascript to the header of the template, because it designates specific Javascript valuables values.

Quote:
Originally Posted by rayw View Post
I have to agree! Everything seems to be working fine me except when I used symbols like: < > % ^ & $ # @ - then the rego form just does stupid stuff!

It doesn't bother me to much now though as I don't have a lot of registrations happening at the moment.
I cant seem to re-create your error.
Reply With Quote
  #118  
Old 04-26-2007, 10:24 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
Yes ill do this as soon as possible, I have an older version but updates have not been made. The only issue is that it needs to at least add the Javascript to the header of the template, because it designates specific Javascript valuables values.
Do you mean the phrases? They can be parsed at runtime. I modified my templates manually and simply added the javascript in the following format:

<script type="text/javascript">
<!--
var ajaxreg_email_error_1 = "$vbphrase[ajaxreg_email_error_1]";
var ajaxreg_email_error_2 = "$vbphrase[ajaxreg_email_error_2]";
var ajaxreg_email_error_3 = "$vbphrase[ajaxreg_email_error_3]";
var ajaxreg_email_error_4 = "$vbphrase[ajaxreg_email_error_4]";
... ETC....
-->
</script>


It's working fine.
Reply With Quote
  #119  
Old 04-26-2007, 10:32 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well added the manual edits (doesn't include the javascript part)
Reply With Quote
  #120  
Old 04-26-2007, 11:37 PM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think many people would put > and < into their username, but this is what happens:

Attachment 63681

Also, if I type in test,ing (note the comma) when I tab down to the password field, it changes the username to test.

I can't imagine to many people creating a username like test,ing or ><testing, but I thought I would make you aware of it anyway.

I've updated as well, seems to working fine with the exception of the above.

Thanks!
Reply With Quote
  #121  
Old 04-27-2007, 12:31 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just got around to installing this. It adds a real touch of class to registration! Thanks again.
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 12:22 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.05142 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
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
  • (7)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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