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)

akulion 04-22-2007 12:14 PM

works very nicely
thanks

Panagioths 04-22-2007 12:21 PM

Quote:

Originally Posted by Coders Shack (Post 1232849)
ok your issue is caused because of your template, you have something else other than the form with the id="register". Fix that and it should work fine.

Well it was my mistake about the link, the actual link that starts the registration process is this http://www.world.gr/register.php
You accept the forum rules and then you procceed. I can't understand what you mean by saying that I have something else that the form with the id "register". A little help on this would be appreciated.

vip-q.com 04-22-2007 12:35 PM

1 Attachment(s)
Hi

thanks man

the hack Support Arabic but not that well

see the Attach :(
and the username taken by another user

thanks anyway :)

Streicher 04-22-2007 01:32 PM

Quote:

Originally Posted by Dead End Society (Post 1233088)
^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever.

On my forumi get always the error: Contains invalid characters.

Coders Shack 04-22-2007 03:29 PM

Quote:

Originally Posted by Streicher (Post 1233350)
On my forumi get always the error: Contains invalid characters.

well do you have the regular expression set for usernames? if so then its following that.

apn3a 04-22-2007 03:33 PM

Quote:

Originally Posted by vip-q.com (Post 1233318)
Hi

thanks man

the hack Support Arabic but not that will

see the Attach :(
and the username taken by another user

thanks anyway :)


I have the same problem with greek characters :confused:

succo 04-22-2007 04:23 PM

btw, are you sure that
Code:

$vbulletin->templatecache['register'] = preg_replace('/<input type=\\\"text\\\" class=\\\"bginput\\\" name=\\\"username\\\" size=\\\"50\\\" maxlength=\\\"" \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. "\\\" value=\\\"\$username\\\" \/>/', '<input type=\"text\" class=\"bginput\" name=\"username\" size=\"25\" maxlength=\"$vboptions[maxuserlength]\" value=\"$username\" id=\"username\" style=\"width: 212px\" onblur=\"CheckUserName();\"/><span id=\"username_status\"></span>', $vbulletin->templatecache['register']);
will work? i think there is no such line in register template...

Coders Shack 04-22-2007 06:32 PM

Quote:

Originally Posted by succo (Post 1233454)
btw, are you sure that
Code:

$vbulletin->templatecache['register'] = preg_replace('/<input type=\\\"text\\\" class=\\\"bginput\\\" name=\\\"username\\\" size=\\\"50\\\" maxlength=\\\"" \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. "\\\" value=\\\"\$username\\\" \/>/', '<input type=\"text\" class=\"bginput\" name=\"username\" size=\"25\" maxlength=\"$vboptions[maxuserlength]\" value=\"$username\" id=\"username\" style=\"width: 212px\" onblur=\"CheckUserName();\"/><span id=\"username_status\"></span>', $vbulletin->templatecache['register']);
will work? i think there is no such line in register template...

yes im sure... looks crazy but thats the only way to do it from the $vbulletin->templatecache['register']) that i know of.

succo 04-22-2007 06:50 PM

oh, i see... there is " \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. " , so the actual option value is parsed... anyway, would you mind implementing the headinclude part, so that anyone with a vba-wrapped forum could use it? of course i could do it myself, but i'd like to make as little modifications to the mods as i can, as it would be harder to upgrade/update in a latter time, don't you agree? :)

thanks for the help :)

Coders Shack 04-22-2007 08:45 PM

Quote:

Originally Posted by Panagioths (Post 1233313)
Well it was my mistake about the link, the actual link that starts the registration process is this http://www.world.gr/register.php
You accept the forum rules and then you procceed. I can't understand what you mean by saying that I have something else that the form with the id "register". A little help on this would be appreciated.


HTML Code:

<img
                src="images/aria/misc/register.gif" name="register"  width="78" height="39" border="0" class="imgFader" id="register" alt="" />
</a>

that is causing your problem.. remove it and it will be fixed, or rename its ID.


All times are GMT. The time now is 11:13 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.01702 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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