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:
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...
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.
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.
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.
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.
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.
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*)
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