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 - vB Google Adsense for Search plus Integration (https://vborg.vbsupport.ru/showthread.php?t=155199)

davidw 08-15-2007 10:39 AM

I have added an optional new 1.1 version that allows anyone to change the choices by the radio buttons to logos (images) if they so desire :) - and I have supplied the link to the default logo above.

Zaiaku 08-17-2007 09:50 PM

Is there a templete edit that needs to be done? I installed it and its not appearing in the dropdown search menu.

JMH11788 08-18-2007 05:31 PM

Quote:

Originally Posted by Zaiaku (Post 1319904)
Is there a templete edit that needs to be done? I installed it and its not appearing in the dropdown search menu.

well the navbar hook is gone now so that is why you dont see it.

davidw 08-20-2007 01:31 AM

You should have
Code:

$template_hook[navbar_search_menu]
in your navbar, if you don't - this will not work.

Search for
Code:

<!-- / header quick search form -->
and look a couple rows above:

Code:

                $template_hook[navbar_search_menu]
                </table>
        </div>
        <!-- / header quick search form -->

Your navbar may differ a little - this is where the hook resides:
Code:

                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                $template_hook[navbar_search_menu]

If you do not have that hook in there, you must edit your navbar and place that hook in there to use this modification. If you still can't get this version to work, here is a manual but limited version - https://vborg.vbsupport.ru/showthread.php?t=128274

AquilaEagle 08-20-2007 05:59 PM

I've installed and it is appearing in my Nav Bar, but when i actually do a search I just get a blank screen?? it's not going to google, it's going to some page on my site??

Help please?

AquilaEagle 08-20-2007 08:31 PM

Double checked everything, and re-installed it. Still not working. It seems to go to searchresults.php but with a load of code on the end of the url, just showing a blank page. I've followed the instructions word for word. No worky. :(

davidw 08-20-2007 10:26 PM

Ok, here's a possible manual fix for boards like this. I will work on an update later with a final working result.

Upload searchresults.php to your forum directory (since that is where it is appearing - It looks like a redirect somehow).

Then reimport this attached product (based on version 1.1)

davidw 08-21-2007 02:40 AM

Also, try this special searchresults.php file I created. You will need to edit line 8
PHP Code:

chdir('/your/path/to/forums/'); 

and put your forum's path in there for this to work. I have it working on my site (tested it). I created a dummy directory called forums that only has the one file in it. Let me know how it works for you.

AquilaEagle 08-21-2007 05:41 PM

Quote:

Originally Posted by davidw (Post 1321944)
Ok, here's a possible manual fix for boards like this. I will work on an update later with a final working result.

Upload searchresults.php to your forum directory (since that is where it is appearing - It looks like a redirect somehow).

Then reimport this attached product (based on version 1.1)

Thanks david. I have done this and it seems to half work, I did a search but I get a blank result. I get the Google search results page, but it is empty of any results.

AquilaEagle 08-21-2007 06:58 PM

Also. the dropdown only appears for members, not for guests - any way I can change that?


All times are GMT. The time now is 03:32 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.01198 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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