vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding Quick Links menu to Forum Hump dropdown (https://vborg.vbsupport.ru/showthread.php?t=218412)

EyeintheSky57 07-11-2009 11:23 PM

Adding Quick Links menu to Forum Hump dropdown
 
Hi all,

Here is the situation...

My FORUM uses the "Cyb - Advanced Forum Statistics" mod. When a User turns this off, they get this message:

Quote:

To re-enable them use "Enable Top Statistics" option in "Quick Links" menu.
The problem is that we do not show a "Quick Links" menu... probably due to our custom template.

So, I was hoping to add a link to the FORUM JUMP menu... I just don't know how to format the link.

I got to the FORUMJUMP template and i even got "Quick Links" to show in the "JUMP" dropdown menu by cheating a little bit.

I just don't know how to format the link it self.

Here is what I used to get the text in there:

Code:

<option value="quick" $frmjmpsel[nojs_link]>$vbphrase[quick_links]</option>
I know this isn't right.

Can someone help me?:)

I am running v3.8.1 at www.gunclangaming.com/forums

Thanks in advance.

ranz 07-11-2009 11:33 PM

have a look in the navbar template and copy the code from there.

EyeintheSky57 07-12-2009 12:05 AM

Thanks for the response.

But, I am such a newbie that it just confused me more.

The links from the navbar template have "td class" and "if condition show$" text that i do not know what do do with. I tried copy/pasting both but couldn't get anything to happen.

Except now, I accidently got the default template to go live on my site....arrgghhh!

ranz 07-12-2009 12:42 AM

yes it can be a bit tricky if you're not familiar with the vBulletin template system. I find it OK if you think of it as mainly HTML with a bit of customised tagging.

In your situation, perhaps for now leave out the if conditions just to get it working. Give me a few minutes and I'll paste the code that you'll need to put in here.

ok so do a search for this in your navbar template:
Code:

<if condition="$show['member']">
                                <td class="vbmenu_control"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
                        </if>

if you have it - then you will have quick links on your navbar - if not paste it in there.

you may want to leave the if condition in - as it shows only when a user logs in.


All times are GMT. The time now is 06:18 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.01111 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete