Quote:
Originally Posted by davidw
Let me see what I can do
temporarily try this...
change the vba template from
Code:
<tr>
<td class="$bgclass">
<input name="q" type="text" size="21" maxlength="255" value=""><br>
<input name="sitesearch" type="radio" value="www.yourwebsite.com" checked> Yourwebsite<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> $gobutton
<div class="smallfont">» <a href="$vboptions[bburl]/search.php?">$vbphrase[advanced_search]</a></div>
</td>
</tr>
to
Code:
<tr>
<td class="$bgclass">
<table border="0">
<tr>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="{$vboptions['homeurl']}"></input>
<input type="text" name="q" size="21" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Go"></input>
</td>
</tr>
<tr>
<td nowrap="nowrap">
<table border="0">
<tr>
<td>
<input type="radio" name="sitesearch" value="{$vboptions['homeurl']}" checked id="ss1"></input>
<label for="ss1" title="Search {$vboptions['homeurl']}">{$vboptions['google_label_site']}</label>
</td>
</tr>
<tr>
<td>
<input type="radio" name="sitesearch" value="" id="ss0"></input>
<label for="ss0" title="Search the Web">{$vboptions['google_label_web']}</label>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div class="smallfont">» <a href="$vboptions[bburl]/search.php?">$vbphrase[advanced_search]</a></div>
</td>
</tr>
and [from step 3 of the adsense.txt file] change
Code:
<form action="http://www.google.com/custom" type="hidden" method=GET name="search"> <input type="hidden" name="client" value="pub-0123456789012345"> <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 name="cof" type="hidden" value="GALT:# . . .;"> <input name="domains" type="hidden" value="www.yourdomain.com"> <input type="hidden" name="hl" value="en">
to
Code:
<form method="get" action="{$vboptions['google_forum_path']}" target="_top"><input type="hidden" name="client" value="{$vboptions['google_pub']}"><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="{$vboptions['google_cof']}"><input type="hidden" name="hl" value="en">
This should technically work, but I've not tested it
Remember make a backup of what you have before changing anything. Of course, you will also need to add any variables to the admincp just like in this post. https://vborg.vbsupport.ru/showpost....7&postcount=93
|
Thanks for that, I gave it a go but it threw up loads of errors. Not sure if this was caused by me not adding:
Quote:
you will also need to add any variables to the admincp
|
as I wasnt sure what I needed to add. Also where does the pub code go?
Was a little bit confused. Thanks anyway
Dave