Jump to the post that solved this thread.
Solved: 6 Years, 5 Months ago Change "User CP" to "User Control Panel"
#1
Solved: 6 Years, 5 Months ago
Looking to change the "User CP" link wording to "User Control Panel"

User CP is seen when a normal user is logged into the site on the left of the sub-navigation of the top of the site.
Reply
#2
Solved: 6 Years, 5 Months ago
Go to templates> your theme templat> header template> header_welcomeblock_member

You should find something like that

<a href="{$mybb->settings['bburl']}/usercp.php" title="User CP"><font color="#a4a1a1">UserCP <i style="font-size: 14px;" class="fa fa-cube fa-fw"></i></font></a>&nbsp;

Change User cp word to what ever you like
Reply
#3
Solved: 6 Years, 5 Months ago
I have looked under this location. I have this:

<!-- Continuation of div(class="upper") as opened in the header template -->
<span class="welcome">{$lang->welcome_back} <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="logout">{$lang->welcome_logout}</a></span>
</div>
</div>
<div class="lower">
<div class="wrapper">
<ul class="menu panel_links">
<li><a href="{$mybb->settings['bburl']}/usercp.php" class="usercp">{$lang->welcome_usercp}</a></li>
{$modcplink}
{$admincplink}
</ul>
<ul class="menu user_links">
<li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</li>
</ul>
</div>
<br class="clear" />
</div>
Reply
#4
Solved: 6 Years, 5 Months ago
No. Don't touch that. Change that in language files.

Do you want to change all links of User cp to User control panel?
MyBB Translator & helper
Please do not PM me requesting free support or help for your forums.
You can see my paid services here.
Reply
#5
Solved: 6 Years, 5 Months ago
@zyon

I know enough not to change the link's variables. I wanted to show the code of my header_welcomeblock_member template

Where in languages. I look a lot at these.

Has MyBB made a language search function yet? It would save days!
Reply
#6
Solved: 6 Years, 5 Months ago
inc/languages/english/global.lang.php
$l['welcome_usercp'] = "User CP";  Change..
Reply
#7
Solved: 6 Years, 5 Months ago
@sencer Solved!

Is there a "string search function" for the templates? Would save days!!!!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)