vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - CFM: Google AdSense for Search Integration (https://vborg.vbsupport.ru/showthread.php?t=125721)

Bulent Tekcan 09-04-2006 04:05 PM

Please specify some words or valid user names to search on. There were no matches for those that you specified.

Everytime I received this message.Any idea ?

Throtex 09-04-2006 04:18 PM

Quote:

Originally Posted by Hakaslak
Ahhh..

Well, I guess if they use the Google box, it's etter them them heading straight to Google.

My only concern is how to make sure they dont confuse the Google ebox for the real search box. >_<

Well, it can sorta work as a search box for your site if you run the Google search on your domain ... but as far as confusing the users, I think the way it looks on my site shouldn't confuse people -- though I suppose there might be better ways to eliminate confusion.

Throtex 09-04-2006 04:18 PM

Quote:

Originally Posted by Bulent Tekcan
Please specify some words or valid user names to search on. There were no matches for those that you specified.

Everytime I received this message.Any idea ?

I haven't seen that before, sorry. :(

Bulent Tekcan 09-04-2006 04:38 PM

Your sites working without any problems.What is your navbar settings ? I think wrong code in my navbar.Everytime open search in forum.

Bulent Tekcan 09-04-2006 05:19 PM

Finaly works now....

But I cannot find adjust for results.Every pages 10 result...Is this by design ?

Throtex 09-04-2006 05:58 PM

Quote:

Originally Posted by Bulent Tekcan
Finaly works now....

But I cannot find adjust for results.Every pages 10 result...Is this by design ?

That wouldn't be affected by my code -- it should support any changes that Google allows. That said, I don't think I've seen a setting to change the number of results on a page. I agree, it would be useful to have greater or fewer results per page to conform better to individual sites.

My understanding is that the search result integration feature is a fairly new offering from Google, and there are still a few glitches (like the height of the results not following the settings specified in the code you have to paste into the Admin CP options.

Google themselves actually provided all the integration code (for a target page) ... I just made it easier to integrate it with vBulletin. Unfortunately, there's not much I can do on my end (and without violating Google's TOS) to make certain things look better.

But I do agree ... hopefully Google will keep adding features to this -- it's a very neat tool. :)

Throtex 09-04-2006 06:08 PM

Quote:

Originally Posted by Bulent Tekcan
Finaly works now....

But I cannot find adjust for results.Every pages 10 result...Is this by design ?

btw, don't forget to click install!

Throtex 09-04-2006 06:23 PM

Quote:

Originally Posted by Hakaslak
Ahhh..

Well, I guess if they use the Google box, it's etter them them heading straight to Google.

My only concern is how to make sure they dont confuse the Google ebox for the real search box. >_<

Hakaslak (and others):

Searching on your site causes a vBulletin error that reads, in relevant part:
Quote:

Please specify some words or valid user names to search on. There were no matches for those that you specified.
I think you may have used a search form integration hack from this site that is faulty. If you see this message, it should inform you that for some reason the data is being passed to vBulletin rather than to Google.

The typical culprit appears to be placing the Google search form code inside of the vBulletin search form code.

Hakaslak - in your page source, I see that you have a <form> tag to open the vBulletin search, then the <form> tag to open the Google search, then a </form> tag to end the Google search, followed by a </form> tag to close the vBulletin search.

These should NOT overlap, and I suspect that anyone experiencing this error is doing the same thing. Move the </form> tag for vBulletin up to before the Google search form, or move the Google search form down outside the </form> tag for the vBulletin form. When you're clicking the "Google Search" button, it is actually sending data to the vBulletin search, rather than my php file.

Hope this helps, but I do not intend to support the search box itself. :)

voteforbird 09-04-2006 08:05 PM

Can this product perhaps be modified to have a search bar on the results page…?

Throtex 09-04-2006 08:19 PM

Quote:

Originally Posted by voteforbird
Can this product perhaps be modified to have a search bar on the results page??

Hmm, don't see why not. Right above the search results?

I envision this:
- Admin CP option to turn on/off the search bar in results page
- Admin CP text entry box to enter the necessary code (it's customized per AdSense member) for the search bar.

That might work. I'm usually pretty busy (hence my unwillingness to formally offer support) (I'm currently at work supposedly "working" right now ;) ) but I can probably get to this. Great idea, btw!

If you can't wait for me to get to it, feel free to modify the template this product installs and simply add the search box code to the top of the template. I don't see why that wouldn't work. :)


All times are GMT. The time now is 11:47 AM.

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.01103 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete