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)

Hakaslak 09-04-2006 08:30 PM

Quote:

Originally Posted by Throtex
Hakaslak (and others):

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


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. :)

First thing I thought was - How did he find my site. Oh yeah. My sig. Did I put a link in there? I guess I did. Then I was like... wha...? Then I thought it was working when I installed. Now I'm sad.


Thank you very much for noticing!

Hakaslak 09-04-2006 08:32 PM

OH. I get it. I thought that the form that opens up the vb search was the ajax box that comes out. Didn't really think about it much. LMAO

SaN-DeeP 09-04-2006 09:24 PM

Is it possible to make a seperate search page and use the addon code there ?

Thanks.

Throtex 09-04-2006 09:25 PM

I didn't check your sig ... I just know these things! :ninja: j/k

Glad I could help! :D

Throtex 09-04-2006 09:27 PM

Quote:

Originally Posted by SaN-DeeP
Is it possible to make a seperate search page and use the addon code there ?

Thanks.

A separate page to put the search box in, or to put the results page in?

This is a separate page for the search results -- though if you don't want it integrated you can just follow Google's instructions.

As for the search box ... you can put that anywhere you want! Best is to make a template and call it using misc.php if you want it on its own page. (i.e., this function: https://vborg.vbsupport.ru/showthread.php?t=124749 )

jcodemasters 09-04-2006 09:28 PM

I will try this mod today. thanks

SaN-DeeP 09-04-2006 09:32 PM

Quote:

Originally Posted by Throtex
A separate page to put the search box in, or to put the results page in?

This is a separate page for the search results -- though if you don't want it integrated you can just follow Google's instructions.

As for the search box ... you can put that anywhere you want! Best is to make a template and call it using misc.php if you want it on its own page. (i.e., this function: https://vborg.vbsupport.ru/showthread.php?t=124749 )

thanks I was looking to add it on a seperate page :)

bchertov 09-05-2006 05:05 AM

Quote:

Originally Posted by Throtex
Not really any point I suppose ... though the ads that show up in the search results count for your AdSense payments. Plus you get one more bite at the apple to keep people on your site ... otherwise you'd send them directly to Google as soon as they run the search.

I just think it looks nice. :) I think this is a fairly recent offering by Google, so maybe more will be possible eventually. And of course, people are free to extend this in other ways.

Well actually now that I look at your demo, the real value is interating a the Google Search box into the VB Search dialog. The fact that the results come back inside of VB is just a nice touch! :up:

In fact this will help me design my new skin! I'll install when I move to 3.6

Thanks!
Barry

djwins 09-06-2006 09:21 AM

has anyone tried with 3.5 yet?

MarkoXaser 09-06-2006 03:06 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 ?


hi, i'm an italian boy excuse me for the english..

i have the same problem.....what can i do now?


All times are GMT. The time now is 03:55 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.01031 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)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