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