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)

reverse1312 05-08-2008 03:01 PM

Hello Joe !
May I hope a little look on my failing issue ? :)
I would love to make it work

By the way I saw a joomla google custom search module made by a japanese developper that is able to display search results inside any joomla content, in a right column for example , on a metakey or title or content basis. It goes a little bit further and adds no advertisement...It's in a compact ajax block. Would'nt be a good idea to make it worjk the same way in a right column in vB ?

Quote:

Originally Posted by reverse1312 (Post 1509477)
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


odeezie 05-08-2008 04:46 PM

I cant get this to work. The search is there in the drop down menu but when I put a search term in the box and click search, the page basically just reloads, nothing changes and I am right back to the forum index. Any ideas what this might be? I am using 3.7.0

Edit: Nevermind Ive got it figured out now.

Jah-Hools 05-13-2008 01:44 PM

A question please...

How would you do this if you did NOT want the adsence ads...?

Thanks

reverse1312 05-13-2008 02:02 PM

Quote:

Originally Posted by odeezie (Post 1512852)
I cant get this to work. The search is there in the drop down menu but when I put a search term in the box and click search, the page basically just reloads, nothing changes and I am right back to the forum index. Any ideas what this might be? I am using 3.7.0

Edit: Nevermind Ive got it figured out now.

It sounds like you had some similar problem as mine. how did you solve it please ?

Thank you

goddess_dix 05-15-2008 03:54 PM

Quote:

Originally Posted by Jah-Hools (Post 1518280)
A question please...

How would you do this if you did NOT want the adsence ads...?

the custom search engine is only avail. from google without ads for nonprofits. so you can either register it as nonprofit through whatever process google requires, or add your own adsense code in order to benefit from the ads yourself, or simply use the search engine and allow it to show ads you get nothing from. that is pretty much the choices as i understand them.

Jah-Hools 05-15-2008 04:20 PM

Quote:

Originally Posted by goddess_dix (Post 1520664)
the custom search engine is only avail. from google without ads for nonprofits. so you can either register it as nonprofit through whatever process google requires, or add your own adsense code in order to benefit from the ads yourself, or simply use the search engine and allow it to show ads you get nothing from. that is pretty much the choices as i understand them.

See here there is another choice.. A 'paid' version..

http://www.google.co.uk/enterprise/csbe/

"Turn off ads and customise your search results through an XML feed
Custom Search Business Edition turns off Google AdWords advertisements in search results that regularly appear in the free version of the Custom Search Engine. If you wish to significantly change the look and feel of your search engine, you can build your own user interface and integrate an XML feed of search results."

PEPITO69 05-16-2008 06:50 PM

Hi,
I love this Mod but i don't know how to make it appear in CMS_index (vbadvanced).
Look in:
www.egiptoforo.com

search is "Buscar".

I thing that must be something easy :)

Thanx

reverse1312 05-18-2008 11:55 AM

Hello,

I tried multiple times to make it works but no success yet.

If I invoke directly the page
http://www.mysite.com/forums/gtsearch.php
and then fill the searchform there, everything's fine. I get a good search result page with my adsense Google ads wher I decided to put in (on the right side actually)
The results are filtered ok by the parameters I choosed on Google CSE pages.

But one thing refuses to work : it is the dam...d searchform in the navbar. It only makes this result : It opens the normal vB searchresult page with:
"Please specify some words or valid user names to search on. There were no matches for those that you specified."

Why is it so ?

Search box code:
<form action="http://www.rmysite.com/forums/gtsearch.php" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-xxxxxxxxxxxxxxxxxxxxx" />
<input type="hidden" name="cof" value="FORID:9" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Rechercher" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=fr"></script>


Searchresults code
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.fr";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>

What is wrong ?

Thank you

goddess_dix 05-19-2008 02:43 PM

Quote:

Originally Posted by Jah-Hools (Post 1520691)
See here there is another choice.. A 'paid' version..

Thanks for the correction... :D

rootnik 05-22-2008 01:43 PM

Nicely done. Installed on vbulletin 3.7 without any problems.


All times are GMT. The time now is 10:59 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.01354 seconds
  • Memory Usage 1,746KB
  • 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)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