Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Schizolocal last won the day on August 4 2014

Schizolocal had the most liked content!

1 Follower

Profile Information

  • Real Name
    Stuart Moors
  • Gender
  • Location
    St.Helena Island, South Atlantic (still a bit of red on the map)
  • Website

Recent Profile Visitors

3,486 profile views
  1. Schizolocal

    Cant install Excel Populate

    I've got the installation finished, but I cannot get the user docs - the link http://www.advancewebsoft.com/downloads/documentation/excel-populate-manual-p.html just leads to a blank page
  2. Hi

    I was investigating why my Share Products box was not displaying (turns out is was Adblock on Firefox), but I noticed that the image reference in the link to Pinterest has not been updated with the mods to Protected Images - I have now changed DIR_WS_IMAGES to DIR_WS_IMAGES_PROD in line 61 of sb_pinterest.php

    as in


    45) In catalog/includes/modules/social_bookmarks/sb_pinterest.php

    FIND around line 61
        $params['media'] = tep_href_link(DIR_WS_IMAGES . $image_file, '', 'NONSSL', false);
    REPLACE with
        $params['media'] = tep_href_link(DIR_WS_IMAGES_PROD . $image_file, '', 'NONSSL', false);



  3. Schizolocal

    Share Product box too small

    Solved - It was Adblock Plus preventing social media icons Panic over.
  4. Schizolocal

    Share Product box too small

    I think I've cracked it. Using Firefox on my laptop fails, but using Chrome on my desktop works fine. Looks like it's either Firefox itself, or my privacy settings (So, there's not necessarily anything wrong with the oscommerce software - other than the Pinterest oversight)
  5. Schizolocal

    Share Product box too small

    Oh - that's because the reference is to my testing server which Facebook can't see (it's on my local LAN) Note that outputting something to the Social Bookmarks box does not require that the references are valid. Clicking on the icon will fail, but the icon should be displayed nevertheless.
  6. Schizolocal

    Share Product box too small

    Zahid - it's not a native href - it has to be urldecoded first. It is passed as a parameter to Facebook's 'share.php' program, which presumably does the decoding to restore the proper href.
  7. Schizolocal

    Share Product box too small

    I have found a problem with Pinterest though - I use the Protected Images contribution and the mods have overlooked the sb_pinterest.php reference to a product image. I've corrected that but it hasn't solved anything. Just enabling, say, Facebook displays nothing, and Facebook's link doesn't include a link to a product image like Pinterest's does. The relative reference to the social_bookmarks images looks right to me and the images are definitely there. I'll have to start debugging !!
  8. Schizolocal

    Share Product box too small

    I've done the "Hello World" test and it works fine. The so-called 'garbled' reference is also OK - it's urlencoded, so I suppose Facebook (or whoever) decodes it first before dereferencing. urlencoding changes all non-alphanumeric to hex codes and spaces to + signs. So it is correct. I'll look again at the images (Thanks to all who have replied) Stuart
  9. Schizolocal

    Share Product box too small

    Could it be because of this apparently garbled ref? http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fimages%2FConceptual+2.jpg&url=http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fproduct_info.php%3Fproducts_id%3D35" I've no idea why this should be like this or even if it is so intended. One interesting factoid is that the product image referred to has a filename with a space in it "Conceptual 2.jpg" - this appears to have been translated to "Conceptual+2.jpg" - which highlights my total ignorance of what's going on really. It's not a show stopper - I'll just disable Social Bookmarks, but that would be a shame Stuart
  10. Schizolocal

    Share Product box too small

    Zahid Thanks for the suggestion - but as you may discern from the HTML, there are all the <a href...> elements in the container <div> (which is <div class="ui-widget-content infoBoxContents" style="text-align: center;"> ) and this class is used elsewhere for other widgets which don't appear to be problematic. (I'm not sure how I would try to output simple text to the box anyhow) By the way, the same behaviour occurs on my live server too. Stuart
  11. I'm installing v2.3.4.1 and have come across a glitch Despite me enabling Social Bookmarks and the Product Social Bookmarks features, the Share Product box is just a heading and no content. I have inspected the generated source and the widget seems to include all of the bookmarks, but they just do not get displayed Here's the HTML concerned: <div class="ui-widget infoBoxContainer" > <div class="ui-widget-header infoBoxHeading">Share Product</div> <div class="ui-widget-content infoBoxContents" style="text-align: center;"><a href="http://tufeta/eshop/catalog/tell_a_friend.php?products_id=35"><img src="images/social_bookmarks/email.png" border="0" title="Share via E-Mail" alt="Share via E-Mail" /></a> <div class="g-plus" data-action="share" data-href="http://tufeta/eshop/catalog/product_info.php?products_id=35" data-annotation="inline" data-height="15" data-align="left"></div><script type="text/javascript"> if ( typeof window.___gcfg == "undefined" ) { window.___gcfg = { }; } if ( typeof window.___gcfg.lang == "undefined" ) { window.___gcfg.lang = "en"; } (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> <a href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fproduct_info.php%3Fproducts_id%3D35" target="_blank"><img src="images/social_bookmarks/facebook.png" border="0" title="Share on Facebook" alt="Share on Facebook" /></a> <a href="http://twitter.com/home?status=http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fproduct_info.php%3Fproducts_id%3D35" target="_blank"><img src="images/social_bookmarks/twitter.png" border="0" title="Share on Twitter" alt="Share on Twitter" /></a> <a href="http://pinterest.com/pin/create/button/?description=Conceptual+2&media=http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fimages%2FConceptual+2.jpg&url=http%3A%2F%2Ftufeta%2Feshop%2Fcatalog%2Fproduct_info.php%3Fproducts_id%3D35" class="pin-it-button" count-layout="none"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></div></div> (It's running on my testing server using the latest XAMPP) The referenced images are all in the right places too. So, why does the box not get displayed? Any ideas? Stuart
  12. Schizolocal

    Admin session lifetime extender

    The site isn't set up yet, but when it opens, i'll be selling (and dispatching, expensively :-) local arts and crafts Thanks for the tip - I'll let you know how it goes.
  13. In v2.3.1, I extended the lifetime of the admin session (before auto-expiry) by modifying a variable set in admin/sessions.php. In v2.3.4, the code has been rewritten and now seems to use the php function session_set_save_handler with callback functions as parameters. But I can't seem to fathom how to make the equivalent modification. Any ideas? Stuart
  14. Reset Database Contribution ------------------------------------- Addon: 9111 This feature allows administrators to clear non-permanent tables of the database and delete images from the file system. The most common use of this feature is to clear out data from the database, and delete any images, which have been included as a result of testing and trying out contributions before going live. In general, tables that have been set up as permanent or semi-permanent information (such as configuration, geographical data, tax codes etc) are not touched. To clear these, the best option would be a complete clean re-installation of the database. It is assumed that no images are permanent or semi-permanent, so all can be deleted. The feature allows fine control over which tables and image classes are to be cleared but macro tasks allow grouped actions which address mutually related entities as a unit. Fine control over images is made possible only if you have installed the Protected Images contribution (8560). You can download the Reset Database contribution here: http://addons.oscommerce.com/info/9111 Credits This contribution is mostly original, but the feature was more than a little inspired by the Clear Down Database contribution by Geoffrey Walton (5793)
  15. Schizolocal

    Optional choices in shipping - possible?

    Thanks for the feedback, CodeMonkey In one sense I am disappointed that it is probably more work than I had envisaged (and may even be capable of), but on the other hand it seems I haven't completely misunderstood the concepts. With the three radio button solution, it simply means that the user cannot select both Registered and Advice of Delivery, but that might not be too traumatic.In fact, I had thought of abandoning the Advice option anyway, since it will be the merchant that gets the advice, not the customer. At least with Registered mail. the recipient has a stake in the process. I will have to delve into the Order Total module though - I was hoping Insurance would be just another Shipping option.(I have no problem with the programming once I know the option has been selected) Stuart