PDA

View Full Version : How To Add To Quicklinks Menu?


ScottRowan
11-09-2007, 06:02 PM
Hi,

I installed a mod and ive no more space for buttons so I need to add some links into Quicklinks so how can I do this?

What template do I go into etc?

Thanks,

Rowan

aeturner89
11-09-2007, 07:47 PM
First you find the Navigation and bread crumb templates and edit the navbar template then search for quick links and you can add links where you want.

Alternatively, you can make a new custom drop down menu like quick links from scratch and put links you want there. You can figure out how to do that here:
http://www.vbulletin.com/forum/showthread.php?t=224641

SVTCobraLTD
11-09-2007, 11:09 PM
It is either in the navbar or header. I just edited it today and it was one of those two. I think header though.

SVT

ScottRowan
11-10-2007, 05:48 PM
Ok I searched the "navbar" template, searched for quicklinks and quick but nothing is finding in that template.

Can you be a bit more specific please?

Also I checked header and in that I found quicklinks and this is the coding I got:
<a id="usercptools" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/skin/menu_quicklinks.gif" alt="$vbphrase[quick_links]" /></a>

Only thing is it doesnt seem to have a bit to edit/add etc

Thanks

SVTCobraLTD
11-11-2007, 02:18 PM
The information is located in the header file. Do a search for
<tr><td class="thead">$vbphrase[quick_links]</td></tr>

SVT

King Kovifor
11-11-2007, 04:06 PM
Their is a call to the actual drop down menu (the HTML code you provided is the actual call), and an HTML table that includes all the links that you will see. If you do a search for "usercptools_menu" you will find the actual table with the links. By default, the usercptools_menu is only located within the navbar template.

Eq4bits
11-11-2007, 08:02 PM
I've made most of the links in my navbar dropdowns.
For example to make 'Members' a dropdown:
in navbar template
First add a 'set up':
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<!-- Setup for Member menu in navbar -->
<td id="members"
class="vbmenu_control">
<a href="$show[nojs_link]#members">Members</a>
<script type="text/javascript"> vbmenu_register("members"); </script></td>
<!-- / Setup for Member menu in navbar -->[/code]
then further down in the template FIND:[code]<!-- / user cp tools menu -->
</if>
add AFTER that: <!-- Drop down for menu Member in navbar -->
<div class="vbmenu_popup"()
id="members_menu" style="display:none">
<table cellpadding="4" cellspacing="1"
border="0">
<tr><td
class="thead">Members</td></tr>
<tr><td class="vbmenu_option">
<a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list] </a></td></tr>
<tr><td class="vbmenu_option">
<a href="userpage.php?do=list">Members Pages</a></td></tr>
<tr><td class="vbmenu_option">
<a href="blog.php">Member Blogs</a></td></tr>
<tr><td class="vbmenu_option">
<a href="vbgooglemapme.php">$vbphrase[vbgooglemapme]</a></td></tr>
<tr><td class="vbmenu_option">
<a href="quiz.php?$session[sessionurl]">Quiz</a></td></tr>
</table>
</div>
<!-- / Drop down for menu Member in navbar -->

ScottRowan
11-14-2007, 12:19 PM
Ok sorry for late reply, but I opened "header" and I searched:
<tr><td class="thead">$vbphrase[quick_links]</td></tr>

But its not finding it :(

I did find this though:
<a id="usercptools" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/skin/menu_quicklinks.gif" alt="$vbphrase[quick_links]" /></a>

How would I add into the list /casino.php

Can someone please help, I dont wanna advertise but im using a professional custom template incase that helps:
http://www.hazardforum.co.uk

Please someone help me get the /casino.php added into Quicklinks so that I can release this mod to my members.

:)

Eq4bits
11-14-2007, 12:27 PM
It's not the 'Header' template, its the navbar template (you have to 'expand' the Navigation/Breadcrumb section to find it).

--------------- Added 14 Nov 2007 at 08:42 ---------------

After you open the navbar template
FIND:
<!-- user cp tools menu -->then locate 'where' you want the link to appear (before or after which other link in the dropdown. For example if you want it to be in the first 'section' and AFTER 'Today's Posts' (since I don't know what's in your Quick LInks dropdown already) you would then FIND:
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>and then right below it ADD:
<tr>
<td class="vbmenu_option"><a href="http://www.path-to-your-file/casino.php">Casino</a></td>
</tr>

ScottRowan
11-14-2007, 12:55 PM
Thanks alot m8, I got it added

:)

SVTCobraLTD
12-09-2007, 11:53 PM
Must be because I have a template mod on my site. All my information for qlinks is in the header file.

SVT