The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Move Admin/Mod CP links to Header?
Is it complicated to move the Admin/Mod CP links from the footer to the Header where UserCP, FAQ, Log out etc are?
|
#2
|
|||
|
|||
No, all it requires is a simple template edit.
|
#3
|
|||
|
|||
Elaborate please.
|
#4
|
|||
|
|||
In the template navbar, find:
Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> Code:
<if condition="$show['admincplink']"><td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a></td></if> <if condition="$show['modcplink']"><td class="vbmenu_control"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a></td></if> |
#5
|
|||
|
|||
Cool, thanks.
How can I change it so they read 'AdminCP' & 'ModCP' instead of just Admin & Mod? |
#6
|
|||
|
|||
Edit the phrase admin and change the text to "AdminCP" instead of just "Admin." Do the same for mod.
|
#7
|
|||
|
|||
I tried that and it doesn't work. The Admin & Mod links just vanish unless you reset the phrase name.
|
#8
|
|||
|
|||
I think you edited the code I gave you. What I meant was that you go into the Phrase Manager and edit it.
Do this: Admin CP -> Languages & Phrases -> Search in Phrases -> Type "admin" and check "Phrase Variable Name Only," then hit "Find" The phrase you're looking for will be under "GLOBAL Phrases Containing 'admin'." (The red text will just show the word Admin) Click on the "Edit" button to the right of this phrase, and change the text to "AdminCP." Repeat this process for mod. |
#9
|
|||
|
|||
Ah yes, that's solved it. I'm still very much a vBulletin newbie you see. ^^;
Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|