Jump to content

Leo2

Members
  • Content count

    42
  • Joined

  • Last visited

Everything posted by Leo2

  1. The latest version is 1.12. Use search in conrtibutions section of the www.oscommerce.com
  2. I removed the port in the server configuration but with no success for the thumbs.
  3. I need help with the apache or htaccess configuration. I installed the contribution, and it works on my server and home computer, but I can't make it working on my office computer. Links like http://172.18.4.1:82/thumb.php?img/75kwksiweb.thumb are displayed as thumbs but links like http://172.18.4.1:82/img/75kwksiweb.thumb are not. The only difference I noticed in my apache configurations is that I use port number in the office. I suppose that thу problem can be fixed by right virtual servers configurations (or may be I am wrong), but I don'tknow how to do that. Can anybody advise?
  4. Yes, there is no .thumb extension on the images which are not resampled. The additional images uses tep_image also for calling the images <!-- additional_images //--> <table width="100%"> <tr> <td> <?php $info_box_contents = array(); $row = 0; $col = 0; while ($new_products = tep_db_fetch_array($images_product)) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'imagesID=' . $new_products['additional_images_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $new_products['medium_images'], $new_products['images_description'], DISPLAY_IMAGE_WIDTH, DISPLAY_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>' ); $col ++; if ($col > 2) { $col = 0; $row ++; } } new imagesBox($info_box_contents); ?> </td> </tr> </table> <!-- additional_images_eof //--> The name of image file called is taken from datatable and is stored as 'medium images'
  5. Does anybody know if there is version of Easy Populate that works with this AI contribution? The EP for download file doesn't have such modification currently.
  6. I installed this contribution's thumbnail part, it works in general, but on some pages images are not thumbnailed. What can it be? Also, I have Additional images 1.1 and Keep_Image_Proportions mods installed. I noticed, that additional images are not processed. How can I make the additional images thumbnailed?
  7. Just noticed that the $max_rows parameter from $this->number_of_rows_per_page = $max_rows; determines the number of products listed in a category listing. So I had to return this parameter to variable and now get the Divisin by zero error. However, after Michael's fix, the print_catalog page shows 4 products per page. Where I can change this parameter? And where the $max_row is set?
  8. One point more. Can anybody make the script get the $max_rows variable from URL, so one could easily adjust number of products per page? Like /catalog/print_catalog.php?maxrows=n
  9. Thank you Michael, you did great! With your correction the script splits the pages. Now the minor problem is with division by zero, but using sbullo's correction for $max_rows it can be also fixed.
  10. Leo2

    Rounding prices

    Doesn't work. I use prices without tax (tax is included; people like to see final price in the catalog, not only when they finilize an order). So, if I have a product which costs , say 60 USD, and exchange rate is 29.29, I get price in rubles 1,757.40. What I need - to have integer prices in rubles ending with 0 (should be 1760 in example above). Any ideas?
  11. Leo2

    Contribution: Friendly Pricing v1.0

    I need may be something different. I have USD as base currency, and rubles as default currency. So I enter prices in USD, and, since the exchange rate is like 29,21, I get ugly prices in rubles. like 2349, 41 rub. What I need is to round prices in rubles. So, for example, price in rubles would be 2350 rub. Does your contribution do this work?
  12. I have the same error (Warning: Division by zero in c:\web\solarhome\catalog\includes\classes\split_page_results.php on line 59) And the catalog pages are not splitted (all products in one page). Does anybody has a solution? Are there another printable catalog that can print product info WITH descriptions?
×