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)
-   -   Add-On Releases - GTSearch: Google? Custom Search Engine (https://vborg.vbsupport.ru/showthread.php?t=162072)

fredang85 04-05-2008 04:59 AM

well I've got the same problem I think, but no one is helping me yet.

creativepart 04-05-2008 03:12 PM

FOUND THE ANSWER --- SOLVED!!

The code supplied by Google is missing a line and when you add this line to the Search Box code it makes everything work again:

Code:

<input type="hidden" name="cof" value="FORID:11" />
Simply add that line to your Search Box code before the javascript.

By the way FORID is the ad placement and 11 is top and bottom and 10 is top and right. I think 9 is top only but you'd have to test that.

I changed mine to FORID:10 and the ads are now Top and Right.

I'm not sure why some people need this and some people don't, but this worked. I found the answer in the Google CSE Forum buried deep in the older posts.

Skavenger 04-05-2008 05:19 PM

Quote:

Originally Posted by creativepart (Post 1483639)
FOUND THE ANSWER --- SOLVED!!

The code supplied by Google is missing a line and when you add this line to the Search Box code it makes everything work again:

Code:

<input type="hidden" name="cof" value="FORID:11" />
Simply add that line to your Search Box code before the javascript.

By the way FORID is the ad placement and 11 is top and bottom and 10 is top and right. I think 9 is top only but you'd have to test that.

I changed mine to FORID:10 and the ads are now Top and Right.

I'm not sure why some people need this and some people don't, but this worked. I found the answer in the Google CSE Forum buried deep in the older posts.

thanks, that worked for me =)

Quote:

Originally Posted by Custom Search Help Center
You can alter the ad position by using the controls in the code section of the control panel; or, you can edit the HTML search form directly. Change value="FORID:#" to FORID:9 for ads on the right, FORID:10 for ads on the top and right, or FORID:11 for ads on the top and bottom.


Wired1 04-25-2008 11:58 PM

FYI Princeton, because the pics in your instructions here are hosted on YOUR site (which apparently needs a login), and not in the thread itself, it's popping up login requests when you load the page, as well as not displaying said pics (of course).

Princeton 04-26-2008 02:51 PM

Quote:

FYI Princeton, because the pics in your instructions here are hosted on YOUR site (which apparently needs a login), and not in the thread itself, it's popping up login requests when you load the page, as well as not displaying said pics (of course).
thanks - updated the image urls

BuRaCh 04-26-2008 06:20 PM

very good work Princeton
thanks..

edit;
i want result see at myself page.
when make?

reverse1312 05-05-2008 04:52 PM

Very nice and normally useful hack !

I could not make it work properly inside vbulletin.

I'm with vb 3.6.5,
Created a CSE in Google
Paste the codes

the gtsearch.php page works ok when it's called directly. :-) (http://www.mysite/forums/gtsearch.php)

But the fonction inside the search button in vB does not make any result...

"try to be more specific..." and so on.

What did I miss ?

Thank you

creativepart 05-05-2008 05:09 PM

Quote:

Originally Posted by reverse1312 (Post 1509477)
Very nice and normally useful hack !

I could not make it work properly inside vbulletin.

Did you read my post just up the page? Try it.

https://vborg.vbsupport.ru/showpost....&postcount=212

reverse1312 05-05-2008 06:02 PM

Thanks for answering

Yes I saw your post and have checked my code this line is here allright and though it does not work...

Any other idea ? :confused:

Traxdata 05-07-2008 07:17 AM

Installed! Works great on 3.7. Gold.
Thank you very much!


All times are GMT. The time now is 09:12 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.01725 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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