Add Links to "Menu" Drop Down

lkavadas

New Member
vbtubepro.jpg


As you can see I'd like to insert a link for vbTubePRO directly under "Pictures & Albums".

I have no idea what template to alter. I just need to insert that one link and the URL for it is:

<-- LINK REMOVED -->

Any help would be greatly appreciated. I've been trying to figure this out for ages.

One last question. Will this update under the "Networking" header in the UserCP vertical menu as well or do I need to alter a second template for that?
 
Ok so i'm assuming you want the link under the networking bit in the quiklinks dd rather then just stuck on the end of the QL dd...

In navbar template find:
HTML:
$template_hook[navbar_quick_links_menu_pos3]

and add this above:
HTML:
<tr><td class="vbmenu_option"><a href="YOUR LINK">LINK TITLE </a></td></tr>

change YOUR LINK with yes you guessed it your link
and change LINK TITLE....I think you get it.....lol

as to the usercp link

in the USERCP_SHELL template Find:
HTML:
<if condition="$show['albumlink']">
	<tr><td class="$navclass[album]" nowrap="nowrap"><a class="smallfont" href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
	</if>

add this below:
HTML:
<tr><td nowrap="nowrap"><a class="smallfont" href="YOUR LINK">LINK TITLE</a></td></tr>

again change YOUR LINK and LINK TITLE
 
I see you have vbTube installed. I'm trying to install it on my localhost but I can't figure out how to fix the permissions problem. I can't access the vbtube.php because it's saying I don't have access.
 
Thankys Hoxxy!

bloodline: Yeah, you have to go to the UserGroup perms and set them for every group (including administrators and moderators). WHen you install it every group is set to no permission at all by default.
 
Back
Top