vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - vB Google Adsense for Search plus Integration (https://vborg.vbsupport.ru/showthread.php?t=180277)

davidw 09-11-2008 10:29 PM

Glad you like.

dtv100 09-12-2008 12:05 AM

[QUOTE=davidw;1619390]Originally Posted by dtv100
any way to move google search on top of forum search ?
also those ads that show in page result are ours of someone else?

thanks for this addon .
I'm using the hook, but I can probably make a manual template. Those ads are from google - they are part of the adsense as I don't have a way to disable them.
QUOTE]

hope you get better soon and when you do please I would love to have a manual template
that way google search is on top and my members use it more often make my site load lower .
thanks again for reply .

davidw 09-12-2008 12:12 AM

It will probably be towards this weekend - but shouldn't be too hard. I might even have time tomorrow if it is slow.

Pete2007 09-14-2008 12:28 PM

Quote:

resetup your adsense for search account for this to work
What will happen if I don't resetup my adsense account? And use my current account ID?

Videx 09-15-2008 12:29 PM

Quote:

Originally Posted by Pete2007 (Post 1621902)
What will happen if I don't resetup my adsense account? And use my current account ID?

First, your nose will fall off for not taking the time to read older posts. As very clearly explained about a thousand times already, if you try to use an older style ID number you'll get errors.

Pete2007 09-15-2008 12:57 PM

Quote:

Originally Posted by Videx (Post 1622585)
First, your nose will fall off for not taking the time to read older posts. As very clearly explained about a thousand times already, if you try to use an older style ID number you'll get errors.

I do apologise.

One last question, is this legal, and perfectly ok with google?

davidw 09-16-2008 03:32 PM

Yes, this is perfectly legal. All I did was use google's code and modified it for integration with vBulletin. Everything goes through Google (it is set up that way). This modification only alters how it is displayed.

davidw 09-16-2008 03:34 PM

Quote:

Originally Posted by dtv100 (Post 1617252)
any way to move google search on top of forum search ?

I should have this done this week. I'm behind due to being sick and other issues.

davidw 09-18-2008 05:09 PM

Find this 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">

Add after:
Code:

<tr>
        <form action="{$vboptions['google_forum_path']}" id="cse-search-box" target="_top"><td class="thead">Search Site / Google</td>
</tr>
<tr>
        <td class="vbmenu_option" title="nohilite">
                <table border="0">
                        <tr>
                                <td nowrap="nowrap">
                                        <div>
                                                <input type="hidden" name="cx" value="{$vboptions['google_pub']}" />
                                                <input type="hidden" name="cof" value="FORID:9" />
                                                <input type="text" name="q" size="{$vboptions['google_box_width_nav']}" />
                                                <input type="submit" name="sa" value="Go" />
                                        </div>
                                </td>
                        </tr>
                </table>
        </td></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
</tr>

Save and reload.

dtv100 09-18-2008 06:17 PM

thank you so much .


All times are GMT. The time now is 05:13 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.01461 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_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