Log in

View Full Version : Mini Mods - Add buttons your on navbar


adigaorg
03-30-2010, 10:00 PM
With this plug-in You can add the buttons in the drop-down list in the Navbar easily

install

1 create new plug-in and select:

Product : vBulletin
Hook Location : process_templates_complete
Title : Navbar Tab Drop Down
Execution Order : 5
Plugin PHP Code : download code from attachment add copy and paste<br>

you can change $allowguests from 'true' to 'false' if you do NOT want guests to see the menu

for links change Site Links and http://site1.com and Link 1 ect...

stl7997
03-31-2010, 01:00 AM
Pretty straight forward. Works great! Thanks!

JAFRI
03-31-2010, 04:06 AM
Thanks, nice job.

starman?
03-31-2010, 04:59 PM
Any screen-shots available?

Dr.osamA
04-03-2010, 01:46 AM
nice job

installed

shuett
04-06-2010, 05:44 AM
Works great, thanks so much.

Demo here:
http://www.tasmaniaforums.com.au

Micaiah
04-14-2010, 04:43 PM
just what i was looking for thank you :D

GamerPerfection
04-19-2010, 06:27 PM
This looks fine in FF and in IE 8, but not in IE 8 when in Compatability Mode.

dprice
08-04-2010, 12:18 AM
Great mod! Thanks! So if I wanted to create a separate button for each "link", how would I modify the code?

COL NIL SATIS
08-04-2010, 11:55 AM
tagged

Michlerish
08-20-2010, 07:29 AM
Thanks! This is great.

pportuese
09-23-2010, 04:32 PM
Where do I add this code?

Krusty1231
09-29-2010, 09:26 AM
installed. Thanks

mondiuk
10-08-2010, 11:34 PM
work's good on 4.0.7 aswell.

thank's

ravehistory
10-09-2010, 11:17 PM
i have had my internet techie guy install this and its on my site but cant see where to edit it - it just says links 1-7, where do i find settings option please ?

clubvr4
10-10-2010, 09:01 AM
They were in the file, you have to go to the hook and edit it there mate.

ravehistory
10-10-2010, 03:50 PM
wicked thanks mate - appreciated. one other question - if I use this mod for external web sites can i alter the mod so it opens links in another window ?

ARandomOWl
10-12-2010, 10:14 PM
wicked thanks mate - appreciated. one other question - if I use this mod for external web sites can i alter the mod so it opens links in another window ?

Change

<a href="http://site1.com' . $adiga . '">Link 1</a>

to

<a href="http://site1.com' . $adiga .'" target="_blank">Link 1</a>

Guest191216
10-13-2010, 07:34 PM
Installed it on 4.0.7CMS w/o a problem
txs
khb

cassiejane
10-16-2010, 06:16 AM
This is brilliant. Man, it solves quite a bit of headache that I was having with adding options to the navbar... lol.

My only question is... Can I install this more than once? In other words, if I wanted to have two different buttons with separate dropdown menus, do I have to install this plugin twice? And what variables do I need to change so it recognizes that it's a separate button?

Cicada
10-19-2010, 09:23 PM
bookmarking this for later. thanks!

paulnicholson
10-25-2010, 06:15 PM
http://www.theatrenetwork.co.nz/attachments/dropdownmenu-mod-on-firefox-screenshot-2010-10-26.png

Firefox works over the top of flash.

http://www.theatrenetwork.co.nz/attachments/dropdownmenu-mod-on-ie8-screenshot-2010-10-26.png

IE8 doesn't.

How can I fix this?

paulnicholson
10-25-2010, 06:24 PM
The problem occurs in Google Chrome as well.

paulnicholson
10-25-2010, 07:48 PM
Solution: http://www.twistermc.com/790/fix-flash-vs-css-drop-down-menus/

Here's the code for my flash ad in ACP>Advertising>Add new ad>Global>Below navbar

<html>

<body>

<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,40,0"

width="728" height="90"
id="mymoviename">

<param name="wmode" value="transparent">

<param name="movie"

value="http://www.theatrenetwork.co.nz/images/ads/flashvortex - advertise here 2010-10-22.swf" />

<param name="quality" value="high" />

<param name="bgcolor" value="#ffffff" />

<embed src="http://www.theatrenetwork.co.nz/images/ads/flashvortex - advertise here 2010-10-22.swf" quality="high" bgcolor="#ffffff"

width="728" height="90"

name="mymoviename" align="" type="application/x-shockwave-flash"

wmode="transparent"

pluginspage="http://www.macromedia.com/go/getflashplayer">


</embed>

</object></center>

</body>

</html>

I made my swf ad in one minute here: www.vortex.com.

yahooooh
11-22-2010, 08:05 AM
thank you very much
installed

rmcdaniels
11-25-2010, 08:46 PM
This is perfect, thanks.

mattcaswell
12-14-2010, 03:05 AM
Doesn't work in 4.1.. any ideas?

Catostylus
12-22-2010, 12:27 AM
Doesn't work in 4.1.. any ideas?

Working fine for me in 4.1.0 PL2.

FizziksGuy
01-12-2011, 10:39 AM
Seems to have issues in 4.1.1, but works fine in 4.1.0 PL2. I get the following code... any ideas? Thanks!

Your Customized Value
<vb:if condition="!$vboptions['selectednavtab']">
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>

Old Default Value
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>

New Default Value
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
<li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a>

HUSSEINDAWOOD
03-20-2011, 07:23 PM
Installed .. Thank you.