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)

LanciaStratos 08-04-2008 11:58 PM

Yep, it works fine Onone.

Onone 08-10-2008 12:26 PM

ok, i try, it's work. but i have a big problem. when i'm try to search something in Hebrew i get gibberish.
what to do?

Baitona 08-15-2008 07:20 PM

Quote:

Originally Posted by Onone (Post 1595389)
ok, i try, it's work. but i have a big problem. when i'm try to search something in Hebrew i get gibberish.
what to do?

I had the same problem when searching in Arabic
the results were showing ??????? as i am not using UTF encoding :)

howevr i managed to solve the problem,
for you to get it working right:
go to the google code (within your admincp)
and change the encoding from UTF-8 to the Hebrew encoding

in other words:
replace
<input type="hidden" name="ie" value="UTF" />
with this one:
<input type="hidden" name="ie" value="windows-1255" />

Baitona

Onone 08-15-2008 07:45 PM

ok, its work. tnx.

Silmarillion 09-18-2008 10:45 AM

Good Job!

How can i manage that the vBulletin Search Function isn't shown to guests, but the Google Adsense Search does? (Navbar)

Silmarillion 09-19-2008 07:21 PM

No one? :(

Chunky Monkey 10-28-2008 03:20 PM

I haven't read the entire thread and maybe I ought to before asking, but does anyone have a demo where I can see this in action?

I also second the question above - can it replace the built in search by default?

wraggster 11-02-2008 01:05 AM

i would also like to see a live demo, been through all the pages and have not seen one, will install tommorrow if i can get an understanding of what it does etc, signed up to googles custom search engine so only got to install hack then add code to not show adsense on the search page

ryans 11-03-2008 02:10 AM

get an error message

Fatal error: Call to undefined function: fetch_cat_url() in /web/docs/www.myste.com/htdocs/dyna_global.php on line 236

things is it should be /boards/dyna_global.php

url is wrong too.

http://www.mysite.com/search.php?cx=...oobs&sa=Search

should be boards/search.php

running vb 3.7.3

bchertov 11-03-2008 05:00 AM

This is a great mod! The only thing I wish were possible was a way to have the search results account for chronology, with the newest ones first, as VB would do. I don't see how to do it, but perhaps one of you geniuses has figured that out...;)

LanciaStratos 11-03-2008 02:16 PM

Quote:

Originally Posted by wraggster (Post 1657590)
i would also like to see a live demo, been through all the pages and have not seen one, will install tommorrow if i can get an understanding of what it does etc, signed up to googles custom search engine so only got to install hack then add code to not show adsense on the search page

You can see a preview at the top of my forums. Just enter your query and hit enter (you can even do this as a guest).

wraggster 11-03-2008 05:20 PM

thanks i installed this over at dcemu http://www.dcemu.co.uk/vbulletin/ and im very happy

nice not to lose say 500 visits a day and also the search now searches the sub domains too, good news all round for me :)

Chunky Monkey 11-04-2008 04:40 PM

How is it preventing you from losing visits, wraggster? Do you mean members would leave your site in favor of visiting Google directly before you "brought" Google to your site?

Nintendo-Daily 12-03-2008 12:25 AM

INSTALLED!!

I just want to know how to get rid of the search box that came with vBulletin so I just have the Google CSE. Is it possible? Have any of you other members done this?

Nintendo-Daily 12-04-2008 08:22 PM

So...anyone know how to get rid of the default search box that came with vBulletin so just the Google CSE box shows up?

MissKalunji 12-05-2008 03:17 AM

just change it in the navbar replace the vbcode with the google code

Welshy2008 12-15-2008 12:54 AM

Thank You - It's just what I have been looking for.

Perfect.

** Clicked Installed **

hcristea 12-19-2008 05:14 AM

Hello,
is there a way to change the gtsearch.php file so that when a user is viewing the search results its location to be displayed on the "who's online" page of vbulletin?

Right now when a user is searching the website and viewing the results, ie beeing in the gtsearch.php page, the location for that user is "Unknown Location" and the URL (gtsearch.php together with the whole querystring) is shown. How can this be customized for example the location to be shown to be "Searching the forums"?

Thanks.

payman 12-19-2008 05:55 AM

very good im install

Saviour 01-12-2009 07:00 PM

Someone has just got to get this mod working for 3.8.

Any takers?

Princeton...if you're there...just what do I have to do (within reason) ;) to get you to make this work for 3.8?

I know this mod is no longer supported, but it would be a nice feature to have for the latest version of vBulletin, my friend.


All my best,

Steve aka "Saviour"

KevinL 01-12-2009 07:22 PM

Works just fine. Actually just set it up :)

Saviour 01-12-2009 07:57 PM

Well, Kevin...

I'd appreciate it if you could tell me how you did it, because I have it installed as well, but when I do a Google search, while I'm logged in...the results page shows me as not logged in. However, when I do another search...it shows me as logged in.

Any suggestions?

BTW...I use vBAdvanced, as well...

KevinL 01-12-2009 08:11 PM

Hrm...

I just read and followed the directions like I have since I have when it came out. I've used this since 3.6. I've set it up new each time with out a hitch.

Are you sure that you set up where it says: 'Host results on your website' then choose iframe then 'Specify search results details' and point it to gtsearch.php? <-- thats very important.

Saviour 01-12-2009 08:22 PM

I sure did...

I'm not having a problem with the search results, though.

Right now, I have it disabled on my site. However, if you have it running...do me a favor, if you don't mind...clear your cache...login to your forum and do a Google search. Are you still logged in after you perform the search and get your results?

Are you using vBAdvanced?

Saviour 01-12-2009 09:07 PM

Okay...even though the both of us know this was not written for 3.8...here's the beef:
  1. I've followed the directions to the "T".
  2. When I perform a search, I'm no longer logged in.
  3. When I perform a search, I get results, displayed as I wanted when I configured my CSE.
  4. When the page loads, the title bar reads my BB title...along with the complete description of my site from the page's source code.
  5. Dropdown Menu box for Links/Urls

Now...I'm not entirely stupid...and like I said...I have installed this per Princeton's instructions. Here are the mod's I currently have installed:
  1. vbAdvanced CMPS 3.1.0
  2. UserCP Navbar Menu 2.0.0
  3. Separate Sticky and Normal Threads 3.0.0
  4. Post Thank You Hack 7.7
  5. Logician's Web Templates 3.7.00
  6. ibProArcade for vBulletin 2.6.8
  7. Cyb - ChatBox 2.3
  8. Cyb - Advanced Forum Statistics 6.2

Would any of these mods have an influence over the functionality of this mod?

KevinL 01-12-2009 09:43 PM

They shouldn't have any affect on it. Just tried it and it works fine :confused:

Saviour 01-12-2009 10:10 PM

I wonder if the AdSense I have at the top of my pages may be causing the issues?

KevinL 01-12-2009 11:26 PM

Well I have adsense also...hmmm

Something else isn't right. obviously haha I will see if anyone is having any problems with it on my site :)

LoveStream 01-17-2009 09:49 PM

Dear.

Now I'm trying install it, but when i query input form area, it return only "smile list"

Here, my works...

My version is 3.8.0

1. I open /forum/gtsearch.php

2. query test onto

3. I want to see the result on custom page, as

/forum/misc.php?do=page&template=google

4. my code like below

Find Search box code

Code:

<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-right" style="background-color:#FFFFFF;color:#000000">
  <div class="cse-branding-form">
    <form action="http://***.****.***/forum/misc.php?do=page&template=google" id="cse-search-box">
      <div>
        <input type="hidden" name="cx" value="007869952715651639603:******" />
        <input type="hidden" name="cof" value="FORID:9" />
        <input type="hidden" name="ie" value="UTF-8" />
        <input type="text" name="q" size="31" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div>
</div>

Find Results code

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.com";
  var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>

What's problem?

Bless you.

Saviour 01-30-2009 03:37 PM

Okay...

I finally have this working on 3.8.1. However, I've run into a couple of issues, which I hope someone can help me with.

[S]First issue: See this post - https://vborg.vbsupport.ru/showpost....&postcount=258[/S]

Second issue: In an attempt to make the search page XHTML compliant, I've run into an issue with this code:
Code:

<style>iframe{width:100%}</style>
It's located within the GTSEARCH_GOOGLE template. Is there another way of coding this in order for it to be XHTML compliant and work?


Update...

I resolved the first issue by modifying the product's XML file, importing and overwriting. So the WOL issue (For me, at least) has been resolved. However, I could still use some help with the second issue.

Additional Update...

I resolved the second issue by replacing the above code with this:
Code:

<style type="text/css">
/*<![CDATA[*/
iframe{width:100%}
/*]]>*/
</style>

Both issues have now been resolved. Thanks for the help...;)

reverse1312 02-10-2009 05:32 PM

Hello

I attempted to use this mod again but for me it still does not work...

If I enter in firefox the link to gtsearch.php directly I have the custom engine search form ok and it works fine. But the form inside the navbar only generate errors.

Has anybody an idea ?

Thanks

Martin

repaire 03-15-2009 02:43 AM

Welldone, works ok with 3.8.1 :-):up:

motowebmaster 05-31-2009 03:50 PM

I had a couple issues, but after a few template edits it's all good.

Bellinis 07-23-2009 02:24 PM

I'd really love to get this working in 3.8. Which template edits should I make?
Thanks! :)

treasureman 09-10-2009 07:59 PM

I have removed the borders from the Google code but borders still show up around the ads.

How do I remove them? Researching Adsense for Search ads perform much better without borders.

elroger 12-03-2009 04:06 PM

Quote:

Originally Posted by Spinball (Post 1469995)
The mod works well, thanks :up:
With the exception of a large blank area at the bottom of the page (please see attached image).
Does anyone have any idea what this is please?
Thanks

I get the same error with safari, firefox.

What can i do?

SnakeV 12-17-2009 09:19 PM

Any can port this plugin to vB4?

Thanks :)

azxS 12-19-2009 04:32 PM

work but... dont find anything... help ? pls!

brandon515 12-28-2009 11:24 PM

Can the Google Search mod search attachments, like pdf's and word docs?

vvdven 01-28-2011 12:13 PM

Cool, is there also a version for 4.x.x? I just upgraded...


All times are GMT. The time now is 10:24 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.02698 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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