-
Author
Tagged: username, Registration Page
-
April 9, 2015 at 18:58 #53800
Norman
ParticipantHi on my site I do not allow users to use an empty space in their username.
But I can’t inform people on that fact.For XUserfields I can easily add a comment, for example for the nickname.
But I can’t do that for the USERNAME.is there a way that I can display this in the registration form:
Username (required) ( no empty spaces allowed )
April 10, 2015 at 01:30 #53846sharmstr
ModeratorThere’s no way to inject the message so you’ll have to edit the register page.
Copy /kleo/buddypress/members/register.php to your child theme then edit.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
April 10, 2015 at 12:53 #53901Norman
Participantthx @shrmstr,
what kind of code do i have to place, if i simply want to add a line of text under the username field like
” no spaces in usernames allowed ”
and still keep the WPML multi language usability- should be able to translate this string or is this not possible.April 10, 2015 at 16:53 #53918sharmstr
ModeratorCOPY CODE<?php _e( 'No spaces in usernames allowed.', 'buddypress' ); ?>Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.

