Jump to content


  • Content count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    Joe234 reacted to spooks in Simple Multi Image Add-on (Un-Limited) with FancyBox Popups   
    image popups in new window
    I've looked in IE & firefox & its fine, I assume you found your error, you do have a lot of javascript on the page, I assume you had conflicts?
  2. Downvote
    Joe234 reacted to Webbies in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    aaaah that's the short description and not the manufacturer description. Oke. :blush:
    I removed that but I still didn't get the manufacturer description on top of the product list when I select the manufacturer. I put in de admin a text.
    In the code of the product listing there's if
    ($row) { $i = 0 ; $nbx = class_exists(noborderBox); if ($col > 0 && $row > 1 && $nbx && !$grid) { for ($i=0, $n=$col; $i < $n; $i++) { $last_row[0][$i] = $info_box_contents[$row][$i]; unset($info_box_contents[$row][$i]); } } if (!$i) {$col = 0;$row ++;$info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" ', 'text' => ' '); } if ($nbx) new noborderBox($info_box_contents); else new contentBox($info_box_contents); if($i) new noborderBox($last_row); echo $Tborderend; } else {$empty_list=true; } } elseif (strstr($thumbnail_view, 'manufacturer')) { //manufacturer $row = 0;$col = 0; if (isset($_GET['manufacturers_id']) && tep_not_null($_GET['manufacturers_id'])) { $filterlist_sql= tep_db_query("select distinct m.manufacturers_id, m.manufacturers_name, mi.manufacturers_description from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "'"); }else{ $filterlist_sql= tep_db_query("select distinct m.manufacturers_id, m.manufacturers_name, mi.manufacturers_description from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' and mi.languages_id = '" . (int)$languages_id . "' order by m.manufacturers_name"); } if (tep_db_num_rows($filterlist_sql)) { $rows = 0; while ($manufacturer = tep_db_fetch_array($filterlist_sql)) { $info_box_heading = array(); if ($rows) echo tep_draw_separator('pixel_trans.gif', '100%', '4'); echo $border2; $info_box_heading[0] = array('text' => '<big>'.$manufacturer['manufacturers_name'].'</big><br />'.(MANU_DESCRIPTION == 'true' ? $manufacturer['manufacturers_description'].'<br />' : '')); new infoBoxHeading($info_box_heading, false, false);
    but why isn't there a description in the productlist when I click on a manufacturer?
  3. Downvote
    Joe234 reacted to francois21 in Contribution: Reciprocal Links   
    I replace in links.php
    <td width="130" align="center"><?php echo '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href="'.$links_tree['link_url'] . '" target="' . $target . '" >';
    if (!$links_tree['links_image']) {
    $pics_array[$i] = 'http://open.thumbshots.org/image.pxf?url=' . $links_tree['link_url'];
    echo tep_image(DIR_WS_IMAGES . 'loading.jpg',$links_tree['link_title'],120,90,'name="pic' . $i . '"');$i++;
    } else {
    echo tep_image(DIR_WS_IMAGES . 'links/' . $links_tree['links_image'],$links_tree['link_title'],'120','90');
    } ?>
    <td width="130" align="center"><?php echo '<a ' . ($links_tree['link_found'] ? '' : 'rel="nofollow" ') . 'href="'.$links_tree['link_url'] . '" target="' . $target . '" >';
    if (!$links_tree['links_image']) { ?>
    <img src="http://open.thumbshots.org/image.pxf?url=<?php echo $links_tree['link_url'];?>" border="0" alt="<?php echo $links_tree['link_title'] ?>" vspace="3">
    <?php /* $pics_array[$i] = 'http://open.thumbshots.org/image.pxf?url=' . $links_tree['link_url'];
    echo tep_image(DIR_WS_IMAGES . 'loading.jpg',$links_tree['link_title'],120,90,'name="pic' . $i . '"');$i++; */?>
    <?php } else {
    echo tep_image(DIR_WS_IMAGES . 'links/' . $links_tree['links_image'],$links_tree['link_title'],'120','90');
    }'</a>'; ?>
    Now all is OK
    If you have an other solution!!
  4. Like
    Joe234 reacted to Jack_mcs in Google XML Sitemap SEO   
    This isn't a new contribution and I don't claim the code in it. This is an update to the excellent work Chemo did on the Google XML Sitemap Feed located here: http://addons.oscommerce.com/info/3233 - version 1.3. It was added as a new contribution do prevent the corruption that exists in so many contributions lately.
    This version includes the following changes:
    - Manufacturers site map
    - Specials site map
    - Human readable output
    The feeds automatically adjust to match the urls if Ultimate SEO is installed, thus preventing some blocked url's by the search engines.
    If you have version 1.3 of the above contribution installed, you can just upload all of the files to update to this version. Be sure to run the sitemap afterwards though.
  5. Like
    Joe234 reacted to spooks in Fancy Pics - Fancy Image Popups / Previews   
    Fancy Pics

    This simple contribution replaces your existing image popups in Product Info etc with some fancy ones, like lightbox, but with better lighter code. It can be used with multi image contribs like Easy Thumbnail with modification, but I prefer to use OscThumb, then you only need to upload a single large image for the product, osCThumb will sort out the small one for you.
    If you want an easy to install better product preview function for your pictures of the goods on your site then look no further!
    One reason for writing this was the compatibility issues with lightbox & other contributions, lightbox will not work with mootools based scripts for example.
    Further this contrib. actually includes two different solutions, firstly Fancybox which is very similar to lightbox, just better lighter code, it has the more options of the two here, but as it is based on the jquery script, which is again incompatible with mootools, you may have an issue should you use mootools already. The other option here is Slimbox, which has less display options, but being mootools based you wont have issues with the likes of the bookmarking Socializer .
    You will find details and examples for Fancybox here and for Slimbox here.
    The contribution is found here
    I hope many find this easy to install and use. :)
  6. Like
    Joe234 reacted to FIMBLE in IP trap Version 3 released   
    I am about to release version 3 of the IP Trap,
    Updated features
    Cleaned code,
    Added a Whitelist, with Search engine IP numbers loaded
    Redesigned the Blocked.php page.
    Added correct syntax for robots.txt
    Updated install file.
    Any comments, questions first see the readme in the contribution then ask here.
  7. Like
    Joe234 reacted to spooks in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    Product Listing Enhancements, Thumbnails & Manufacturer Headings
    This contribution is a much changed version of Product Thumbnail Listing that I started only a short while ago, but as thumbnails is now only one part I felt it should be a new contribution.
    I was requested to make a contribution to Group Product Listing By Manufacturer with a manufacturer short description. This does exactly that based around the original product listing, so the old admin controls apply along with some new ones.
    The thumbnails part displays products with thumbnail images in a grid layout, you define how many boxes per line plus image & box sizes. It shows the product image in a box with product name, price, short description (if you have that) & buy now or details button. This also supports Additional Images (http://addons.oscommerce.com/info/1032) If you have this it will select the medium size image if it exists.
    The customer can switch between thumbnails & manufacturer if you set default to either. If you change default you must select a new category to reset your display.
    Extra setting are added to admin, additionally existing settings controling the display of Product Name & Price Are Honored.
    The database query used is unchanged from the original, so order you set in admin etc will apply as before.
    The style of the display is controlled by a new entry in your css, you can set there if you wish a background image, colours, borders etc.
    Page views are included in the package so you can see the result.
    Written on osC2.2 rc1 with PHP5 and has been tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals compatible.
    Contribution can be found at: http://addons.oscommerce.com/info/6051