Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved I want to change User CP text on forum
#1
Not Solved
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.
Reply
#2
Not Solved
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"
Reply
#3
Not Solved
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..
Reply
#4
Not Solved
"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";
Reply
#5
Not Solved
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*
Reply
#6
Not Solved
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

OR

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.
Reply
#7
Not Solved
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)