![]() |
Need another set of eyes please!
I'm trying to add some links to the drop down UserCP menu in the navbar.
I've added the following in two places in the navbar template: Code:
<tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]do=addalbum">$vbphrase[add_album]</a></td></tr> Any ideas? |
Please post your navbar template.
|
Absolutely!
Code:
<div class="navbar"> |
You don't actually have any User CP dropdown code in there...
|
I'm confused then.
I make the changes in there and they show up (well kind of). If I didn't have any drop down code in there, then how would they show up? I've disabled all plug-ins, and this same drop down shows up, with the blank spaces for my modifications. In a stock version of vBulletin 3.7.2, if I wanted to add this code, I would add it to this template, correct? Some observations while trying to mess with this: The link to add an album in this drop down, only shows up if I'm already in the UserCP. The link to check my downloads only shows up if I'm in the downloads section. If I could figure out what code to add to show these two links at all times, then I think it would solve it. |
You have a custom style, on the default style, you would edit the navbar template to add links to navbar dropdowns, add links, etc.
|
Strange - I'm using hte stock vbulletin skin, just changed the colors and buttons some.
Any ideas why the links I'm trying to add will show up when they do and not at other times? is it related? |
1 Attachment(s)
So I reverted back to the original version of the template. No drop down.
Then I slowly added in the various changes I have and see where the drop down came to be: Code:
<td id="usercpoptions" class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a> So, it's not a custom style, or anything. I just can't figure out why I can't get these two links to show up all the time. They are only showing up some of the time. I've attached 3 images. no_links shows up when you're just about anywhere in the forum. Go to the userCP page and album_link is what you see. If you go to the downloads page, files_link is what you see. Somehow, it's like there's a conditional going on....I just can't figure it out! |
The phrases u are trying to use are not global phrases. With custom phrases from mods u can search for them in the phrase manager and make them global. You may need to be in debug mode to do this,
|
That would explain the issue! Thanks!
hrmmm - is there an article on how to make a phrase global? |
Thanks for the help everyone! This thread helped me solve this issue. I installed this mod: https://vborg.vbsupport.ru/showthread.php?t=130212
So I could easily enable debug mode in the future and I changed those phrases to Global and it all works now! Much appreciated! |
Quote:
I hate to be bringing this back up...but for some reason, the Add Album phrase isn't showing up any more unless you are in the albums page...which tells me it some how has been changed from being Global. How would this happen? I've gone into the phrases and I can see where I have one 'add_album' phrase under 'User Tools (global)' and another under 'Albums Phrases'. So it's listed as a global phrase....now I can't remember how to set it as global...even though I currently have debug mode enabled. Any guidance would be greatly appreciated! |
All times are GMT. The time now is 10:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|