Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2007, 06:02 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 11-09-2007, 07:47 PM
aeturner89 aeturner89 is offline
 
Join Date: Sep 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 11-09-2007, 11:09 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-10-2007, 05:48 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-11-2007, 02:18 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The information is located in the header file. Do a search for
Quote:
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
SVT
Reply With Quote
  #6  
Old 11-11-2007, 04:06 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-11-2007, 08:02 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #8  
Old 11-14-2007, 12:19 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #9  
Old 11-14-2007, 12:27 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #10  
Old 11-14-2007, 12:55 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks alot m8, I got it added

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:43 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.04036 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete