PDA

View Full Version : Quick Links ?


Gersfan
04-08-2008, 09:21 AM
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:
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script>

It would go after this line in your 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:

<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..

<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,