The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Google Search (No AdSense)
Hello,
i have problem to show the google search results into my result page at my forum Code for Search Code:
<form action="{$vboptions['google_custom_search_resultsphppath']}" id="cse-search-box" target="_top"> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name=hl value="en" size="30"/> <input type="hidden" name=hl0 value="en" size="30"/> <input type="hidden" name=domains value="http://$vboptions[google_custom_search_sitelink]" size="30"/> <input type="hidden" name=domains0 value="http://$vboptions[google_custom_search_sitelink]" size="30"/> <input type="hidden" name="ie" value="UTF-8"/> <input type="hidden" name="oe" value="UTF-8"/> <div> <input type="text" class="bginput" name="q" size="25" maxlength="255"/> <input type="submit" class="button" name="en" value="$vbphrase[go]"/> </div> <if condition="$vbulletin->options['google_custom_search_defaultsearchtype'] == 'SEARCHTYPE_SITE'"> <input type="radio" name="sitesearch" value="http://$vboptions[google_custom_search_sitelink]" checked="checked"/>$vbphrase[google_custom_search_searchtypesite] <input type="radio" name="sitesearch" value=""/>$vbphrase[google_custom_search_searchtypeweb] </if> <if condition="$vbulletin->options['google_custom_search_defaultsearchtype'] == 'SEARCHTYPE_WEB'"> <input type="radio" name="sitesearch" value="http://$vboptions[google_custom_search_sitelink]"/>$vbphrase[google_custom_search_searchtypesite] <input type="radio" name="sitesearch" value="" checked="checked"/>$vbphrase[google_custom_search_searchtypeweb] </if> </td> </tr> </form> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[google_custom_search_results]</td> </tr> <tr align="center"> <td class="alt1" align="center" valign="top"> <div style="padding:5px 5px 5px 5px"> <div id="cse-search-results"></div> <script type="text/javascript"> var googleSearchIframeName = "cse-search-results"; var googleSearchFormName = "cse-search-box"; var googleSearchFrameWidth = "{$vboptions['google_custom_search_resultsframewidth']}"; var googleSearchDomain = "www.google.com"; var googleSearchPath = "/cse"; </script> <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script> </div> </td> </tr> </table> Thanks Giorgos |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|