Vrefr
Forum Replies Created
-
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Is it safe to use?Well, I was too fast in saying that ??
You are right that the matter is in non-Latin characters, I tried to save form in English – works perfectly.
I think I see the decision. You are probably making it via something like that
$string = preg_replace ("/[^a-zA-ZА-0-9\s]/","",$string);
Try to add Russian characters. Russian alphabet begins with first letter А and ends with last letter Я. Like:
$string = preg_replace ("/[^a-zA-ZА-Яа-я0-9\s]/","",$string);
So you won’t need to ban sanitizing. Hope it helps.One more thing you can do. In admin interface you can add field in Additional fields after field “Name” that will be “field name” with mark that this should be latin name. Thus “field name” will be variable. And field “Name” will be just the heading of the field in html that users see when registering. Because now when I give the field name in English in Admin interface, but enter additional field by registration in Russian it works. So I believe that the trouble is in giving the field variable Russian characters not in filling in the reg form in Russian.
If you need to make Russian and Ukrainian translation, I can help to translate if you send me all words and descriptions that are used in plugin and I’ll translate them and send you back.
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Is it safe to use?You’re a magician ?? Thanks, I’ll try it tonight as I don’t have access to the server.
Will write how it went.
Thanks again.Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Is it safe to use?here it is. It’s in russian, but the custom fields youll recognize I belive
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Is it safe to use?Dear Radiok, thanks fo your reply,
the bug that I have now is that when I ad the custm field in registration form and try to register new user it always says that this filed is not filled in. Is there some desicion for that?
ThanksI suppose it can be done using this code but for each category:
foreach (get_categories(array('hide_empty'=>false)) as $category) { $getcatnum = $category->count; }
question is how to adopt it for custom taxonomies?
I was trying to use this:
wp_list_categories('echo=0&show_count=1&title_li=&taxonomy=districts');
and this:foreach (get_categories('taxonomy=districts') as $category) { $getcatname = $category->name; echo ''. $category->count .' '.$getcatname.' get cat style'; }
“districst” – are one of the taxonomy
how to use this withing the plugin?
And how to be with tags in same way?Don’t you plan to add this option to your plugin updates?