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)

Thierry Martin 12-27-2007 09:41 PM

Big problem - my headers, footers have adsense in them so the php page creates a results page that violates the google policies. What can I do?

LanciaStratos 12-27-2007 09:59 PM

Thierry, just add the following conditional around your Adsense code and it won't display on your GTSearch pages:

Code:

<if condition="THIS_SCRIPT == 'gtsearch'">
  adsense code
</if>


Thierry Martin 12-28-2007 02:23 AM

Quote:

Originally Posted by LanciaStratos (Post 1410369)
Thierry, just add the following conditional around your Adsense code and it won't display on your GTSearch pages:

Code:

<if condition="THIS_SCRIPT == 'gtsearch'">
  adsense code
</if>


Could I enter code that would display something else on those blocks?

Thierry Martin 12-31-2007 01:42 AM

installed it and some old video.google posts become black

http://www.onlinetradersforum.com/sh...ad.php?t=12381

Thierry Martin 12-31-2007 10:54 PM

Quote:

Originally Posted by Thierry Martin (Post 1412338)
installed it and some old video.google posts become black

http://www.onlinetradersforum.com/sh...ad.php?t=12381

OK, sorry, that was for another plug-in - can someone delete this and the last one?

David Bott 01-01-2008 11:52 PM

Outstanding hack and installed on AVS Forum.

One thing I am looking for help on.

When you get the results and have the option to search the local site (Can't find what you are looking for), how can I make that display POSTS vs THREADS. Or, give the option?

Thank you kindly.

David Bott 01-02-2008 12:12 AM

BTW...I jsut found out that is someone uses " " in the search as "video display" it will then not return any results if they then try "Can't find what you are looking for..."

It looks like this...

Code:

Can't find what you are looking for? Try a local search by clicking here: %26quot%3Bvideo+display%26quot%3B or our Advanced Search.
The link looks like this...

Code:

http://www.avsforum.com/avs-vb/search.php?do=process&query=%26quot%3Bvideo+display%26quot%3B
Any way around this?

Thanks

Forum Lover 01-03-2008 08:56 AM

hope it is 3.7 compatible. installed.

Teresa 01-03-2008 03:06 PM

Quote:

Originally Posted by Teresa (Post 1406277)
Okay. I think I'm asking the wrong question.

I THOUGHT that the url: www.mysite.com/forum/gtsearch.php would bring up the search input screen. I want to have a link to that search screen from anywhere on my site, not just in the forum.

Is this a faulty assumption?

My search works perfectly from the navbar pull-down.

How do I get a search input screen that can be referenced from any url?

Any help on this?
Thanks

David Bott 01-03-2008 05:33 PM

Looks like no one is around for help on this hack. :(


All times are GMT. The time now is 09:08 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.01346 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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