No fancy names allowed

Technical information will be posted here, use it to ask questions too.
Post Reply
User avatar
Joshua Gibbs
Posts: 388
Joined: Fri Sep 18, 2015 5:44 pm

No fancy names allowed

Post by Joshua Gibbs » Thu Nov 26, 2015 12:07 pm

Hi it didn't tell me when I registered that names such as Hellspawn were not allowed.

This left me wondering why my account wasn't registered. I think this should be made clear to people wishing to register
Chess, translation, dealing with the police, programming and almost getting killed or arrested: http://honyakujoshua.blogspot.co.uk/

User avatar
Carl Hibbard
Posts: 5625
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Re: No fancy names allowed

Post by Carl Hibbard » Thu Nov 26, 2015 3:14 pm

Joshua Gibbs wrote:Hi it didn't tell me when I registered that names such as Hellspawn were not allowed.

This left me wondering why my account wasn't registered. I think this should be made clear to people wishing to register
I should probably modify the templates to do this but am reluctant to generate a custom build of the software.
Cheers
Carl Hibbard

Paul McKeown
Posts: 3198
Joined: Thu Apr 12, 2007 3:01 pm
Location: Hayes (Middx)
Contact:

Re: No fancy names allowed

Post by Paul McKeown » Thu Nov 26, 2015 6:50 pm

Carl, without wanting to teach grandma, the code change is pretty trivial.

The change occurs in the languages/en/ucp.php file. The registration text string is easy to find and would just need the addition of the necessary block of text.

Code: Select all

// Privacy policy and T&C
$lang = array_merge($lang, array(
            'TERMS_OF_USE_CONTENT' => 'By accessing...'
Of course, you need also to modify your site update script to preserve this modification between updates, which is rather less trivial, and, no doubt, the reason you are reluctant to do it! :D

User avatar
Carl Hibbard
Posts: 5625
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Re: No fancy names allowed

Post by Carl Hibbard » Thu Nov 26, 2015 7:25 pm

Grandma knew thanks but she isn't even home yet let alone considering the change.

Even if I made the change its only a warning so effort would still be needed.

Sent from my iPhone
Cheers
Carl Hibbard

Post Reply