Username characters limit?
3 posters
Page 1 of 1
Username characters limit?
Hi Forumotion staff and members i have a question about below v
Is there a way i can limit how many characters a user can use for their username when registering?
and also i have a section on my forum called "Nintendo News" i wanted to restrict creating topics for members but allow them to comment on the messages. how do i do this without blocking access for them?
Is there a way i can limit how many characters a user can use for their username when registering?
and also i have a section on my forum called "Nintendo News" i wanted to restrict creating topics for members but allow them to comment on the messages. how do i do this without blocking access for them?
Re: Username characters limit?
Hello, try adding this on your Javascripts (In all pages):
You can edit the text, in :
Do not forget the variable " + max + " to show the max number.
Cheers,
YoshiGM ~
- Code:
$(document).ready(function () {
if ($(location).attr('pathname') + $(location).attr('search') == "/register?agreed=true&step=2") {
var max = 10; /*Change this value for the max character limit*/
$("#username_reg").attr('maxlength', max);
$("#username_reg").after("*The username must be less to " + max + " characters");
}
});
You can edit the text, in :
- Code:
$("#username_reg").after("*The username must be less to " + max + " characters");
Do not forget the variable " + max + " to show the max number.
Cheers,
YoshiGM ~
Re: Username characters limit?
Nintenex wrote:Hi Forumotion staff and members i have a question about below v
Is there a way i can limit how many characters a user can use for their username when registering?
and also i have a section on my forum called "Nintendo News" i wanted to restrict creating topics for members but allow them to comment on the messages. how do i do this without blocking access for them?
Nintenex wrote:bumpstastical
Hello,
Please do not double post. Your posts must be seperated by 24 hours, unless you are adding something to your problem. Please use the edit button instead ~ brandon_g
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Similar topics
» Name Characters Limit
» Limit signature to fewer characters
» Minimum characters limit.
» Limit characters for nicknames
» How do you limit the characters in posts?
» Limit signature to fewer characters
» Minimum characters limit.
» Limit characters for nicknames
» How do you limit the characters in posts?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum