We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Registration - Username guidelines
Topic Started: Feb 4 2018, 09:09 AM (143 Views)
mawarm
Member
[ *  * ]
On the registration page there is a divider on the right side of the password field and then some requirements for passwords with tick boxes. I would like the same layout for usernames - a divider and after the divider I want to be able to write some guidelines for usernames. I don't want any tick boxes or to define any requirements for usernames, just a divider and then some text basically.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Admin CP > Board Template > Below the Board
Code:
 
<script type="text/javascript">
$(function() {
var usernameDivText = 'This can contain HTML <strong>like so.</strong>';
$('table.register tbody td.c_desc:contains(Username:)').next().attr('colspan', '1').after('<td>' + usernameDivText + '</td>');
});
</script>
Just replace the contents of the usernameDivText variable with the text that you want to see after the divider.
Offline Profile Goto Top
 
mawarm
Member
[ *  * ]
That's exactly what I wanted, thank you very much! :)
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic