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)

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...;)


All times are GMT. The time now is 05:21 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.01294 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
  • (4)bbcode_code_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