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)

perfphysio 08-05-2007 12:55 PM

Sorry for being a bit dum but can you tell me where you do the tird part. e.g. a bit more description and where exactly to find the css so that I can change it.

Sorry for being dum but it is a sunday :)

Khalid-B 08-05-2007 01:21 PM

Hello,
Installed at 3.6.8 and working great.
Thanks

rizelim 08-05-2007 03:49 PM

Quote:

Originally Posted by maxicep (Post 1290003)
thanks for update,

I attached ver.3.1.1 's Turkish Translationed version.
Regards.


hello! turkish register karakter problem..

KipBond 08-05-2007 05:08 PM

The regular expression matching does not work correctly. It should use AJAX calls not Javascript to check if it matches, since 1) Javascript uses slightly different RegEx syntax & 2) vBulletin modifes the regular expression when it does its check (it shouldn't, but it does, so it's imperative that this plugin uses the exact same checking method).

If you want to try it, use a regular expression of "\w+ \w+" -- to require users to enter exactly two words separated by a space for their username. It won't work.

I've fixed the problem, and made a few other changes, too. I'll send these to the author of this plugin either tomorrow or later.

Scandal 08-06-2007 05:57 PM

1 Attachment(s)
Installed! :D
.. but I have a problem with Greek language :(:(
What to do??

alexsinev 08-07-2007 03:52 AM

1 Attachment(s)
Here is a variation of the mod with the solution of the problem with Cyrillic. The problem with Greek and other languages can be solved the similar way. There is also a solution for regular expressions there. I haven't completed the mod, so you should enter a regular expression directly into register.js and clear it in the AdminCP. The Cyrillic letters are written with unicodes. The regular expression in the file restricts the nicknames to the ones of 1 or 2 words, written both in Latin or Cyrillic and separated with a space, dash or underscore character.

You should also change the character codes in the function rus(str) in register.js for your own language. They stand for the Cyrillic letters in my variant of the file.

The Russian language phrases are in the separate file ajax_reg-language-rus.xml. You can make a similar file for your own language. Install it in AdminCP -> Languages & Phrases -> Download / Upload Languages -> Import Language XML File. Important: Select the language you want to import the phrases into, not "(Create New Language)" - this won't work! If you use another version of vBulletin than I use enable "Ignore Language Version" to import the language pack or correct the version in the file.

I've also added a verification of the maximum username length in the mod.

I thank snoopi and Ateist for their ideas which helped to make this mod. And of course I thank Coders Shack for the original mod.

The installation manual is in Russian, sorry. I don't have time to translate it to English, but it's almost the same as in the first post of this thread.

cynthetiq 08-08-2007 05:31 PM

Thank you for this mod. It's quite nice!

Duvernoy 08-10-2007 10:17 AM

thanks

TrIn@dOr 08-10-2007 12:07 PM

working in 3.6.8, thanks.

maxicep 08-11-2007 05:39 PM

i found a bug :

i added a space before my username than checked, resault is : Username Is Available
plx fix this.


All times are GMT. The time now is 05:00 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.01575 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)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