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)
-   -   Integration with vBulletin - CFM: Google AdSense for Search Integration (https://vborg.vbsupport.ru/showthread.php?t=125721)

mmmender 11-05-2007 01:24 AM

Quote:

Originally Posted by clearchannel (Post 1249098)
I fixed this in 3.67 by ignoring the first edit required in the navbar, it's already set correctly in 3.6.7 the second edit should be done as follows:
Find the following:
Code:

  </table>
 </div>
 <!-- / header quick search form -->

and replace with:
Code:

  <tr>
  <td class="thead">Search Google</td>
  </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">$vboptions[cfmgsr_googlesearch]</td>
  </tr>
  </table>
 </div>
 <!-- / header quick search form -->


Quote:

Originally Posted by TomJames (Post 1306557)
Does not seem to work on 3.6.8, any ideas?

I used the above suggestion and now it works fine for me in 3.6.8

nyunyu 11-12-2007 04:22 AM

i have problem with sql database while importing xml.

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'CFM Google Search Results - Who\'s Online? (OLP)', 'online_location_process', 'if ($filename == \'cfmgoogle.php\')\r\n{\r\n$userinfo[\'activity\'] = \'Google Search Results\';\r\n}', 'cfm_google_search_results');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, November 12th 2007 @ 02:20:40 PM
Script : http://nyunyu.info/animeproject/admincp/plugin.php
Referrer : http://nyunyu.info/animeproject/admi...?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : nyunyu
Classname : vb_database

hipgirl 11-30-2007 05:30 PM

Quote:

Originally Posted by mmmender (Post 1375956)
I used the above suggestion and now it works fine for me in 3.6.8

Me too. Thank you all.

Michelle

imported_silkroad 05-24-2008 01:40 PM

works great! thanks!

archonus 05-28-2008 03:01 PM

work 100%, thx you

Gipskopf 07-01-2008 09:45 PM

work not in 3.7.2 ?

I´m not find the code of installations Point 9

Can help me ?

ShackMaster 07-14-2008 08:27 PM

It works in 3.7.2 just fine.

The first part of the installation in #9 is already done for you now because 3.7.2 added Tag Searching.

Add the red code below in your Navbar template:

Code:

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                                <form action="search.php?do=process" method="post">

                                        <input type="hidden" name="do" value="process" />
                                        <input type="hidden" name="quicksearch" value="1" />
                                        <input type="hidden" name="childforums" value="1" />
                                        <input type="hidden" name="exactname" value="1" />
                                        <input type="hidden" name="s" value="$session[sessionhash]" />
                                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                                        <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
                                        <div style="margin-top:$stylevar[cellpadding]px">
                                                <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                                                &nbsp;
                                                <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                                        </div>
                                </form>
                        </td>
                </tr>
                <if condition="$vboptions[threadtagging]">
                <tr>
                        <td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
                </tr>
                </if>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                    <tr>
                        <td class="thead">Search Google</td>
                </tr>
                    <tr>
                          <td class="vbmenu_option" title="nohilite">$vboptions[cfmgsr_googlesearch]</td>
                </tr>


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


HabboForum 02-08-2009 08:50 PM

Any chance of updating this for vBulletin 3.8? We could do with this as we emptied our search index and we're not able to rebuild it without crashing MySQL.

macbooking 07-08-2009 12:57 PM

i'm running vb 3.8.2
i uploaded/imported the files from customadplacement.zip
& added the red code from above!

working ...lucky boy iam

thx @ shackmaster

Jah-Hools 11-24-2009 01:50 PM

OK

I have been running this for several years now...

I have just (must be crazy) paid to renew the ad free version..

And got this message:

To get started with GSS and to get your code, please use the following instructions to begin:

1. Go to http://google.com/sitesearch
2. Click on 'Manage my account'
3. You should see your search engine(s) listed under "Google Site Search - search engines I've created"
4. Go to the control panel to start managing your search engine and to get your code to embed within your website.


Well of course, I already have it running!

So - do I need to generate new code? Or do I just leave it and carry on (it seems to be working) Of course its impossible to get in contact with Google...

Does anyone have any tips for further customizing the look of the results? Or how to tweak settings?

OK Thanks


All times are GMT. The time now is 02:25 AM.

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.01190 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)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
  • (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