vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - ajaxReg - Ajax Registration, with instant field checking (https://vborg.vbsupport.ru/showthread.php?t=144869)

ogameclub 12-11-2007 05:49 PM

v.4.0.0
Error Complate registration:
-after image verification error,
-copy/paste e-mail address, or change address.

Red Spider 12-11-2007 06:40 PM

Can't get v4.0.0 to work at all (IE shows Error on Page) and v3.1.1 shows the following:

Quote:

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 1 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 0 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 1 in /ajax.php(474) : eval()'d code on line 8
test username Is Available

TheBlackPoet 12-11-2007 08:17 PM

Quote:

Originally Posted by Coders Shack (Post 1399233)
not sure what your talking about


when you verify the email address it stays red.... instead of turning green... i can live with that... i just loved the way it originally worked.. really sweet..

TheMilkCarton 12-11-2007 08:35 PM

Quote:

Originally Posted by TheBlackPoet (Post 1399441)
when you verify the email address it stays red.... instead of turning green... i can live with that... i just loved the way it originally worked.. really sweet..

It turns green for me. Are you sure you didn't "verify" the 2nd one using autocomplete? Not sure if it's been fixed yet (to not use autocomplete)

Coders Shack 12-12-2007 05:42 AM

ok it would be cool if you guys messed with the demo and told me what you think so far. I changed quite a few things.

TheMilkCarton 12-12-2007 06:08 AM

Umm... The username check is being a little too thorough..

1) It's actually telling me that it's too short once I type a letter or two, and once it gets to 5 letters, it turns green and keeps me from typing anymore.

Then, once I try to delete it and try again, the input background stays green, but then the X comes up and says that it's too short..

There are more issues now than before, basically. :(

You must must must change the Username Check back to an onBlur event, or whatever you used before.. It's nightmarishly annoying to have it check before you've even finished typing.

2) Once I fill out most of the info, and then decide to go back and change my username, the 1st password input field does not stay green.

3) Email address check also starts checking before you're even done typing.

3a) For instance.... type out "email@yahoo.co.uk", and it changes to the next field after you type out "co"
3b) But it also tells me that I'm entering an invalid email before I ever enter anything. (If I press Shift for example, it immediately says I'm entering an invalid email.)

--------

Have you increased the time it waits in the past few minutes? I don't seem to have a problem anymore... with the name checking. :)

Coders Shack 12-12-2007 06:11 AM

i could change the time out, made it 3 times longer.

TheMilkCarton 12-12-2007 06:23 AM

Quote:

Originally Posted by Coders Shack (Post 1399696)
i could change the time out, made it 3 times longer.

I'm still not sure about the current checking method. Alot of people sit at their computer thinking of a name to use.. Sometimes they type out part of it and then let it sit. The biggest problem about this current method, is that I can't seem to click back inside the box. At least initially. It took me about a dozen clicks and entirely too much effort to try and edit my username right after it had checked.

But I think I also see the problem in using an onBlur event.. Since you've greyed out the other fields, there's nothing for a person to "Tab" to.

Newfarm 12-12-2007 01:46 PM

Quote:

Originally Posted by Coders Shack (Post 1399233)
not sure what your talking about

It doesn't happen at home using FF but at work using ie6.

Seems to me that the new form breaks on certain browsers which is a bit of a problem as far as I'm concerned ;).

The new functionality of having a timeout on the input fields really doesn't work out too well from my point of view. I do like what you're trying to do, but how about it being on a lower timeout but not switching fields and making the "completed" field "done" ?

This way you could type in:

usern -> wait a bit and consider while getting the message that it's free -> complete it to username and get a new update (could possibly store 'usern' as a var and compare it to 'username' and if they're different do a new check and output new result to user).

Basically it needs to update the status either with a button or close to realtime, this artificial delay just feels really weird.

Coders Shack 12-12-2007 02:36 PM

yea i was expecting it to break, im working off a linux box. When i have time ill actually mess with it more.


All times are GMT. The time now is 09:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01604 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete