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)

fastforward 04-25-2007 10:49 PM

Quote:

Originally Posted by Wayne Luke (Post 1235485)
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. :)

FireFish 04-25-2007 11:41 PM

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

Now most of my reg page is AJAX :D

FReeSTER 04-26-2007 05:27 AM

where do you enable the ajax?:confused: :confused: :o

b6gm6n 04-26-2007 10:56 AM

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

rayw 04-26-2007 11:27 AM

Quote:

Originally Posted by b6gm6n (Post 1235724)
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. :(

Coders Shack 04-26-2007 10:09 PM

Quote:

Originally Posted by Streicher (Post 1234701)
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 (Post 1234825)
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 (Post 1235485)
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 (Post 1235745)
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.

fastforward 04-26-2007 10:24 PM

Quote:

Originally Posted by Coders Shack (Post 1236125)
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.

Coders Shack 04-26-2007 10:32 PM

well added the manual edits (doesn't include the javascript part)

rayw 04-26-2007 11:37 PM

1 Attachment(s)
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! :)

FleaBag 04-27-2007 12:31 AM

I just got around to installing this. It adds a real touch of class to registration! Thanks again. :)


All times are GMT. The time now is 06:37 PM.

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.01447 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
  • (7)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