Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2009, 10:13 PM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 08-18-2009, 04:45 AM
akrepyusuf akrepyusuf is offline
 
Join Date: Aug 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #3  
Old 08-18-2009, 11:08 AM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akrepyusuf View Post
thank you

lol, I was asking a question and not giving a soloution
Reply With Quote
  #4  
Old 08-18-2009, 11:32 AM
Zaki Shafqat Zaki Shafqat is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akrepyusuf View Post
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
Reply With Quote
  #5  
Old 08-18-2009, 10:30 PM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zaki Shafqat View Post
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.
Reply With Quote
  #6  
Old 08-18-2009, 11:23 PM
Zaki Shafqat Zaki Shafqat is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I really loved, i am running a forum but so far haven't started making a site and its just awesome
Reply With Quote
  #7  
Old 08-19-2009, 07:09 AM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zaki Shafqat View Post
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

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07591 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete