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)

Sjakie 11-23-2007 09:13 AM

It worked. I've copied the code from the "Google search" template in the default style.
Only now the search function appears, but doesn't work. It just redirects me to the original VB search.

Please advise.

GrendelKhan{TSU 11-23-2007 05:04 PM

Quote:

Originally Posted by skariko (Post 1379816)
I follow the instruction but it doesn't shows up on my navbar.

Can I add it manually?

same :(


and what do we put here (coop / manage / cse / code)

Specify search results details
Specify the url in your site where you want the search results to appear:

______________________________________________

? :confused:

vauge 11-23-2007 07:37 PM

Quote:

Originally Posted by pgb (Post 1386379)
The google logo in the search drop down box is showing up as a broken image. Any ideas?

It's looking for http://www.google.com/images/powered...poweredby_.gif

I am having same issue. Thanks

Sjakie 11-23-2007 08:49 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1388161)
same :(


and what do we put here (coop / manage / cse / code)

Specify search results details
Specify the url in your site where you want the search results to appear:

______________________________________________

? :confused:

Read my post above your original post, thats the answer.

Sjakie 11-23-2007 09:31 PM

I have put this code in the header of my custom template. I can see it but it's still not working. It still sends met to the original VB search.

Please advise

PHP Code:

<tr>
    <
td class="thead" align="$stylevar[left]">$vbphrase[google_search]</td>
</
tr>
<
tr>
    <
td class="vbmenu_option" title="nohilite">
    
$vboptions[gtsearch_search_box_code]
    </
td


Prince 11-26-2007 10:53 PM

please post the template edit so those that are having issues can make the change manually, I have it working fine but it will not show the link in the search drop-down.

thanks

Sjakie 11-27-2007 08:10 AM

Lets hope that Joe replys this time because it's not working with me either

Princeton 11-27-2007 12:20 PM

to add the menu (dropdown) this mod looks for $template_hook[navbar_search_menu] and replaces it with the following
HTML Code:

<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[google_search]</td>
</tr>
<tr>
    <td class="vbmenu_option" title="nohilite">
    $vboptions[gtsearch_search_box_code]
    </td>
</tr>

please follow directions..
recheck your settings at your Google CSE account - the form is created for you there

Prince 11-28-2007 12:57 AM

thanks, I had to revert my navbar template then re-import your hack and it worked. :)

supramati 11-28-2007 03:36 PM

Hey Princeton, nice work!

Almost everthing works for me...

The google image dont appears in the search box:

https://vborg.vbsupport.ru/external/2007/11/6.gif

In the google code it give's me this url for the image:

http://www.google.com/images/powered...poweredby_.gif

But if you try to access it gives to you a 404 error..

Can you help me plz?

Regards,

Supramati

Princeton 11-28-2007 03:50 PM

check your Google CSE code (google account)

supramati 11-28-2007 03:53 PM

Well, i solve it reading the google's group.

http://groups.google.com/group/googl...bb99b5f1eaf8be

snoop1979 11-30-2007 09:24 PM

excelent mod, works perfect
now, how can i add this same search box on my header?

Yenimuhendis 12-01-2007 12:44 PM

works great in default temlpate but not working in my custom template :confused:

thedark1 12-02-2007 03:20 PM

this doesn't work for non English characters....any fix for this?

Kaycee123 12-03-2007 04:59 AM

Thanks for this - worked great!

snoop1979 12-06-2007 07:17 PM

Quote:

Originally Posted by Sjakie (Post 1388318)
I have put this code in the header of my custom template. I can see it but it's still not working. It still sends met to the original VB search.

Please advise

PHP Code:

<tr>
    <
td class="thead" align="$stylevar[left]">$vbphrase[google_search]</td>
</
tr>
<
tr>
    <
td class="vbmenu_option" title="nohilite">
    
$vboptions[gtsearch_search_box_code]
    </
td


Quote:

Originally Posted by snoop1979 (Post 1392601)
excelent mod, works perfect
now, how can i add this same search box on my header?

i got it to work, put this on you header

PHP Code:

<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
 <
tr>
    <
td align="center" class="vbmenu_option" title="nohilite">
    
$vboptions[gtsearch_search_box_code]
    </
td>
</
tr>
</
table

you can change the width if you want. again thanks for this mod

Princeton 12-07-2007 04:29 PM

thanks for the update :up:

Spinball 12-08-2007 11:18 AM

IS there a version of this without the Google adverts?

nyunyu 12-09-2007 01:30 PM

Installed but now it inserting 2 search box.
For more info, go to http://www.animeheist.com/forum and click on search drop down menu. You will see 2 google search.
Can you help me on this princeton?.

Princeton 12-10-2007 02:15 PM

Quote:

IS there a version of this without the Google adverts?
per google TOS - you must leave it intact
Quote:

Installed but now it inserting 2 search box.
For more info, go to http://www.animeheist.com/forum and click on search drop down menu. You will see 2 google search.
Can you help me on this princeton?.
make sure you do not have duplicate plugins installed .. also, make sure that there is only 1 instance of $template_hook[navbar_search_menu] in your template

Vinyljunky 12-10-2007 02:25 PM

Princeton,

Well done on another quality mod!

VinylJunky

Yellow Slider 12-12-2007 02:39 PM

I have installed it, when im trying to search it gets me back to my home page
http://www.iatraf.co.il/gtsearch.php

whats wrong?

edit - i reinsert the code, and now the search button isn't working at all, it won't do anything.

this is my CES code

PHP Code:

<!-- Google CSE Search Box Begins  -->

<
form action="http://www.iatraf.co.il" id="searchbox_009788630954767428570:8xr1kozqq0c">  <input type="hidden" name="cx" value="009788630954767428570:8xr1kozqq0c" />  <input type="hidden" name="cof" value="FORID:11" />  <input type="text" name="q" size="25" />  <input type="submit" name="sa" value="חיפוש" /> </form>
<
script type="text/javascript" src="http://www.google.co.il/coop/cse/brand?form=searchbox_009788630954767428570%3A8xr1kozqq0c&lang="></script

PHP Code:

<!-- Google Search Result Snippet Begins -->

<
div id="results_009788630954767428570:8xr1kozqq0c"></div>
<
script type="text/javascript">
  var 
googleSearchIframeName "results_009788630954767428570:8xr1kozqq0c";
  var 
googleSearchFormName "searchbox_009788630954767428570:8xr1kozqq0c";
  var 
googleSearchFrameWidth 600;
  var 
googleSearchFrameborder 0;
  var 
googleSearchDomain "www.google.co.il";
  var 
googleSearchPath "/cse";
</
script>
<
script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script><!-- Google Search Result Snippet Ends --> 

** search button is working - but it is redirecting me to the index .

what to do?

Princeton 12-12-2007 06:00 PM

HTML Code:

<form action="http://www.iatraf.co.il"
should point to the gtsearch.php file

Howell 12-12-2007 06:41 PM

I have tried many many attempts to get this working but it's is just showing me the default results page for vBulletin and telling me to enter something into the search text box?? :erm:

Princeton 12-14-2007 07:33 PM

check your Google code

jonathannelson 12-18-2007 03:56 PM

thank you so much for this mod princeton. fantastic!

pcoskat 12-18-2007 05:55 PM

Is there anyway to turn the regular 'vb search' off and only use the Google site search?

Will this work on 3.7?

Princeton 12-18-2007 06:17 PM

Quote:

Originally Posted by pcoskat (Post 1403788)
Is there anyway to turn the regular 'vb search' off and only use the Google site search?

Will this work on 3.7?

disable search via vBulletin Options and hard code the Google Code onto the navbar template - somewhere - anywhere - that's up to you

SimonVlc 12-20-2007 11:31 AM

Hi all,

I´m unnable to install this mod. When I try to put the code "Search results code" on the vb options, it gives me this error:

You don't have permission to access /forums/admincp/options.php on this server.

Any idea? Thanks in advance, Simon.

psikolog 12-20-2007 06:52 PM

Hi,
Very good add-ons
But when I search with Turkish character ( for example: ş ç ğ ı ü ) give an error
That is no search results
What can I do for correct this issue
thanks for your support

Yogesh Sarkar 12-20-2007 08:21 PM

Works perfectly, thanks :)

Teresa 12-21-2007 06:52 AM

Why am I getting " The following errors occurred with your search" in my page title, but the search actually works fine?

GuaRRand 12-21-2007 12:31 PM

the google search doesnt appear anywhere... it should be "under" the normal search right?

i installed the product and made a searchengine which works fine
http://www.google.com/coop/cse?cx=01...%3A02z2px4qcfm

How do i get it to appear on my site as shown above (first post)

Also, when i type http://www.glcoti.com/gtsearch.php i do get a searchbox, but wwhen i then search for something it returns me to the mainpage...

help?

Teresa 12-21-2007 03:21 PM

I found the problem with navbar executing the regular vb search with blank results.

The extra template code for this got inserted ABOVE the ending form tag from the vbsearch. Move the ending form tag to just after the TR tag of the vb search code.

Code:

                                <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
                        </td>
                </tr></form>
                <tr>

This way you don't have to revert your template.

obmob 12-21-2007 03:27 PM

Well, it sounds interesting, will test it, thanks! :D

Teresa 12-21-2007 03:39 PM

Quote:

Originally Posted by Teresa (Post 1405982)
Why am I getting " The following errors occurred with your search" in my page title, but the search actually works fine?

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?

TRABZONLUKAPLAN 12-21-2007 05:36 PM

I did everything to use this mod but it didnt appear anywhere to my forum. What I did wrong ?

SimonVlc 12-21-2007 10:00 PM

Quote:

Originally Posted by SimonVlc (Post 1405369)
Hi all,

I?m unnable to install this mod. When I try to put the code "Search results code" on the vb options, it gives me this error:

You don't have permission to access /forums/admincp/options.php on this server.

Any idea? Thanks in advance, Simon.

Anyone?

Ozdemir 12-22-2007 12:50 PM

ı took white page.ı couldn't use this hack.can you help me?


All times are GMT. The time now is 01:02 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.01883 seconds
  • Memory Usage 1,850KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (5)bbcode_php_printable
  • (10)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
  • (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