The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[Product] AJAX: Username check on registration Details »» | |||||||||||||||||||||||||||
[Product] AJAX: Username check on registration
Developer Last Online: Sep 2010
RC 1 only! Alright, here it comes.. The 3.5 version of my famous AJAX hack *Version: 1.3 `-> Fixed the instruction. See this post for more information: https://vborg.vbsupport.ru/showpost....3&postcount=13 *Version: 1.2 `-> Updated the instructions and fixed a bug in the plugin 'Get Username check setting'. Everyone who installed this hack will be informed. `-> Important: Users running 1.1 or prior: https://vborg.vbsupport.ru/showpost....16&postcount=7 * Version: 1.1 `-> Users who have this installed don't have to install it again. This one is using the new Product Manager. That means to you: All phrases, all settings, all plugins are added with one simple file import Just one single click - isn't that great?
It took me some time to figure out how vB3.5 ticks but it's working now. This was my first try on the new Product Manager ever so there might be some errors but I installed it 10 times (because it is so easy ) and it worked. You can even uninstall it with one simple click It works exactly like vB3 version, there are some minor tweaks to the code but those only affect performance There's only one really new thing: If the username is not taken, the user will see a message (with a green background) telling him that he can register the desired username. Sadly the templates must be changed manually but.. There won't be any fun without some handicraft There's detailed instructions how to install this beauty within the package but let me explain some things first: In the package you'll find 3 files:
The rest is even easier: Copy the ajax_checkusername.js to your clientscript folder and then open instructions.txt for the template edits. Iam short of time at the moment but I'll do my best to support this plugin (or product or..).. Just ask here in this thread. If you like to donate something (I got one for the first release of the script) send me a pm for my paypal address. Anything more to say? Happy importing and _always_ do backups first! Ah for those begging for a screenshot or demo.. As there has not much changend on the frontend please see this thread for more information: https://vborg.vbsupport.ru/showthread.php?t=81531 btw. Iam going to get some sleep now.. It's 5 in the morning here * this includes plugins, settings and phrases.. Files have to be removed manually and templates must be reverted manually. Show Your Support
|
Comments |
#2
|
||||
|
||||
Very cool. I will install it on my test board today.
|
#3
|
|||
|
|||
Please report if it's working
I updated it to version 1.1... It now uses the Product Manager even better. This does not affect users who have this hack already installed |
#4
|
||||
|
||||
Quote:
You say to replace HTML Code:
<input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" /></div> HTML Code:
<input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" <if condition="$show[usernamecheck]"> onblur="checkName(this.value,'')" /></if></div> <if condition="$show[usernamecheck]"> <span class="registererrorhidden" id="nameCheckFailed">$vbphrase[registererror]</span> <span class="registerokhidden" id="nameCheckOk">$vbphrase[registerok]</span> </if> HTML Code:
<input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" />
|
#5
|
|||
|
|||
Ah, ok Iam updating the instructions. Thanks for letting me know
|
#6
|
||||
|
||||
Quote:
BTW, your avatar seems to have vanished. |
#7
|
|||
|
|||
Instructions are up to date, and there's a small fix available..
This information is for everyone running Version 1.1 or prior: Open the plugin 'Get Username check setting' and replace it's content with: PHP Code:
btw. it's time for a new avatar |
#8
|
|||
|
|||
Should consider using the built in AJAX functions in vbulletin_global.js since we've geared them towards all the XMLHTTPRequest browsers including the support of the buggy ones.
|
#9
|
|||
|
|||
I tried that but without a proper documentation (I know, it will be ready when vB3.5 is stable) it was nearly impossible for me to get it working
When I have further information I might release a new version which is using the vBulletin functions |
#10
|
|||
|
|||
maybe this should be a build in function for the default release (guess it makes sense).
problem: i installed the plugin but it doesn't show up. what can it be? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|