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
  #72  
Old 07-30-2002, 06:00 PM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

im getting the following error (using php 4.2.1)

Fatal error: Call to undefined function: xml_parser_create() in /bla/bla/pear/SOAP/Parser.php on line 93

any Ideas?

Tina
Reply With Quote
  #73  
Old 07-30-2002, 07:15 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to configure your PHP with xml support.
You can find more info here: http://www.php.net/manual/en/ref.xml.php
Reply With Quote
  #74  
Old 07-30-2002, 07:41 PM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Sparkz,
thanks for the info. I thought that would be it but wasnt sure.

got it working now - great stuff!
Reply With Quote
  #75  
Old 08-18-2002, 02:23 PM
Regit Regit is offline
 
Join Date: Jul 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can make the result can display chinese or japanese ....
those asian language ...
my return result all that name become "?" ....

any idea ? thanks
Reply With Quote
  #76  
Old 08-21-2002, 08:28 AM
Regit Regit is offline
 
Join Date: Jul 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no one know how to dispaly the chinese in the result page ??
because all the asian language become "?" in my forum !
Reply With Quote
  #77  
Old 08-27-2002, 08:43 AM
Regit Regit is offline
 
Join Date: Jul 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey , why no body answer my question ??
really no one know the answer ??
Reply With Quote
  #78  
Old 09-16-2002, 05:44 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it "works" however i get this above the header template when i get the search results

Quote:
Notice: Undefined variable: pagenumber in /home/kousetsu/public_html/kan/websearch.php on line 15

Notice: Undefined property: URL in /home/kousetsu/public_html/kan/websearch.php on line 35

Notice: Undefined property: snippet in /home/kousetsu/public_html/kan/websearch.php on line 36

Notice: Undefined property: title in /home/kousetsu/public_html/kan/websearch.php on line 38

Notice: Use of undefined constant template - assumed 'template' in /home/kousetsu/public_html/kan/admin/functions.php on line 1140

Notice: Undefined variable: searchbit in /home/kousetsu/public_html/kan/websearch.php(40) : eval()'d code on line 1

Notice: Undefined variable: pagenumber in /home/kousetsu/public_html/kan/websearch.php on line 45

Notice: Undefined variable: curpage in /home/kousetsu/public_html/kan/admin/functions.php on line 36

Notice: Undefined variable: pagenav in /home/kousetsu/public_html/kan/admin/functions.php(46) : eval()'d code on line 1

Notice: Undefined variable: firstlink in /home/kousetsu/public_html/kan/admin/functions.php(52) : eval()'d code on line 1

Notice: Undefined variable: prevlink in /home/kousetsu/public_html/kan/admin/functions.php(52) : eval()'d code on line 1

Notice: Use of undefined constant template - assumed 'template' in /home/kousetsu/public_html/kan/admin/functions.php on line 1140

Notice: Use of undefined constant template - assumed 'template' in /home/kousetsu/public_html/kan/admin/functions.php on line 1140

Notice: Undefined variable: debug in /home/kousetsu/public_html/kan/admin/functions.php on line 593
Reply With Quote
  #79  
Old 09-28-2002, 11:07 AM
Mike11212 Mike11212 is offline
 
Join Date: Jul 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Link14716
I did, but I still couldn't find it

EDIT: I just saw the search box and found it
Go to where you find the SOAP_Google.php file at theres a tar of SOAP there
Reply With Quote
  #80  
Old 11-04-2002, 03:39 PM
corn's Avatar
corn corn is offline
 
Join Date: Nov 2001
Location: Holland
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to use the search, I see the following message:

Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/joost/forum/websearch.php on line 13

Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/joost/pear/SOAP_Google.php on line 18

Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/joost/pear/SOAP/Client.php on line 23

Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/joost/pear/SOAP/Value.php on line 22

Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/joost/pear/SOAP/Base.php on line 37

What's that means
Reply With Quote
  #81  
Old 02-23-2003, 02:43 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is awesome, but I want to see a Live Demo before installing it, also a new version a bug-free version would be GREAT! :nervous:
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 06:58 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.04899 seconds
  • Memory Usage 2,308KB
  • Queries Executed 27 (?)
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_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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete