Log in

View Full Version : VBulletin OR Google Search button integration


paintballer.ie
08-17-2009, 10:13 PM
Hey,

As some of you may know, the internal search in vb is not always the best. Google often delivers more relevant search results.

I am wondering if it is possible to have the option for a user to type their query into one text box, and then check a button for google search (default) or internal forum search.

At the moment, the two search functions are separate, but combining them would be handy. The code I have for my google custom search is:

<form action="http://www.paintballer.ie/site_search.php" id="cse-search-box">
<div>
<input type="text" name="q" size="20" />
<input type="hidden" name="cx" value="partner-pub-xxxxxxxxxxxxxx" />
<input type="hidden" name="cof" value="FORID:9" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="submit" name="sa" value="Search" />
</div>
</form>

I need to combine this with the standard vbulletin one.


I am sure that is it a simple edit, I am just not to familiar with it :)

akrepyusuf
08-18-2009, 04:45 AM
thank you

paintballer.ie
08-18-2009, 11:08 AM
thank you


lol, I was asking a question and not giving a soloution

Zaki Shafqat
08-18-2009, 11:32 AM
thank you

This is called a spammer in Vbulletin.org haha

Sorry no idea about your question but i believe Vbulletin search engine is better since it shares only your own skin and functions and google got its own page that looks weird to me

paintballer.ie
08-18-2009, 10:30 PM
This is called a spammer in Vbulletin.org haha

Sorry no idea about your question but i believe Vbulletin search engine is better since it shares only your own skin and functions and google got its own page that looks weird to me

Ah.... must be tired.... didnt notice the bot :)

I disagree on the google page that is weird. It is easy to customise ad it uses an iframe. Check out my site and try out the custom search bar up top I have just put in. The standard vbulletin search is also there.

Zaki Shafqat
08-18-2009, 11:23 PM
yeah you have used the great codings, i loved your website espacially the main page and forum is also great, any chance i can get some codes for your site? please

I want the coding of the front page so i just change the links and paste my own :D

I really loved, i am running a forum but so far haven't started making a site and its just awesome

paintballer.ie
08-19-2009, 07:09 AM
yeah you have used the great codings, i loved your website espacially the main page and forum is also great, any chance i can get some codes for your site? please

I want the coding of the front page so i just change the links and paste my own :D

I really loved, i am running a forum but so far haven't started making a site and its just awesome

cheers. Ask your questions in my critic thread to keep this on topic: https://vborg.vbsupport.ru/showthread.php?t=221173