Jump to content

spooks

Members
  • Content count

    6,946
  • Joined

  • Last visited

  • Days Won

    18

Reputation Activity

  1. Like
    spooks got a reaction from Leeky in Simple Multi Image Add-on (Un-Limited) with FancyBox Popups   
    Code mismatch and reading issues|!!
     
    1st point, Your the 4th Person to have this issue, what version osc do you have & where did u get it?
     
    See my post of 10th November for revised instruction.
     
    http://forums.oscomm...00#entry1456124
     
     
    2nd point, please read the FAQ.
  2. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    v2.1
     
    Added support for products extra fields (http://addons.oscommerce.com/info/2202), see the doc.
     
     
  3. Like
    spooks got a reaction from fan4chevy in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    examine your generated source code & check the used values are there
  4. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    wnat to add a anchor
     
    There are issues with anchors, probelms & fix detailed in this thread
  5. Like
    spooks got a reaction from fan4chevy in Simple Multi Image Add-on (Un-Limited) with FancyBox Popups   
    What is the actual function of doctype?
     
     
     
    from w3c:
     
    more:
     
     
  6. Like
    spooks reacted to proeis in Simple Multi Image Add-on (Un-Limited) with FancyBox Popups   
    Thnks for this nice contribution.
     
    With oscThumb installed, like another member I found that It does not works If "Encrypt Image Filenames" is set to "true" in admin. (It did not popup in products_info page when clicked thumbnail images).
     
    After I have tried to do following hacks in file [jquery.fancybox.js], it works.
     
    ----------------------------------------------------
    ==>Find
    , imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i;
     
    and replace it with:
     
    , imageRegExp = /(jpg|gif|png|bmp|jpeg)(.*)?$/i;
    ----------------------------------------------------
     
    Hope it helps!
  7. Like
    spooks got a reaction from rglondon in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    I bet you have a thunbnailer installed!!
     
    anyway just add $alt_text = $products['products_name']; b4 that line to restore the text.
  8. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    Description tool tip
     
     
    There is a Description tool tip planned for addition later, but it will be css based, I do not use javascript unless absolutly neccessary, if others wish to prettify things with it then its up to them to sort it out themselves.
     
    This is more complex that it may appear, so I suspect outside your abilities, I think u would do better spending time fixing your site, when I visited I noted the following:
     
    Very slow to load (most will leave if no content within 7 secs) I suspect you have too much on home page, big files etc.
     
    Your site has serious errors, you have 2 head and 2 body sections, you must have only one of each.
  9. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    Uploaded new version 2.3
     
    Added option for multi-add to cart (with attributes support) has some provisos, so read the notes in settings.
    Adjusted modes for 'Details Button'.
    Added further css styling for form elements.
    Moved some new text into language files (Not guaranteeing I've not missed any!!)
    Added hover info box
     
    There is currently on-going development of this contribution, so some controls that currently require changes within the code will ultimately be ported to admin controls.
     
    Changed files: product_listing.php, application_top.php, language files, new buttons, CSS
     
    UPGRADING
    Upload the changed files. Edit altered ones.
    Add new entries to your style sheet
     
    There may be the odd missed bug in this version, when I first looked at the multi-add to cart option I thought it would be staight forward, but it turns out there are a lot of little things to consider, many places in the code that have to be altered to allow for the option (but old code must remain too in-case the option is'nt used) As this now has many different configuration options, it has many operating modes, too many to test all possible variations.
     
    Please make sure you read the notes in settings before you raise any issues.
     
     
    I hope you like it.
  10. Downvote
    spooks reacted to mavermedia in Sts help Pleease   
    I set up STS and it said go to the text page, i went and it is all numbers and vaiables, should it not be showing the working php even know the link is .html???
  11. Downvote
    spooks reacted to ktroncat in Links Manager II V 1.16   
    I went "here" and this is were I ended up....why can't anyone on this site just answer a queston!!!!!!!!
  12. Downvote
    spooks reacted to ktroncat in Links Manager II V 1.16   
    Hi,
     
    I'm just getting my site set up, adding options, etc. I added Links Manager II V 1.16. It shows up on the admin side. I can edit and all that....the problem is that the info box won't display. I tried putting the include in both the left and right column php, but noting shows up. I don't get any error messages either.
     
    Any ideas???? Any help would be appreciaed
     
    Thanks
    Alice
  13. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    then you have iether failed to upload the changed files, or modified the wrong ones for your site.
  14. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    Had a moment to look , in product_listing.php, find (near bottom):
     

    if (!strstr(PRODUCT_THUMBNAIL_VIEW, 'list') && LISTING_SWITCH != 'false' && !$empty_list) echo '<br /><span class="smalltext"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('list')). 'list='.(strstr($thumbnail_view, 'thumbnails') ? 'manufacturer' : 'thumbnails')) . '">' . (strstr($thumbnail_view, 'thumbnails') ? LIST_VIEW : THUMB_VIEW).'</a></span><br /><br />';
     
    replace with:
     

    if (LISTING_SWITCH != 'false' && !$empty_list) echo '<br /><span class="smalltext"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('list')). 'list='.(strstr($thumbnail_view, 'thumbnails') ? 'manufacturer' : 'thumbnails')) . '">' . (strstr($thumbnail_view, 'thumbnails') ? LIST_VIEW : THUMB_VIEW).'</a></span><br /><br />';
  15. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    Uploaded new version 2.1
     
    Take care some parts of this versionm are un-tested.
     
    Added support for products extra fields (http://addons.oscommerce.com/info/2202), see settings for use.
    Added a css image tooltip, if enabled when the mouse is hovered over a product pic a larger version will show, see settings for use.
     
    Changed files: product_listing.php, products_new.php, index.php, advanced_search_result.php, CSS
     
    UPGRADING
    Upload the changed files.
    Edit index.php & advanced_search_result.php to add new style section in the head
    Add new entries to your style sheet
     
    tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals compatible.
     
    Enoy.
  16. Downvote
    spooks reacted to prince_66 in osc thumbs doesn't work no display images   
    hello everyone here ,
    i try to install oscthumbs by following joining instructions i care about the modified files for compare with winmerge it 'seems ok
    when i turn the on master switch button my pics are gone i try several times with unmodified settings in the admin menu and in following the manual
    i try to : modified the files phpThumb/cache/ to /phpThumb/cache/ no change
    i read all the topics about this but i don't find any help
    if someone would like to help meit's great
  17. Like
    spooks got a reaction from arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    If you using a thumbnail made the products_new.php file will use the image size set in the listing section otherwise it uses the small image size setting.
  18. Like
    spooks got a reaction from multimixer in Pure CSS Image Swap On Hover For osC Buttons   
    Pure CSS Image Swap On Hover For osC Buttons
     
    This simple mod will allow you to have a mouseover image for any of your osC buttons, its pure css, no javascript, all you have to do is create your hover button pics.
     
    Features:
     
    1.A very simple add-on, only one file to edit.
    2.Mouseover effect is automatically applied if a button has a hover image.
    3.Tested & works in all major browser engines.
    4.Pure css.
    5.Will work with any varient of osC v2.2.
    6.If hover effect is not applied the standard osC function is used.
    7.Only one file to edit & only one change to that!
    8.Will work with any language.
     
     
    Tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals off compatible.
     
     
    Contribution will be found here
     
     
    Enjoy
     
     
     
    .
  19. Downvote
    spooks reacted to RyGoTypE in [Contrib] Modification Request   
    So I have installed this contribution "Ultimate SEO URLs" and I am impressed. I think this is a useful contribution. There is one thing that bothers me about it. Currently, it seems like it removes spaces. I would like spaces to be replaced with dashes (-'s) "-". I do not know how to do this so I was wondering if someone else could take a look at it for me.
     
    Examples of current URLs...
    Current Parent Category URL looks like:
    domain.com/dvdmovies-c-3.html
     
    Current Parent/Child Category URL looks like:
    domain.com/dvdmoviesaction-c-3_10.html
     
    Current Product URL looks like:
    domain.com/dvd-movies-action-thereplacementkillers-p-4.html
     
    What I am looking for...
    Parent Category URL:
    domain.com/dvd-movies-c-3.html
     
    Parent/Child Category URL:
    domain.com/dvd-movies-action-c-3_10.html
     
    Product URL:
    domain.com/dvd-movies-action-the-replacement-killers-p-4.html
     
    I included all the information about the contribution below.
     
    Contribution
     
    Ultimate SEO URLs
     
    Category: Other
    URL: http://www.oscommerce.com/community/contributions,2823/download,26127
    Version: Ultimate SEO 2-2.2d-5
    Date: 2 Oct 2009
    Description:
  20. Like
    spooks got a reaction from Ken44 in Product Listing Enhancements, Thumbnails & Manufacturer Headings   
    The trouble with ie8 is that ms thinks its fully complient, but its ms, so of course it aint , its a problem that occurs often, the only reliable solution I've found is to force compatibilty mode by adding:
     

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
     
    just after the doctype declaration, you'll need to do that in index.php & advanced_search_result.php
     
    w3c issue
    percent width, look for intances of:
     

    width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%"
     
    replace with
     

    width="'.(PRODUCTS_PER_ROW ? (int)(100/PRODUCTS_PER_ROW) : '').'%"
     
    For the form issue:
     
    find:

    $display .= $borderend . $form . '<br />' . (PRODUCT_LIST_OPTIONS == 'true' ? attribute_drop($products['products_id'],$products['products_tax_class_id']) . $button : $button) . '</form>';
    add b4:

    $form = tep_draw_form('cart_quantity_' . $col . $row, tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action','products_id')) . 'action=add_product'));
     
    Not that the name is used anywhere!!
  21. Downvote
    spooks reacted to Richard Cranium in [Contribution] Scrolling Customer Testimonials   
    Here's another bug fix... until I get v1.1 rolled out. One line of code to change to solve problem where if there are zero testimonials available in the customer's language, the "write a testimonial" box is displayed twice.
     
    1. Open includes\boxes\customer_testimonials.php
     
    2. Remove line 52:
     

    new infoBox($info_box_contents);
  22. Like
    spooks got a reaction from Joe234 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?
  23. Like
    spooks 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?
     
    Angelique
  24. Like
    spooks 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');
    } ?>
    </a></td>
     
     
     
    with
     
    <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>'; ?>
    </td>
     
    Now all is OK
     
    If you have an other solution!!
  25. Downvote
    spooks reacted to jigga1234 in Flash Slideshow cannot get the links to open in _self   
    Hello,
     
    I have downloaded and installed the AJAX Suber baner Slideshow in Home Page contribution found here and everything seems to be working great apart from one problem.
     
    when you click on the flash images they open a link (which is what I want) however it opens in a new window in IE and a new tab in Firefox. I want it to open in the same window.
     
    I have read that you need to change your script to say navigateToURL(_self); However in the three files that are contained in the contribution none of them contain the words navigateToURL in them. I have looked at the script that the contribution uses and again there is no reference to navigateToURL within this.
     
    Could anyone explain a couple of things to me?
    1.does a flash link by default open in a new window?
    2.Can anyone download the contrib have a quick look at the files and let me know if they have any idea on how to change this?
     
    Thanks to anyone who replies :)
×