Log in

View Full Version : Miscellaneous Hacks - Non-Adsense Google site & web search for your navbar!


zefyx
04-17-2009, 10:00 PM
https://vborg.vbsupport.ru/external/2015/08/1.jpg

This was requested, I shall share it with the rest of you all as well.

Find:

<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>

Add below:

<tr>
<td class="thead">Search Site / Google</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="http://www.google.com/search" method="get" name="search">
<input type="hidden" name="forid" value="1"/>
<input type="hidden" name="ie" value="ISO-8859-1"/>
<input type="hidden" name="oe" value="ISO-8859-1"/>
<input type="hidden" name="cof" value="http://www.yoursite.com/forum/images/autosportnc-yellow/logo.gif;S:http://www.yoursite.com;FORID:1"/>
<input name="domains" type="hidden" value="yoursite.com"/>
<input type="hidden" name="hl" value="en"/>
<input type="text" class="bginput" name="q" size="25" maxlength="255"/>
<input type="submit" class="button" value="Go" /><br />
<input name="sitesearch" type="radio" value="http://www.yoursite.com/forum" checked="checked"/> YourSite.com<br />
<input name="sitesearch" type="radio" value=""/><a href="http://www.google.com/search"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"/></a>
</form>
</td>
</tr>

</table>
</div>


Change all instances of yoursite.com to your forum's URL & Enjoy!

Hornstar
04-18-2009, 02:30 PM
Thanks, since I dont have an adsense account this would be quite nice to use now. thanks.

Jasem
04-18-2009, 07:06 PM
Excellent work, this code will be installed in my forum

Thank you

zefyx
04-19-2009, 08:16 PM
Don't forget to click installed.

Seems that I was half-awake making this & it produced quite a few validation errors, I have updated the code for 100% XHTML validation.

tarzan22
05-03-2009, 11:17 AM
adsense account and searching from there?

Greetings

zefyx
05-06-2009, 05:24 PM
adsense account and searching from there?

Greetings

I'm not sure I follow. This search bar is for those who don't wish to force ad's on their users.

kronnos
05-11-2009, 10:36 AM
How would I make the changes to have the search results displayed on my website not google?

Phobos49
05-11-2009, 03:25 PM
What does this string do???

<input type="hidden" name="cof" value="http://www.yoursite.com/forum/images/autosportnc-yellow/logo.gif

multiplex
09-01-2009, 09:30 PM
i get a defect when the post thank you hack is already installed

the "find all thanked posts" link in the search navbar is removed and put below the navbar, everything below it is then stretched

SorentoUltimate
09-02-2009, 08:44 AM
How would I make the changes to have the search results displayed on my website not google?

i'm also interesting on that,

do you found any way to do that