vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How To Add To Quicklinks Menu? (https://vborg.vbsupport.ru/showthread.php?t=162297)

ScottRowan 11-09-2007 06:02 PM

How To Add To Quicklinks Menu?
 
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:
Code:

<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
Quote:

<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':
[code]<!-- 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:
Code:

<!-- 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:
Code:

<!-- 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:
Code:

<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:
Code:

<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

:)


All times are GMT. The time now is 12:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01083 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete