Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] WebSearch for OSC v1.0 released


VJ

Recommended Posts

WebSearch for OSC(MS2) v1.0 is now available at http://www.oscommerce.com/community/contributions,1360.

 

This add-on lets you search the Web from a search infobox. And, it runs on Google API, producing the same matches as when you search Google.

 

This add-on was developed and tested on OSC 2.2MS2.

 

You can find this add-on in action, at http://www.vjdom.com.

 

VJ

Link to comment
Share on other sites

VJ :lol:

 

You make some awsome addons!!, thats a great addition

I read somewhere that placing external seaches on your site can generate loads more traffic... love how it moulds into the theme rather then take on the standard Google look. :arrow: :shock:

 

Cheers MaxiDVD

Link to comment
Share on other sites

You make some awsome addons!!, thats a great addition  

I read somewhere that placing external seaches on your site can generate loads more traffic... love how it moulds into the theme rather then take on the standard Google look. :arrow: :shock:  

 

Gee, thanks :-).

 

Ahhh, good to hear external searches help traffic... didn't realize that before.

 

VJ

Link to comment
Share on other sites

  • 10 months later...

Dear VJ,

Thanks for the great addon.

I do have a problem with it, so if you can help me I would really appreciate it.

 

Fatal error: Call to a member function on a non-object in /home/sites/miracles/public_html/shop/includes/classes/web_search_results.php on line 47

 

Thanks so much

Edited by mattice
Link to comment
Share on other sites

Here is the code:

      $this->gs->setQueryString($this->search_string);	

    $rs = $this->gs->doSearch();
     $this->number_of_rows = $rs->getEstimatedTotalResultsCount(); //line 547

     //result accuracy
     $this->result_accuracy = $rs->getEstimateIsExact() ? TEXT_DISPLAY_WEB_SEARCH_RESULT_EXACT : TEXT_DISPLAY_WEB_SEARCH_RESULT_APPROX;

 

 

getEstimatedTotalResultsCount is located in /includes/GoogleSearch.php

Link to comment
Share on other sites

  • 2 weeks later...

Guys,

 

I have enhanced the cosmetic look of the WebSearch for osC.

 

Check out the new revision in the contribution library/database.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...