Quote:
Originally Posted by davidw
That's weird - as I have it working as such on my own site and it displays results.
Edit - try reverting your adv_portal_ template if you used the 1.4 version.
|
Sorry David, lost me on that one :erm:
I started from scratch on the VBA module and followed these steps:
Quote:
Step 5:
Go to Admincp => vBA CMPS => Default Settings => Under Options Portal Output Global Variables
Add (or make sure they are present) these varaiables:
template_hook
google_navadsearch
google_label_site
google_label_web
homeurl
Step 6:
Click on Edit Modules. Click on Search Forums (module).
Under Module Tools, find Select Action (very top) and choose Copy.
In your new (copy) of the Search Forums Module, change the name of your module to whatever you want (I chose "Search").
Under the Template Module Options heading, edit the adv_portal_ area.
Change it from search to search_google
Next,
Under Module Shell Template Options, in the Form Code box,
Change
Code:
<form action="{$vbulletin->options[bburl]}/search.php" method="post" name="search"> <input name="s" type="hidden" value="" /> <input name="do" type="hidden"
value="process" /> <input name="sortby" type="hidden" value="lastpost" /> <input name="forumchoice" type="hidden" value="0" />
To
Code:
<form method="get" action="http://www.yoursite.com/searchresults.php" type="hidden" name="search" target="_blank">
Make sure this URL is the correct full path to your searchresults.php file.
|