Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Search Integration v1.0 Details »»
Google Search Integration v1.0
Version: 1.00, by yoyoyoyo yoyoyoyo is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 06-17-2005 Last Update: Never Installs: 16
Template Edits
 
No support by the author.

Google Search Integration
v1.0


time to install: less than 5 minutes
level of difficulty: Beginner/Simple

This simple hack adds a Google search engine to your site, or members can also search the entire World Wide Web.

1) Upload googlesearch.php to your forum root directory and also upload the google_logo.gif to your images directory, and take note of what the path to the images directory is.

2) Go to ADMIN CP -> STYLES & TEMPLATES -> ADD NEW TEMPLATE and create a template called googlesearch with the contents of template.googlesearch.txt, making sure to edit the necessary changes to the template to suit your forum. Change yoursite.com to the name of your site, and make sure that the path to the google_logo.gif is correct.

3) Go to Adimin CP ->Styles & Templates -> Edit Templates and open the NAVBAR template and search for the following:
Code:
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
BEFORE add:
Code:
<tr><td class="vbmenu_option"><a href="googlesearch.php">Google</a></td></tr>
4) That's it! Go to http://yoursite.com/forum/googlesearch.php or visit the Quick Links in your NAVBAR to view your new Google Search page.

OPTIONAL: If you want to add more than one site to search you can add another radio button by editing the googlesearch template the following way:

search for:
Code:
<input type="radio" name="sitesearch" value="http://yoursite.com" checked> yoursite.com <br>
and ADD BEFORE:
Code:
<input type="radio" name="sitesearch" value="http://anothersite.com"> anothersite.com <br>
Make sure to edit the above to reflect the site you wish to add: substitute anothersite.com with the name and address of the site you want to add. You can obviously add as many sites/radio buttons as you want.

PLEASE CLICK INSTALL

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 06-18-2005, 09:32 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a screenshot. I know this is a simple hack, but I couldn't find another version of it here, so I decided to see what I could do.
Reply With Quote
  #3  
Old 06-25-2005, 01:39 PM
coffeefix coffeefix is offline
 
Join Date: Apr 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to add the google search box to the forum's main page (forumhome)


Great hack btw.
Reply With Quote
  #4  
Old 07-10-2005, 10:38 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about making it into Google Suggest? That'd be nice.
Reply With Quote
  #5  
Old 08-23-2005, 10:50 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its a great start, im looking forward to it being expanded tho.
Reply With Quote
  #6  
Old 08-23-2005, 11:30 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
Its a great start, im looking forward to it being expanded tho.
Look at my sig for "MEGA SEARCH"
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 12:45 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.04664 seconds
  • Memory Usage 2,251KB
  • Queries Executed 22 (?)
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
  • (4)bbcode_code
  • (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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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