Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

About tpros

  • Birthday 08/18/1979

Profile Information

  • Real Name
    Tony Pros
  • Location
  • Interests
    Drums, Audio Engineering, Computers, Music
  • Website

Recent Profile Visitors

3,173 profile views
  1. I'm curious if this contrib is OK for MS 2 use.
  2. I tried to add the short product description contrib to my site, It really messed up the tables, even with moving the pictures to list column 1. There is a function in the general.php file that wa made for the contrib: function osc_trunc_string($str="",$len=150,$more=1) The way I want to implement this is by putting a <br> into the product listing colum and putting in the code example: (my code is slightly modified to add the manufacturer to the list also) $lc_text = '<a class="productListing-data" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . ($HTTP_GET_VARS['cPath'] ? $HTTP_GET_VARS['cPath'] : tep_get_product_path($listing_values['products_id']) ) . '&products_id=' . $listing_values['products_id'], 'NONSSL') . '">' . $listing_values['manufacturers_name'] . ' ' . $listing_values['products_name'] . '</a><br>' . osc_trunc_string(strip_tags($listing_values['products_description'], ''), PRODUCT_LIST_DESCRIPTION_LENGTH) . ''; So I'm wondering what code would I need so that I'm not dealing with broken colum and table issues currently present in my site http://www.forksdrumcloset.com
  3. I think I may have found a problem. catagories are in reverse order Example: Easy Populate output for catagoy: Signature Series > Pearl > Snares It should be: Snares > Pearl > Signature Series
  4. tpros

    EasyPopulate 2.3 Released

    Thanks for the quick reply, Here is the current error: Parse error: parse error in /home2/forks/forksdrumcloset-www/catalog/admin/easypopulate_functions.php on line 42 Here is how my edit looks: // function tep_get_tax_class_title($tax_class_id) { // if ($tax_class_id == '0') { // return TEXT_NONE; // } else { // $classes_query = tep_db_query("select tax_class_title from " . TABLE_TAX_CLASS . " where tax_class_id = '" . $tax_class_id . "'"); // $classes = tep_db_fetch_array($classes_query); return $classes['tax_class_title']; } }
  5. tpros

    EasyPopulate 2.3 Released

    Tim, this is a great contrib. Thanks for the hard work. I've been having a bit of a problem and can't seem to find the answer here in the BB. Here's the error I'm getting: Fatal error: Cannot redeclare tep_get_tax_class_title() (previously declared in /home2/forks/forksdrumcloset-www/catalog/admin/includes/functions/general.php:1135) in /home2/forks/forksdrumcloset-www/catalog/admin/easypopulate_functions.php on line 34 Any idea's. I'm using a snapshot from may.
  6. tpros

    Keep Image Proportions

    If you have an image with a 1:15 ratio, then you would get a really long image that's 90px high. This is unacceptable. We need it to fit within an A x B box. while retaining its size ratio.
  7. Thanks Linda, I think that might be the trick, I've been using place holder images. So I never ran into missing image problems.
  8. Do I need to change in 2 places? there are 2 html_output I wouldn't worry too much about the admin side of things. I couldn't tell you why you're getting that error except that maybe you have a very old or very new snapshot that possibly may not work, but my php and programming skill-age is very small.
  9. Alright I just posted this Contrib and you can get it at: http://www.oscommerce.com/downloads.php/co...ions,493/type,3