vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Google-Search (https://vborg.vbsupport.ru/showthread.php?t=41511)

nuno 07-27-2002 05:31 PM

BINGO :)
You have to edit your php.ini file and check include-path.

nuno 07-27-2002 05:34 PM

Very nice *hack* Hotte, thanks :)

Hotte 07-27-2002 05:38 PM

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

JJR512 07-27-2002 05:45 PM

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. :(

Kars10 07-27-2002 06:07 PM

He Guys it works......i cant stand it it works!!!
This is bringing me down!! :)

Hotte 07-27-2002 06:11 PM

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.

nuno 07-27-2002 06:58 PM

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

maligno 07-27-2002 08:54 PM

could you explain the steps?

Hotte 07-27-2002 09:12 PM

i can explain the steps how to integrate the google-search into the regular search. but for now, i´m enjoying my beer.

Sparkz 07-27-2002 09:28 PM

Cheers!


All times are GMT. The time now is 10:37 AM.

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.01246 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete