PDA

View Full Version : Mini Mods - Navbar add-on's


Dark_D
04-13-2007, 10:00 PM
This code is for a drop down menu coded for "RSS Feed Links" in the navbar with it's own navbar cell and a search box with radio buttons with the choose of Google and your own site.

Normally for vBulletin, you would place code in a few different places throughout the navbar template code for a drop down menu. I was able to condense all of the code into one block. It makes keeping track of, reading and debugging the code a lot easier to do.


You will have to do the following:
1) RSS feed features activated in "External Data Provider".
2) Add the Rss-Icon.png image to your "/forum/images/" directory.
3) Add your site address of your RSS Feed where "YOUR SITE RSS" is.
4) Add your site address where "YOUR SITE" is.
5) Add your site address for the search engine box code where "YOUR SITE engine" is. Do not add the "http://www.", only "sitename.something".


In Navbar template locate:
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->



Put code as indicated below:
<!-- / login form -->

</td>

</if>

</tr>
Place Navbar add-on code here.
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->


Navbar add-on code:
<tr> <td class="alt1" width="72.5%" > <div class="navbar" style="font-size:10pt">
<a class="alt1" id="rssmenu" class="vbmenu_control"><font color= #0000A0>RSS Feed links:</font></a><script type="text/javascript">
vbmenu_register("rssmenu");
</script>

<div class="vbmenu_popup" id="rssmenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr>
<td class="vbmenu_option">
<a
href="http://www.YOUR SITE" target="_new"><img src="/forum/images/Rss-Icon.png" align=middle border="0" alt="YOUR SITE RSS Feed"/> </a></td></tr>

<td class="vbmenu_option" >
<a href="http://fusion.google.com/add?feedurl=http%3A//www.YOUR SITE RSS" target="_new"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104" height="17" border="0" align=middle alt="Add to Google"/></a></td></tr>

<td class="vbmenu_option" >
<a href="http://add.my.yahoo.com/content?.intl=us&url=http%3A//www.YOUR SITE RSS" target="_new"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" width="91" height="17" border="0" align=middle alt="Add to My Yahoo!"/></a></td></tr>

<td class="vbmenu_option" >
<a
href="http://www.live.com/?add=http://www.YOUR SITE RSS" target="_new"><img src="http://www.updatexp.com/image-files/addtolive.gif" align=middle alt="Add rss feed to live.com" border="0" /></a></td></tr>

<td class="vbmenu_option" >
<a
href="http://my.msn.com/addtomymsn.armx?id=rss&ut=http://www.YOUR SITE RSS&ru=http://www.YOUR SITE" target="_new"><img src="http://sc.msn.com/44/G,UCH%7BZBSS3%7BOS%7BSE469LG.gif" border=0 align=middle alt="Add to My MSN"></a> </td></tr>

<td class="vbmenu_option" >
<a href="http://feeds.my.aol.com/?url=http%3A//www.YOUR SITE" target="_new"><img src="http://feeds.my.aol.com/html/vis/myaol_cta1.gif" align=middle alt="Add to My AOL" border="0"/></a></td></tr>
</td></tr></table></div></div></td>

<td class="alt1" align="right"><div class="navbar" style="font-size:10pt"><form action="http://www.google.com/search" target="_new" method="get" >
<input type="text" name="q" size="20"
maxlength="255" value="" />
<input type="submit" value="Search" />
<br>
<input type="radio" name="sitesearch" value=""/>Google
<input type="radio" name="sitesearch"
value="YOUR SITE engine" checked />YOUR SITE<br />
</form></div>
</td>
</tr>

rjmjr69
04-14-2007, 04:15 AM
hhhhhmmmm Nice idea reserved

Coux
04-14-2007, 04:29 AM
hhhhhmmmm Nice idea reserved

ditto

blogtorank
04-14-2007, 04:32 AM
Nice hack installing!

Dark_D
04-14-2007, 04:40 AM
hhhhhmmmm Nice idea reserved

ditto

You guys should speak your mind's, I'd like to hear what you may be thinking.


Nice hack installing!

Thanks for doing the install thing.

MaestroX
04-14-2007, 08:03 AM
Nice one, a good addition :)

Mr. Brian
04-14-2007, 11:31 AM
Looks more like a template mod rather then a hack. ;)

puertoblack2003
04-14-2007, 11:58 AM
installed ..nice addition as well and neat ;)

Dark_D
04-14-2007, 04:20 PM
Looks more like a template mod rather then a hack. ;)

I put it as an add-on because it uses functions that are outside of your site like google's search engine.
To me template mods only alter appearance and do no processing of data, like my "Dark User legend" in the template section.

FleaBag
04-14-2007, 10:18 PM
Lovely hack! Thank you.

Dark_D
04-25-2007, 11:32 PM
I haven't figured out yet, but using the search engine feature like this hack does, may improve your stat with that serch engine........By hitting the search engine through your site?
Anyone know more about that kind of thing?

barnold
04-25-2007, 11:55 PM
I was just looking at doing this manually, then saw yours! Installed!