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)

ferreo 04-17-2007 02:29 PM

Installed!

vip-q.com 04-17-2007 05:29 PM

thanks man I like it :)

but it doesn't Support Arabic in the user name :(

could you pleas help me with it

bjhuang 04-18-2007 05:25 PM

to support chinese (maybe others)

open plugin "CheckUsername" and find
PHP Code:

if ($_GET['do'] == 'CheckUsername') { 

add these lines after that
PHP Code:

            $vbulletin->input->clean_array_gpc('g', array(
                
'param' => TYPE_STR
            
));
        
            
$vbulletin->GPC['param'] = convert_urlencoded_unicode($vbulletin->GPC['param']); 


activa 04-21-2007 12:28 AM

Quote:

Originally Posted by bjhuang (Post 1230559)
to support chinese (maybe others)

open plugin "CheckUsername" and find
PHP Code:

if ($_GET['do'] == 'CheckUsername') { 

add these lines after that
PHP Code:

            $vbulletin->input->clean_array_gpc('g', array(
                
'param' => TYPE_STR
            
));
        
            
$vbulletin->GPC['param'] = convert_urlencoded_unicode($vbulletin->GPC['param']); 


this one is valid only for languages that charset is uft-8 , but if the language charset is like windows-1256 it will be retourned the html code for the letter .

Panagioths 04-21-2007 01:13 PM

I can't understand. I've reverted the register template, I did the product install and I added the css code, but the ajax doesn't work on registration.
All ajax features are enabled on my site, but when i try to register, nothing happens.
If you like, see for yourself
http://www.world.gr/register.php?do=register

Coders Shack 04-21-2007 07:27 PM

Quote:

Originally Posted by Panagioths (Post 1232620)
I can't understand. I've reverted the register template, I did the product install and I added the css code, but the ajax doesn't work on registration.
All ajax features are enabled on my site, but when i try to register, nothing happens.
If you like, see for yourself
http://www.world.gr/register.php?do=register

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.

Coders Shack 04-21-2007 08:21 PM

Update released
  • v3.04
    • fixed the apostrophe issue for real instead of just not letting it be used
    • uses your username min character settings
    • uses your regex for usernames if set in the registration settings

Shazz 04-21-2007 08:42 PM

Updated on test site :)

b6gm6n 04-21-2007 09:21 PM

i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6

TheMilkCarton 04-21-2007 11:06 PM

Updated to v3.04. Nice work!

Glad to see some of my suggestions implemented. :) I'm sure I'll have plenty more of those.. haha.

I should actually get around to making a RegEx now..


All times are GMT. The time now is 08:07 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.01429 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (2)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