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

Reply
 
Thread Tools
Google-Search Details »»
Google-Search
Version: 1.00, by Hotte Hotte is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-24-2002 Last Update: Never Installs: 28
 
No support by the author.

Hi
with this hack you can get your own google-search from your vbulletin. This hack needs some PEAR-Classes and you need a google-account.

Requirements:
- you need the following PEAR-Classes:
- SOAP (available at http://cvs.php.net)
- Net/Dime (available at http://cvs.php.net)
- SOAP_Google (available at http://www.sebastian-bergmann.de/?page=google)
- Google-Account (free at http://www.google.com/apis/)

installation notes
Make sure that you have the required pear-classes installed. Infos about PEAR are available at http://pear.php.net
If you receive require/include-errors edit websearch.php and add the path to pear.
Edit websearch.php and enter your google-key
Upload websearch.php to your forums-directory
add the 3 templates
create a link to websearch.php where you want

Have fun

edit: If you don?t want getting the pearclasses from cvs, take a look here

get a blank page after submitting the search? read this

want to integrade the google-search into your regular search enginge? look here

Show Your Support

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

Comments
  #52  
Old 07-27-2002, 05:31 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BINGO
You have to edit your php.ini file and check include-path.
Reply With Quote
  #53  
Old 07-27-2002, 05:34 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice *hack* Hotte, thanks
Reply With Quote
  #54  
Old 07-27-2002, 05:38 PM
Hotte Hotte is offline
 
Join Date: Oct 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no need to edit the php.ini for the include_path. this is done by the script. but i wonder why a missing pear-class doesn´t produce errors. hmmm
Reply With Quote
  #55  
Old 07-27-2002, 05:45 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been getting some emails, instant messages, etc. from people asking me how I got this to work. Some are asking me how, exactly, I setup the pear/soap/etc. files. All I can say is, I setup all those files exactly as Hotte described earlier with his directory tree diagram, and edited the path to those files into websearch.php, and after that, it worked fine. Make sure the path you put into websearch.php is an absolute path, like /home/accountname/pear, not a URL-type path. That's really all I can say; I can't explain it any better than that, because I followed that tree precisely and followed the other directions precisely, so if I tried to explain how I got it to work for me I'd just be repeating what Hotte has already said. Sorry to anyone else who can't get it to work.
Reply With Quote
  #56  
Old 07-27-2002, 06:07 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He Guys it works......i cant stand it it works!!!
This is bringing me down!!
Reply With Quote
  #57  
Old 07-27-2002, 06:11 PM
Hotte Hotte is offline
 
Join Date: Oct 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, for all who have problems getting this hack working (blank page after submitting a search):
Download all the required PEAR-Classes at http://pear.php.net or get this attachment.
Upload the pearclasses where you want on your server. I suggest to put them outsite the document-root. After you uploaded the pearclasses, you must have the following structur of you peardirectory:
Code:
|- OS
   |- Guess.php
|- Net
   |- DIME.php
|- PEAR
   |- Builder.php
   |- Installer.php
   |- Dependency.php
   |- Remote.php
   |- Config.php
   |- Command
      |- Remote.php
      |- Config.php
      |- Build.php
      |- Registry.php
      |- Common.php
      |- Install.php
      |- Package.php
      |- Auth.php
   |- Frontend
      |- Gtk.php
      |- CLI.php
   |- Registry.php
   |- Packager.php
   |- Autoloader.php
   |- Common.php
   |- Command.php
|- SOAP
   |- Parser.php
   |- Type
      |- dateTime.php
      |- duration.php
      |- hexBinary.php
   |- test
      |- 5.2.simpletypes.php
      |- 5.2.1.simpletypes.multiref.php
      |- all.php
      |- xmethods.php
      |- 5.2.1.simpletypes.string.php
      |- smtp.php
      |- test.utility.php
   |- tools
      |- genproxy.php
   |- Server
      |- Email_Gateway.php
      |- Email.php
   |- Value.php
   |- Fault.php
   |- Transport.php
   |- example
      |- email_gateway.php
      |- email_server.php
      |- server.php
      |- client.php
      |- stockquote.php
      |- smtp.php
   |- Server.php
   |- WSDL.php
   |- Client.php
   |- Base.php
   |- Transport
      |- SMTP.php
      |- HTTP.php
   |- interop
      |- client_round2.php
      |- server_round2_base.php
      |- server_round2_groupB.php
      |- server_round2_groupC.php
      |- client_round2_run.php
      |- client_round2_interop.php
      |- client_round2_params.php
      |- interopB.wsdl
      |- readme.txt
      |- server_round2_test.php
      |- index.php
      |- echoheadersvc.wsdl
      |- interop.wsdl
      |- client_round2_results.php
      |- database_round2.sql
      |- server_round2.php
|- package.dtd
|- System.php
|- PEAR.php
|- SOAP_Google.php
Make sure you entered the absolut path to the peardirectory in websearch.php. i.e. /www/<your site>/pear (depends on your host). Do not enter an URL (http://.....). Then should all working.
Reply With Quote
  #58  
Old 07-27-2002, 06:58 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working flawlessly with search.php, there's no need to have a websearch.php file
Something like:
1st table - Forum Search Engine
2nd table - Search Options
3rd table - Websearch Engine - Powered by Google
Reply With Quote
  #59  
Old 07-27-2002, 08:54 PM
maligno's Avatar
maligno maligno is offline
 
Join Date: Jun 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you explain the steps?
Reply With Quote
  #60  
Old 07-27-2002, 09:12 PM
Hotte Hotte is offline
 
Join Date: Oct 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can explain the steps how to integrate the google-search into the regular search. but for now, i´m enjoying my beer.
Reply With Quote
  #61  
Old 07-27-2002, 09:28 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers!
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 11:36 PM.


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.04658 seconds
  • Memory Usage 2,305KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)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