Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
Google search of your site in navbar Details »»
Google search of your site in navbar
Version: 1.00, by Spinball Spinball is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-09-2005 Last Update: Never Installs: 6
 
No support by the author.

Just a quickie to add a Google site search in your navbar search drop-down menu.
*Should* work in all versions of vB3
Edit the navbar template.
Find:
HTML Code:
		</table>
	</div>
	<!-- / header quick search form -->
Above this, add:
HTML Code:
		<tr>
			<td class="thead">Google Site Search</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<FORM method=GET action="http://www.google.co.uk/search" target="_blank"><input type=hidden name=ie value=UTF-8><input type=hidden name=oe value=UTF-8>
				<input type="text" class="bginput" name="q" size="20" />$gobutton<input type=hidden name=sitesearch value="YOUR DOMAIN"><input type=hidden name=domains value="YOUR DOMAIN"><br />
			</form>
			</td>
		</tr>
...replacing YOUR DOMAIN with the domain of your site e.g. www.avforums.com in our case.
I wanted to have the Google search open in a new window so I added the
HTML Code:
target="_blank"
and you should remove it if you want the Google search results to open in the same window.
More details of the Google search and an explanation of the 'UTF-8' items at
http://www.google.co.uk/searchcode.html
And please press Install.

Show Your Support

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

Comments
  #2  
Old 07-03-2005, 06:41 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen grab attached.
Reply With Quote
  #3  
Old 07-03-2005, 07:59 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder where you got that idea from?
Reply With Quote
  #4  
Old 07-03-2005, 08:14 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beermonster
I wonder where you got that idea from?
My apologies if you feel I 'stole' that idea. Didn't mean to offend anyone.
I was prompted to write the hack by this thread on my forums posted On April 4th:
http://www.avforums.com/forums/showthread.php?t=202093
after which I wrote the hack, shared it with the vB community on April 10th here and posted details on the AV Forums on April 12th here:
http://www.avforums.com/forums/showthread.php?t=203557
Bearing in mind the date of your 3.5 hack is July, I'm wondering who copied who?
Or more likely, it's just a case of great minds thinking alike.
Reply With Quote
  #5  
Old 08-12-2005, 05:07 PM
atxhorn atxhorn is offline
 
Join Date: May 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if one of these hacks..would work...
Reply With Quote
  #6  
Old 08-12-2005, 05:08 PM
atxhorn atxhorn is offline
 
Join Date: May 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe...j/k....
Reply With Quote
  #7  
Old 08-18-2005, 08:00 PM
TRANCEBUDHA TRANCEBUDHA is offline
 
Join Date: May 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod but instead of adding just a google search, i added a adsense google search, not a bad idea.
Reply With Quote
  #8  
Old 12-28-2005, 03:05 AM
joseduddy's Avatar
joseduddy joseduddy is offline
 
Join Date: Oct 2005
Location: Biddeford,Maine
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed your mod for Google in search menu and is wirking wonderful, running Vb 3.5.2

take a look
http://www.dollchatter.com

Thanks for a nice ad on!!!! Jose Duddy
http://www.joseduddy.com
Reply With Quote
Reply

Thread Tools

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 02:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04394 seconds
  • Memory Usage 2,265KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete