Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

ProxyConnect and blank cyrillic usernames

edited August 2012 in Vanilla 2.0 - 2.3


I am using ProxyConnect to integrate Vanilla Forums with my project.

I am from Russia, so users of my project have usernames in format "Name Surname" with cyrillic letters.

At the moment of user registration ProxyConnect register the user with blank username, but if I doing the test on the ProxyConnect settings page ProxyConnect display cyrillic username right.

Vanilla have complicated framework and tracking this problem for newbe may take a long time, so if you can help me I will be gratefull.



    line 59:

    $UserName = trim(preg_replace('/[^абвгдеёжзийклмнопрстуфхцчшщьыъэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯ0-9- ]+/i','',$UserName));

    I am using only cyrillic usernames, so i don't need latin letters. And "а-яА-я" don't work - don't know why.

Sign In or Register to comment.