vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VBulletin OR Google Search button integration (https://vborg.vbsupport.ru/showthread.php?t=221131)

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

VBulletin OR Google Search button integration
 
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:

Code:

<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

Quote:

Originally Posted by akrepyusuf (Post 1869565)
thank you


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

Zaki Shafqat 08-18-2009 11:32 AM

Quote:

Originally Posted by akrepyusuf (Post 1869565)
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

Quote:

Originally Posted by Zaki Shafqat (Post 1869717)
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

Quote:

Originally Posted by Zaki Shafqat (Post 1870147)
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


All times are GMT. The time now is 05:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01112 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete