Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Search in navbar Details »»
Google Search in navbar
Version: 1.00, by Beermonster Beermonster is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 3 Rating:
Released: 06-30-2005 Last Update: Never Installs: 54
Supported Template Edits
 

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-07-2005, 10:36 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 08-12-2005, 05:37 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 08-13-2005, 12:32 AM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does the google search compare to VB search? Does the google search just include the forums?
Reply With Quote
  #15  
Old 08-13-2005, 08:40 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #16  
Old 08-29-2005, 04:57 PM
italks italks is offline
 
Join Date: Jan 2004
Location: New Delhi,INDIA
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work for me why is it so.I did add everything as said.
Reply With Quote
  #17  
Old 08-29-2005, 06:15 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #18  
Old 09-05-2005, 09:18 PM
akoj akoj is offline
 
Join Date: Jul 2004
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #19  
Old 09-09-2005, 07:11 PM
DGoulden DGoulden is offline
 
Join Date: Sep 2005
Location: West Yorkshire, GB
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great thanks
Reply With Quote
  #20  
Old 09-11-2005, 10:06 PM
Arto Arto is offline
 
Join Date: Sep 2005
Location: By the beach
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, thanks a lot ...just installed
Reply With Quote
  #21  
Old 09-25-2005, 04:50 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

iguanairs, That looks great!

Thanks all. Just installed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:41 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.04882 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete