MyBB Community Forums

Full Version: I want to change User CP text on forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My new users are always having problems identifying where to access their profile.

I want to change the text to "User Profile and Control Panel".

Can someone point me to the file where the text is located.

Thanks - John.
open header_welcomeblock_member_user template of your theme in forum admin panel
and change {$lang->welcome_usercp} with required "User Profile and Control Panel"
Thanks - I'm in the template - how don't see how changing >welcome_usercp changes the display on the board the text "User CP" - or do I change the actual displayed text in the usercp.php file?

I think it would be changed in the php file.

I'm still not figuring this..
"User CP" value is used for welcome_usercp language variable.
so changing as suggested in previous post works.

or you can change it in global.lang.php file in inc/languages/english folder
[Assumed that you are using regular English language]
$l['welcome_usercp'] = "User CP";
Your error is assuming I'm familiar with the myBB software.

I just started using the software 10 days ago and have been busy moderating the site, helping new users figure how things work, working full time, fixing the brakes on my truck, sleeping, eating, out socializing, watching TV, attending to the missus - in that order.

No need to be snarky.

*shakes head*
well, header_welcomeblock_member_user template contains code like below
<li><a href="{$mybb->settings['bburl']}/usercp.php" class="usercp">{$lang->welcome_usercp}</a></li>

suggestion is to replace {$lang->welcome_usercp} with required phrase


if you want to modify related php file for your requirement then
please edit global.lang.php file (in inc/languages/english folder)
and replace User CP with required phrase
$l['welcome_usercp'] = "User CP"; 
change to
$l['welcome_usercp'] = "required phrase"; 

below note could be a bit scary ..
Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.
Thanks - I'll look into this later - but for now it's back to removing seized bolts on my truck brake calipers now it's stopped raining.