The Arcive of vBulletin Modifications Site. |
|
Google Search In Navbar Details »»
|
|||||||||||||||||||||||||||||
/*================================================= =====================*\
|| ################################################## ################## || || # Google Search In Navbar || # Version 1.00 || # Author: Warden || # This mod may only be used from vbulletin.org || # DO NOT display this mod on any other modification site without my permission || # You can alter this code and re-display it here on vbulletin.org || ################################################## ################## || \*================================================ ======================*/ Description: This mod adds the Google Search to your navbar. Install: Less than 1 minute. Instructions: 1. Go to www.google.com/adsense and click on Adsense For Search and create a Search for your site. All you will need is your PUB ID and your site URL. 2. Find: Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> Code:
<!-- Google Search ------------------>
<td class="alt2">
<DIV ALIGN=RIGHT>
<form action="YOUR SITE HERE" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-PUB ID HERE:afpnnc-ej87" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="50" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</DIV>
</td>
<!-- Google Search ------------------>
Code:
<div id="cse-search-results"></div> <script type="text/javascript"> var googleSearchIframeName = "cse-search-results"; var googleSearchFormName = "cse-search-box"; var googleSearchFrameWidth = 800; var googleSearchDomain = "www.google.com"; var googleSearchPath = "/cse"; </script> <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script> Enter your PUB ID where it says "PUB ID HERE" in the code (red code). Click Save and all Done. Refresh. If you want support, click INSTALL! Download Now
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
nice
|
|
#3
|
||||
|
||||
|
Just look on demo but works not ... write some and click on seach ... nothing hapend- get your homepage again
reg macc |
|
#4
|
||||
|
||||
|
Thanks for letting me know. I will fix it when I get home later.
|
|
#5
|
|||
|
|||
|
same here too changed everything as above
|
|
#6
|
|||
|
|||
|
this looks like a good mod. does anybody know if it works??
|
|
#7
|
|||
|
|||
|
as above m8 only goes back to main page when search entered,still waiting for reply and solution
|
|
#8
|
|||
|
|||
|
when they use the google search to search on ur forum only? do you get paid?
|
|
#9
|
||||
|
||||
|
Updated. Sorry guys. Had a lot of stuff to do.
|
|
#10
|
|||
|
|||
|
no problem and thanks
|
![]() |
|
|