Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

raiwa

♥Ambassador
  • Posts

    4,823
  • Joined

  • Last visited

  • Days Won

    161

Reputation Activity

  1. Like
    raiwa got a reaction from valquiria23 in Español pack para OsC Responsive BS EDGE o Gold   
    Uploaded Versión 1.0.7.12 for OSCOM CE Phoenix 1.0.7.12
    1.0.7.12. Phoenix
  2. Thanks
    raiwa reacted to vmn in KissIT Image Thumbnailer Support   
    Hi,
    I'm using Phoenix 1.0.7.11 and KissIT 3.4.2 and noticed that it creates empty folders for gallery images.
    I verified this using stock versions of 1.0.7.11 and KissIT.
    The function tep_image in kiss_it_image.php first creates a folder and the function _generateThumbnail in Image_Helper.php
    does not need it, because thumbs are not used for gallery images.
    This fix works for me. No empty folders will be created after applying it.
    In kiss_it_image.php tep_image replace the lines between
    // Create thumbs sub dirs and .htaccess.
    and
    // End create subdirectory and .htaccess.
    as follows
    //VMN NOT NEEDED Create thumbs sub dirs and .htaccess.    
    //VMN build thumbs sub dir path, in case it's needed
    $thumbs_dir_path = str_replace('images/', 'images/' . KISSIT_THUMBS_MAIN_DIR . $width .'_'.$height.'/', dirname($src) . '/');
    //VMN MOVED TO Image_Helper _generateThumbnail if(!is_dir($thumbs_dir_path)) {
    //VMN MOVED TO Image_Helper _generateThumbnail  mkdir($thumbs_dir_path,0775,true);
    //VMN MOVED TO Image_Helper _generateThumbnail }
    //VMN NOT NEEDED because sub dirs are created using mkdir('path',mode,true)
    //VMN NOT NEEDED $thumbs_dir = '';
    //VMN NOT NEEDED $thumbs_dir_paths = explode("/",$thumbs_dir_path);
    //VMN NOT NEEDED for ($i=0, $n=sizeof($thumbs_dir_paths); $i<$n; $i++) {
    //VMN NOT NEEDED $thumbs_dir .= $thumbs_dir_paths[$i] . '/';
    //VMN NOT NEEDED if(!is_dir($thumbs_dir)) {
    //VMN NOT NEEDED    mkdir($thumbs_dir, 0775);
    //VMN NOT NEEDED }
    //VMN NOT NEEDED create .htacces protection like in main image dir
    //VMN NOT NEEDED if (($i==$n-1) && (!is_file($thumbs_dir . '.htaccess')) ) {
    //VMN NOT NEEDED   $hpname = $thumbs_dir . '.htaccess';
    //VMN NOT NEEDED   if ($hp = fopen($hpname,'w')) {
    //VMN NOT NEEDED     fwrite($hp,$htacces);
    //VMN NOT NEEDED     fclose($hp);
    //VMN NOT NEEDED   }
    //VMN NOT NEEDED }
    //VMN NOT NEEDED} // end for
    //VMN NOT NEEDED End create subdirectory and .htaccess.
    There is no unnecessary creation of thumbs subfolders and htaccess files.
    The main thumbs folder htaccess will protect supbfolders as well.
    The only reference of $thumbs_dir_path is in $image = new Image_Helper(...).
    ================
    in Image_Helper.php  _generateThumbnail below the line:
    //make sure the thumbnail directory exists.
    1. comment out/remove the lines
     
    //VMN NOT NEEDED if ( !is_writable ( $this->thumbs_dir_path ) ) {
    //VMN NOT NEEDED    trigger_error ( 'Cannot detect a writable thumbs directory!', E_USER_NOTICE );
    //VMN NOT NEEDED }
    //VMN            The check below is already done in _checkImage returning 'no_thumb_required'
    //VMN NOT NEEDED if ( is_readable ( $this->_thumb_src ) ) {
    //VMN NOT NEEDED    $this->_calculated_width =  (int)$this->attributes['width'];
    //VMN NOT NEEDED    $this->_calculated_height = (int)$this->attributes['height'];
    //VMN NOT NEEDED    return $this->src = $this->_thumb_src;  
    //VMN NOT NEEDED }
    2. add
          //VMN moved from kiss_it_image.php
          if(!is_dir($this->thumbs_dir_path)) {      
             mkdir($this->thumbs_dir_path,0775,true); // true ->Allows the creation of nested directories specified in the pathname
          }

    Do you see any problems with this approach?
     
  3. Thanks
    raiwa reacted to bitit.it in Discount Code 5.3.2 phoenix in 1.0.7.9   
    Discount_Codes_5.3.2_Phoenix+italiano.zip
  4. Thanks
    raiwa reacted to vmn in KissIT Image Thumbnailer Support   
    Hi,
    I've upgraded Phoenix from 1.0.7.9->1.0.7.10->1.0.7.11 and noticed that the Gallery Kissit setup stopped working.
    I think I managed to upgrade pi_gallery_kissit.php to be compatible with 1.0.7.11. Maybe you already have done that. Here's my stuff.
     
    pi_gallery_kissit.zip
  5. Like
    raiwa reacted to piernas in ULTIMATE Seo Urls 5 - by FWR Media   
    @omar the new ht_canonical should be slightly different. It adds canonical tags to write review (review.php) that is currently rewritten to review.html. It's not important as this page should not be indexed by spiders but I think I should also add it to noindex pages.
    I want to study the new pages system to see if it's good to add rewrite rules to it, too, so / info.php?pages_id=4 would become /slug.html
     
     
  6. Thanks
    raiwa got a reaction from burt in Español pack para OsC Responsive BS EDGE o Gold   
    Uploaded Versión 1.0.7.11 for OSCOM CE Phoenix 1.0.7.11
    1.0.7.11. Phoenix
  7. Like
    raiwa got a reaction from valquiria23 in Español pack para OsC Responsive BS EDGE o Gold   
    Uploaded Versión 1.0.7.11 for OSCOM CE Phoenix 1.0.7.11
    1.0.7.11. Phoenix
  8. Like
    raiwa got a reaction from valquiria23 in [Contribution] Ship In Cart   
    Uploaded:
    Ship In Cart Phoenix 5.2
     Compatibility:
      OsC CE Phoenix 1.0.5.1+
      Tested with Phoenix 1.0.7.11
      PHP: 7.0 - 7.4
     
    Changes Vers. 5.2:
      - Fixed notice error. Thanks to @14steve14
      - Updated for actual Phoenix coding standards
      - tested under Phoenix 1.0.7.11 and PHP 7.4
  9. Like
    raiwa got a reaction from valquiria23 in Reviews Navbar Header Module BS   
    Updated for Phoenix 1.0.7.3+
    Tested with Phoenix 1.0.7.10
    Reviews Navbar Header Module Phoenix 3.0
    Changes Version 3.0:
    Updated for Phoenix 1.0.7.3+
    - Updated all modules to abstract executable module
    - Code modernization to match core modules
    Compatibility:
    Phoenix CE 1.0.7.3+ PHP: 7.0 - 7.4
    Phoenix CE 1.0.0.0 - 1.0.7.2 please use Version 2.0
     
    Pro Version available which includes ther following Navbar and Header Modules:
    New Products (What's New) Specials (Special Offers) Manufacturers Best Sellers Reviews Testimonials Order History
  10. Thanks
    raiwa got a reaction from Smoky Barnable in Reviews Navbar Header Module BS   
    Updated for Phoenix 1.0.7.3+
    Tested with Phoenix 1.0.7.10
    Reviews Navbar Header Module Phoenix 3.0
    Changes Version 3.0:
    Updated for Phoenix 1.0.7.3+
    - Updated all modules to abstract executable module
    - Code modernization to match core modules
    Compatibility:
    Phoenix CE 1.0.7.3+ PHP: 7.0 - 7.4
    Phoenix CE 1.0.0.0 - 1.0.7.2 please use Version 2.0
     
    Pro Version available which includes ther following Navbar and Header Modules:
    New Products (What's New) Specials (Special Offers) Manufacturers Best Sellers Reviews Testimonials Order History
  11. Like
    raiwa got a reaction from Fredi in AJAX Attribute Manager support   
    You do not need products_attributes.php using Ajax attributes manager 😉
  12. Like
    raiwa got a reaction from valquiria23 in Holiday-Promotional Message Add-On BS   
    Updated to Holiday-Promotional Message 3.1.0 Phoenix
    Compatibility:
    OsCommerce CE Phoenix 1.0.7.3.+.
    PHP 7.0-7.4
    Changes version 3.1.0:
    - Updated for CE Phoenix 1.0.7.3+
    - updated header module to abstract executable module- updated langiage files to const
    - updated order mail hook to siteWide checkout notify hook
     
  13. Like
    raiwa got a reaction from Nige-A in Wholesale (SPPC lite)   
    In: includes/hooks/admin/siteWide/wholeSale.php
    change line 28 to:
    if (isset($pInfo) && is_object($pInfo) && !empty($pInfo->products_id) ) { // product info box contents I'll add this fix and the fix for the other notice errors in the next update.
    The notice errors are not important.
    Anyway, the usual way in 99% of all cases is to duplicate an existing product instead t o create a new one from zero.
  14. Like
    raiwa got a reaction from Fredi in AJAX Attribute Manager support   
    Uploaded:
    Ajax Attribute Manager 3.3.2
    Requires:
    OsCommerce Phoenix 1.0.7.10+ REQUIRED!
    PHP 7.0 to 7.4
    Changes Version 3.3.2.:
    + added support for Phoenix 1.0.7.10 core sort order
    + removed optional product_options_sort_order support
    + added auto update script for product_options_sort_order to core sort order columns.
    + normalized spacing and indents.
    + updated custom database functions to use core functions.
    + modernized coding to match core standards
    *********************************************************************
    If you were using attributes/options sort order from previous versions:
        - Make a database backup for security if something gets messed up.
        - On first load of this version, the old sort order entries will be migrated to the new core sort order columns.
        - Check your database for success after you loaded the new attributes manager.
        - Use the product info options/attributes sort order content module included in Phoenix 1.0.7.10
    *********************************************************************
     
     
  15. Like
    raiwa got a reaction from alix32 in QTPro BS   
    Hi Alix @alix32,
    I just checked on my Phoenix 1.0.7.4 develop store and can confirm this behaviour. I'm not sure, but I believe this was always like this.
    Anyway you can easy adjust the total quantity using the button:
    Automatic Solutions Avaliable:
    Set the summary stock to:XX
    ANd even you won't correct the total quantity, it has no effect on the correct stock showing and stock check working on the public store side.
    Maybe I'll address this in the next update which is planned for the Phoenix 1.0.8.0 release.
    regards
    Rainer
  16. Like
    raiwa got a reaction from radhavallabh in AJAX Attribute Manager support   
    Uploaded:
    Ajax Attribute Manager 3.3.2
    Requires:
    OsCommerce Phoenix 1.0.7.10+ REQUIRED!
    PHP 7.0 to 7.4
    Changes Version 3.3.2.:
    + added support for Phoenix 1.0.7.10 core sort order
    + removed optional product_options_sort_order support
    + added auto update script for product_options_sort_order to core sort order columns.
    + normalized spacing and indents.
    + updated custom database functions to use core functions.
    + modernized coding to match core standards
    *********************************************************************
    If you were using attributes/options sort order from previous versions:
        - Make a database backup for security if something gets messed up.
        - On first load of this version, the old sort order entries will be migrated to the new core sort order columns.
        - Check your database for success after you loaded the new attributes manager.
        - Use the product info options/attributes sort order content module included in Phoenix 1.0.7.10
    *********************************************************************
     
     
  17. Thanks
    raiwa reacted to 14steve14 in [Contribution] Ship In Cart   
    @raiwa Rainer. I have just added a download (virtual) product to my cart and I get the following error
    I did get a similar error which I posted about in the 1.0.7.10 forum here but that change has obviously not stopped the error in this module
    The trouble I am having in that your code looks nothing like the core code so cant suggest a change.
  18. Thanks
    raiwa got a reaction from jonwix in AJAX Attribute Manager support   
    Uploaded:
    Ajax Attribute Manager 3.3.2
    Requires:
    OsCommerce Phoenix 1.0.7.10+ REQUIRED!
    PHP 7.0 to 7.4
    Changes Version 3.3.2.:
    + added support for Phoenix 1.0.7.10 core sort order
    + removed optional product_options_sort_order support
    + added auto update script for product_options_sort_order to core sort order columns.
    + normalized spacing and indents.
    + updated custom database functions to use core functions.
    + modernized coding to match core standards
    *********************************************************************
    If you were using attributes/options sort order from previous versions:
        - Make a database backup for security if something gets messed up.
        - On first load of this version, the old sort order entries will be migrated to the new core sort order columns.
        - Check your database for success after you loaded the new attributes manager.
        - Use the product info options/attributes sort order content module included in Phoenix 1.0.7.10
    *********************************************************************
     
     
  19. Thanks
    raiwa got a reaction from mhsuffolk in Stripe v3 module for SCA   
    Uploaded
    Stripe v3 SCA Version 1.1.0
    Thanks to @ecartz for the base update of the module and the help.👍
    Thanks to @Mikepo for testing!👍
    Package includes:
    Full version 1.1.0 for Phoenix 1.0.7.9+ONLY!
    Changes 1.1.0
    - Update for Phoenix 1.0.7.9+
    - removed duplicated language constant
    - Fixed javascript error to allow to save cards
    - Updated account card module
    - changed save card tick box to bootstrap slider
    - Updated Stripe SDK to 7.61/3.01
    Full version 1.0.17 for Phoenix 1.0.5.1+ONLY!
    Changes 1.0.17
    - Fixed javascript error to allow to save cards
    - Updated Stripe SDK to 7.61/3.01
    Full version 1.0.16 for all previous OSC and Phoenix versions
    Changes 1.0.16
    - Fixed javascript error to allow to save cards
     
  20. Thanks
    raiwa got a reaction from domiosc in Hide Boxes on small devices   
    Side column boxes are moved to the bottom of the page on small devices like mobile phones. This makes them not very useful and shopowners often with to hide them on mobile devices.
    This Header Tag module allows to add Bootstrap Responsive Display Utility Classes to the Side Column Boxes.
    You can tick any installed box to hide it on small devices.
    Much easier than to edit box template files and add the display classes.
    Hide Boxes on small devices
    Compatibility:
    CE Phoenix 1.0.5.4+
    Tested with Phoenix 1.0.7.9
    PHP: 7.0 - 7.4
     
    Pro version "Hide Modules on different viewports" available:
    Allows to add Bootstrap Responsive Display Utility Classes (and any other class) to the Side Column Boxes, Navbar, Header, Footer and Footer Extra modules. You can control for each module if it will be shown for each device size.
  21. Like
    raiwa got a reaction from Omar_one in AJAX Attribute Manager support   
    it's supposed to be used the core module which includes this now already
  22. Thanks
    raiwa reacted to Omar_one in AJAX Attribute Manager support   
    and in /includes/modules/content/product_info/cm_pi_options_attributes
  23. Thanks
    raiwa got a reaction from Omar_one in AJAX Attribute Manager support   
    @Omar_one and others:
    There are some hardcoded instances of "products_options_sort_order" which need to be changed to "sort_order" in:
    - admin\attributeManager\classes\attributeManager.class.php
    - admin\attributeManager\classes\attributeManagerConfig.class.php
  24. Thanks
    raiwa reacted to Omar_one in AJAX Attribute Manager support   
    @raiwa thank you that fixed ,,  
     
     
  25. Thanks
    raiwa got a reaction from burt in Español pack para OsC Responsive BS EDGE o Gold   
    Uploaded Versión 1.0.7.10 for OSCOM CE Phoenix 1.0.7.10
    1.0.7.10. Phoenix
×
×
  • Create New...