MyBB Community Forums

Full Version: Edit registration page 1.8.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I change the 'username' on the registration page to say 'enter username'. I have already tried changing the member_register it doesn't work.
It should be enough to replace {$lang->username} in the member_register template with Enter username: or whatever you want. If that doesn't work, then maybe you are editing the template for the wrong theme?
Edit the language itself by going to
ACP > Configuration > Languages
Then find global.lang.php, choose 'Edit' at right.
Find the string that represents "Username" and change it.
You can also useĀ 
placeholder="Enter Username"
and it will look like this
[Image: UHqqAK6.jpg]
Instead of editing core lang files and having to redo such edits on each core update why not simply

placeholder="Enter {$lang->username}" title="Enter {$lang->username}"

Note: only issue with this is while "username" will remain localized "enter" will not be and if that bugs you then perhaps adding a lang var will be your choice:

Ie:
$l['enter'] = "Enter";
* though you will need to re-add new lang var to lang file on each core update as such will most likely be overwritten..

modify the previous snippet to compensate for new lang var:

placeholder="{$lang->enter} {$lang->username}" title="{$lang->enter} {$lang->username}"


Best of luck Smile