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
  #512  
Old 12-11-2007, 04:25 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alexsinev View Post
Saviour, I agree with you absolutely.

Coders Shack, why didn't you answer my question?
Thanks...

I'm leaving the hack as is...not bothering with his latest version. Works fine on all browsers I've used...IE7, Opera, Firefox, Avant. No complaints from anyone...yet.

Gotta love the attitude, though. Complimented him on his efforts...what do I get? Not even a "thank you" or "How's your mother?" or nothing...know what I mean?

I applaud his efforts, but if he can't take constructive criticism...
Reply With Quote
  #513  
Old 12-11-2007, 04:26 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AWJunkies View Post
Just need the CHECK button to recognize them. When you do autofill and press check it doesn't work.
Right, but you shouldn't have autocomplete on the 2nd field, the one that confirms the correct email. That sort of defeats the purpose of having two fields, if they both autocomplete.
Reply With Quote
  #514  
Old 12-11-2007, 04:29 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
how do i disable autocomplete
Well, autocomplete="off" for Firefox, but that doesn't validate. You could use JS to give the fields that value upon initialization. I'm sure there are other methods that work on all browsers that use autocomplete. Not really sure exactly how it's done though.
Reply With Quote
  #515  
Old 12-11-2007, 04:31 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
Well, autocomplete="off" for Firefox, but that doesn't validate. You could use JS to give the fields that value upon initialization. I'm sure there are other methods that work on all browsers that use autocomplete. Not really sure exactly how it's done though.
thanks ill do it via JS
Reply With Quote
  #516  
Old 12-11-2007, 04:33 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Thanks...

I'm leaving the hack as is...not bothering with his latest version. Works fine on all browsers I've used...IE7, Opera, Firefox, Avant. No complaints from anyone...yet.

Gotta love the attitude, though. Complimented him on his efforts...what do I get? Not even a "thank you" or "How's your mother?" or nothing...know what I mean?

I applaud his efforts, but if he can't take constructive criticism...
your post was selfish... This release was because i needed to code it correctly unlike the past version and also by doing so it fixed many other issues with languages, the language issue has always been around with this mod and i am determined to fix that issue the right way. It may work fine on your board as is but that doesn't mean that it did on others.
Reply With Quote
  #517  
Old 12-11-2007, 04:40 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
thanks ill do it via JS
From here:
Quote:
1. to disable autocomplete on one or several text input boxes add the following CSS class attribute value to each one: class="disableAutoComplete" so such input tag might look like: <input type="text" class="disableAutoComplete" name="mySocialSecurityNumber" value="111-11-1111"/>
2. add the following script block at the bottom of your document, say, right before the </body> tag, inline, or in a separate .js file:

<script language="JavaScript" type="text/javascript">
if (document.getElementsByTagName) {
var inputElements = document.getElementsByTagName("input");
for (i=0; inputElements[i]; i++) {
if (inputElements[i].className && (inputElements[i].className.indexOf("disableAutoComplete") != -1)) {
inputElements[i].setAttribute("autocomplete","off");
}//if current input element has the disableAutoComplete class set.
}//loop thru input elements
}//basic DOM-happiness-check
</script>

3. ...
4. let me know if it works ;]
That's a very old post, but I don't see anything wrong with it, off-hand. I'm sure there are some easier, more modern ways.

And I stand corrected, autocomplete="off" works for IE too.
Reply With Quote
  #518  
Old 12-11-2007, 04:47 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
From here:


That's a very old post, but I don't see anything wrong with it, off-hand. I'm sure there are some easier, more modern ways.

And I stand corrected, autocomplete="off" works for IE too.
4.0.0 was coded using jQuery, it would take 1 line to disable all autcompletes
Code:
$("input").attr("autocomplete","off");
also if your into JS i would totally recommend jQuery.
Reply With Quote
  #519  
Old 12-11-2007, 05:17 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
4.0.0 was coded using jQuery, it would take 1 line to disable all autcompletes
Code:
$("input").attr("autocomplete","off");
also if your into JS i would totally recommend jQuery.
Oh... nice.

I never checked your source code otherwise I'd never have bothered finding that old article. I use jQuery myself, but I tend not to use it with vBulletin because it still somehow causes too many issues, even with noConflict mode set.

I guess jQuery wouldn't harm register.php any, though.

(Here's to hoping 3.7 resolves any issues with JS libraries *crosses fingers*)
Reply With Quote
  #520  
Old 12-11-2007, 05:25 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
Oh... nice.

I never checked your source code otherwise I'd never have bothered finding that old article. I use jQuery myself, but I tend not to use it with vBulletin because it still somehow causes too many issues, even with noConflict mode set.

I guess jQuery wouldn't harm register.php any, though.

(Here's to hoping 3.7 resolves any issues with JS libraries *crosses fingers*)
lol, if it does i guess ill be using yahoo's API. nothing wrong with learning another popular API
Reply With Quote
  #521  
Old 12-11-2007, 08:34 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dude... it looks like it's not checking the E-mail address on your website.
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:14 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.06565 seconds
  • Memory Usage 2,355KB
  • 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
  • (3)bbcode_code
  • (10)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