The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Google-Search Details »» | |||||||||||||||||||||||||
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
|
Comments |
#42
|
||||
|
||||
Two issues.
1. While I've been testing this and customizing the templates for my site a bit, I've been using this test search: lyrics "road to nowhere" So I could compare how the results look on my site with the real Google, I did the same search there, too. And I've noticed that my site does not have the exact same set of results that the real Google has. Check it out for yourself. You'll see that the first result is the same, but from there, they start to get more different. Why is this? 2. With the same test search as just mentioned, when the results come back, the search box is filled only with lyrics. In other words, the entire part in the quotes has been dropped out. |
#43
|
||||
|
||||
I was able to solve Issue #2 by making the following changes to your websearch.php.
Near the bottom, find this line: PHP Code:
PHP Code:
Also: Because Google limits our accounts to 1000 searches per day, this isn't something that you probably want just anybody being able to use. You have an exclusion to not allow unregistered/unlogged-in people to use it, but I've gone a step further. I've added a new usergroup setting so that you can set each usergroup to be able to use it or not. This may be useful to people who have more privilege levels than what standard vBulletin offers, such as paid members vs. non-paying members, or whatever the case may be. If you'd like instructions on how to set this up, let me know. |
#44
|
||||
|
||||
Quote:
|
#45
|
||||
|
||||
I read them, I just don't understand them enough to know that, lol.
|
#46
|
||||
|
||||
LOL
|
#47
|
||||
|
||||
Quote:
|
#48
|
|||
|
|||
Quote:
|
#49
|
||||
|
||||
Can we have a live demo please?
I can't get this to work :=( All i get is a search result blank page |
#50
|
||||
|
||||
Me too. Ive tried about 4 hours, and make all step by step. Nothing appears after searching. The "websearch-Page" is there and when i search i get a blank white screen.
This sucks! What can i do. I want this hack, but i don?t know what to do.... My Forum is in the webdirectory called "forum". In this directory is the pearl-folder with the content "soap(with the classes)", "soap_google", "net (with dime.php)".... Please help! |
#51
|
|||
|
|||
Try the following: Download the latest pear-base system @ http://pear.php.net/package-info.php?pacid=14 (or use the attachment)
Upload the unzipped file in your pear-directory with all subdirectories. make sure you entered your pearpath in websearch.php then change Code:
$ipath.=":$pearpath"; Code:
$ipath=".:$pearpath"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|