Registration question.

linnysue

Reputable
Joined
May 19, 2007
Messages
156
Reaction score
0
FP$
6
I am still using phpbb 3.0.0 but will soon be upgrading to 3.0.7-PL1. I was wondering if there was a way to add to the note in the registration process telling new members that their user name needs to be a real name not some name like frumpypants, or acaiberry, etc.? Is there a way to do this? Thanks.<br /><br />-- Mon Nov 01, 2010 12:24 pm --<br /><br />I received this answer over at the phpBB forum:

Yes, you can. 🙂

Using a plan text editor, such as Notepad++:

Open: language/en/ucp.php and Find:
Code:
 'USERNAME_CHARS_ANY_EXPLAIN'   => 'Length must be between %1$d and %2$d characters.',

You can add your message inside of the single quotes. For example:
Code:
'USERNAME_CHARS_ANY_EXPLAIN'   => 'Please use your real name as your username. Length must be between %1$d and %2$d characters.',

This will appear user the "Username" text during registration and in the User Control Panel.

If you need to use a single quote/apostrophe, be sure to precede it with a backslash. Example: it\'s

Save and re-upload the file.
 
That would do it, however :

People could ignore it
People just wouldn't bother joining.
 
Back
Top Bottom