Usernames only in english?
4 posters
Page 1 of 1
Usernames only in english?
SO a user named "火影帝" just registered to my forum -_- I only want to allow usernames written in English characters.. how can I achieve that?
Also the profile fields too in english only..
Much thanks!
NOTE: don't misunderstand me, my forum is English so I only want people to communicate in English language, that includes conversing with people and knowing them. Having it in another language would be tough for people to communicate with that specific person.
Also the profile fields too in english only..
Much thanks!
NOTE: don't misunderstand me, my forum is English so I only want people to communicate in English language, that includes conversing with people and knowing them. Having it in another language would be tough for people to communicate with that specific person.
Re: Usernames only in english?
Hello Rhino.Freak,
You could use this tutorial :
https://help.forumotion.com/t134381-block-numbers-in-usernames-at-registration#904739
You can modify the expression to block certain characters. It can still be bypassed if the user registering has javascript disabled.
You could use this tutorial :
https://help.forumotion.com/t134381-block-numbers-in-usernames-at-registration#904739
You can modify the expression to block certain characters. It can still be bypassed if the user registering has javascript disabled.
Re: Usernames only in english?
hmm but for that I have to like put ALL the symbols there are in the foreign languages Is there any other way where I can put only the ALLOWED characters in the username field?
Thanks
Thanks
Re: Usernames only in english?
You could do this, but you wont be able to use spaces. You'll have to use underscores instead.
- Code:
location.pathname=="/register" && location.search=="?agreed=true&step=2" && $(function(){
var username_format = /^\w*$/;
var format_notice = "Only English usernames are allowed.";
var f = $('form[action=""][method="post"]');
var p = $('#username_reg');
var i = $('<span id="username_issue" />').html('<br/>'+format_notice).css({ "color":"red", "font-style":"italic", "display":"none"}).appendTo(p.parent());
var u = function() {
if (username_format.test(p.val())) i.hide();
else {
i.show();
return false;
}
};
p.on('change keyup', function(){ u() });
$('input[type="reset"]', f).click(function(){ u() });
$('input[type="submit"]', f).click(u);
u();
});
Re: Usernames only in english?
Amazing! THAT would be really really cool! THANKS Ange appreciate your support and help! ^^
Re: Usernames only in english?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» request for these in english
» Grammar Errors
» Forum not in english :(
» Different language ads then English
» Why is my forum not entirely in english?
» Grammar Errors
» Forum not in english :(
» Different language ads then English
» Why is my forum not entirely in english?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum