vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Google Search in navbar (https://vborg.vbsupport.ru/showthread.php?t=91438)

Beermonster 06-30-2005 10:00 PM

Google Search in navbar
 
I've been asked a couple of times how I put the Google search in the search on the navbar, so I thought I would post it here maybe it's of use to others :)

Go to your Google adsense account and choose Search Settings, choose your language, country etc and make the Length of text box 10, tick Google logo above text box, then update code.

In your navbar template place your Google code between:

Code:

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

and

Code:

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

All done :)


AFAIK this should also work on 3.0.x

MissKalunji 07-04-2005 06:26 AM

i been looking how to do this. thank u!

younghistorians 07-08-2005 10:15 PM

*OT* Will this work with 3.0.1?

jpt62089 07-08-2005 10:21 PM

Quote:

Originally Posted by younghistorians
*OT* Will this work with 3.0.1?

it should ;)

younghistorians 07-08-2005 10:30 PM

Yep, just tested it...works great.

eNforce 07-11-2005 05:16 PM

What about if we don't have a google adsense account.

How about making up some code to search google normaly?

Beermonster 07-11-2005 06:27 PM

Quote:

Originally Posted by eNforce
What about if we don't have a google adsense account.

Easy, sign up for one :ermm:

Jacqueline 07-11-2005 08:09 PM

Thank you very much!

*clicks install*

tvg 08-06-2005 07:49 AM

so will we get paid per search?

Beermonster 08-06-2005 10:17 AM

Quote:

Originally Posted by tvg
so will we get paid per search?

Why shouldnt' you? it's your Google code

Rich 08-07-2005 10:36 PM

Hello,

I haven't actually installed this yet, but I did create the account. Once I get the information required, I will be installing this. Thanks.

/Rich Clicks Install Now Anyways

Rich 08-12-2005 05:37 PM

Hello,

I wasn't fond of how they looked in the same location, so I added a seperate dropdown for the google search. This helps to get it noticed by the members, which could lead to it being used more. I have attached instructions on how to do this.

This works with 3.0.# and with 3.5 #

I have it being used on my 3.0.7 site as well as my 3.5 test site.

To see how it looks, have a look here:

http://www.herpcenter.com

0ptima 08-13-2005 12:32 AM

How does the google search compare to VB search? Does the google search just include the forums?

GrendelKhan{TSU 08-13-2005 08:40 AM

Quote:

Originally Posted by 0ptima
How does the google search compare to VB search? Does the google search just include the forums?

opposite...google search will just be the WEB.

(you can add a local site search to your google search bar....but that would be doubling up with vb search).

italks 08-29-2005 04:57 PM

Doesn't work for me why is it so.I did add everything as said.

Beermonster 08-29-2005 06:15 PM

Quote:

Originally Posted by italks
Doesn't work for me why is it so.I did add everything as said.

There should be no reason why it shouldn't work, I assume you already have a Google account?

akoj 09-05-2005 09:18 PM

Thanks so much! I was trying like crazy to figure this one out yesterday on my own! I got it everywhere in the navbar but there :ermm:

DGoulden 09-09-2005 07:11 PM

works great thanks

Arto 09-11-2005 10:06 PM

Great idea, thanks a lot ...just installed :D

Christine 09-25-2005 04:50 PM

iguanairs, That looks great!

Thanks all. Just installed. :)

carrie31 09-27-2005 04:03 PM

thank you so much, it helps me :)

cheech4487 09-30-2005 09:09 PM

Installed! Awesome job thanx!!!

Brandon Sheley 10-03-2005 05:23 AM

[high]* Brandon Sheley clicks install
[/high]

works good. thx :)

smoknz28 10-11-2005 12:53 AM

In v3.50 I didn't find this code:

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


So, I just put the Google Search code just above:

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


And works like a charm! ;)

Thank you for sharing this code with the rest of us. :D

funinthesun 10-15-2005 03:27 AM

Thanks a bunch! This was quick and easy to install and works perfectly!

Nice one :)

egyptsons 06-07-2006 09:46 PM

thanks
:) for this

myadsl 09-13-2006 09:52 PM

Will this work with VB 3.6?

txsbmw 09-20-2006 01:02 PM

Works on 3.6.1

The Vegan Forum 04-14-2008 04:48 AM

Did anyone try this in any of the newer versions of vBulletin yet (3.6.7, 3.6.8, 3.6.9)?
What I'm looking for is a solution similar to what eg. http://forums.macrumors.com/ hasm which uses Google to search for threads inside it's own forum...
Thanks in advance.

Bro_Joey_Gowdy 01-03-2009 12:46 PM

Any updates for vb3.8.0 ?


All times are GMT. The time now is 04:44 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.01408 seconds
  • Memory Usage 1,767KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete