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.
|