vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Quick Links ? (https://vborg.vbsupport.ru/showthread.php?t=175502)

Gersfan 04-08-2008 09:21 AM

Quick Links ?
 
The dropdown for my User CP and Quck links arent working, WHen I click Quick LInks instead of a dropdown the links get added to the navbar...

Any Idea's on the coding why this is happening?

Thanks,

Lynne 04-08-2008 02:08 PM

You need to provide us with a test account since you can't see those links in the navbar without logging in.

Gersfan 04-08-2008 05:06 PM

Sorry Lynne, I forgot,

EDIT

Thanks

Lynne 04-08-2008 07:30 PM

Somewhere along this line, you took out this line of code:
Code:

<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script>
It would go after this line in your code:
Code:

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=368"></script></if>
But, note the </if> in your code. That isn't good. You've done something wrong it that is showing up.

Gersfan 04-09-2008 09:13 AM

Thanks for the reply but I'm a bit confussed, I never edited or removed anything..

Also I've just tried the code from another header template and it was the same, Javascript never worked...

Here's the code from my header...

EDIT...Removed as not needed

Lynne 04-09-2008 03:10 PM

That is not a default header template, but that isn't where to look for it anyway. Look in headinclude for this at the bottom:

HTML Code:

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

The line that has the if clause for showing popups. Is it there? If so, look in vboptions > Style & Language and see if Use 'vBMenu' DHTML Popup Menus? is set to Yes.

Gersfan 04-09-2008 07:07 PM

Popup Menus is set to yes..

I've checked the other file and I can't see it, This is the script thats at the bottom of it..

PHP Code:

<script type="text/javascript">
<!--
var 
SESSIONURL "$session[sessionurl_js]";
var 
IMGDIR_MISC "$stylevar[imgdir_misc]";
var 
vb_disable_ajax parseInt("$vboptions[disable_ajax]"10);
// -->
</script>

<
script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script></if>
<if 
condition="$vboptions['externalrss']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if 
condition="$show['foruminfo'] OR $show['threadinfo']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]/>
</if>
</if> 

Thanks,

Lynne 04-09-2008 07:37 PM

Since you are missing the part that is in the default template, perhaps you should try adding it in and see if it fixes things.

Gersfan 04-10-2008 07:18 AM

All working, Down to one line of code.

Thank you greatly,

Much Apperciated,


All times are GMT. The time now is 08:06 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.00955 seconds
  • Memory Usage 1,739KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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