The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Google search for 4.2.3
I have a template mod on my VBulletin 3.8.7 site and it is very popular. Due to PHP updates and etc, I am finally updating to 4.2.3.
Here is the code that I found somewhere hear years ago that is in my 3.8.7 Navbar. Does anybody have something similar for VBulletin 4? Code:
<!-- Start Search Google --> <form method="get" action="http://www.google.com/custom" target="google_window"> <tr> <td class="thead">Google Search</td> </tr> <tr><td class="vbmenu_option" title="nohilite"> <input type="hidden" name="domains" value="www.example.org"></input> <input type="text" name="q" size="31" maxlength="255" value=""></input> <input type="submit" name="sa" value="Google Search"></input> <table> <tr> <td> <input type="radio" name="sitesearch" value="" checked="checked"></input> <font size="-1" color="#000000">Web</font> </td> <td> <input type="radio" name="sitesearch" value="www.example.org"></input> <font size="-1" color="#000000">www.example.org </td> </tr> </table> <input type="hidden" name="client" value="pub-1134398399274804"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="channel" value="6437042346"></input> <input type="hidden" name="ie" value="ISO-8859-1"></input> <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#006699;GL:1;DIV:#6C82B5;VLC:32527A;AH:center;BGC:E6E6E6;LBGC:003366;ALC:0066CC;LC:0066CC;T:000000;GFNT:66B5FF;GIMP:66B5FF;LH:50;LW:51;L:http://www.mkpitstop.com/images/directory.gif;S:http://www.mkpitstop.co.uk;FORID:1;"></input> <input type="hidden" name="hl" value="en"></input> </td></tr> </form> <!-- END Search Google --> |
#2
|
||||
|
||||
|
#3
|
|||
|
|||
Thanks. Will look at it tonight. I assume it allows you to Google Search only the site as the other one did?
|
#4
|
|||
|
|||
OK, I installed this and got my ID from Google. I don't fully understand how it works though. There no Google box. Do I need to create that?
Never mind. I understand. Just didn't read it very well. going to try it now. |
#5
|
|||
|
|||
The original code you posted should pretty much work on vB4, it'll probably just need a few styling tweaks.
|
#6
|
|||
|
|||
I'll look at it again. This one works but I don't like the way it opens a new window and then the forum again if you select something.
I tried mine quickly and it returned no results. Haven't given up though. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|