Jump to content

Demitry

Members
  • Content count

    352
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Demitry

  1. Demitry

    Product listing

    @raiwa Hi Rainer, I solved it! ..and it was not a bug in the code. It was completely my fault. I apologize to you and everyone else following this thread. After spending a lot of time trying to find the coding issue in tep_destroy_thumbs_dir(), I looked at tep_cfg_reset_thumbs_cache() and noticed that the $dir value of DIR_FS_CATALOG_IMAGES is for the admin image folder definition. After that, I looked at the BootStrap installation document in the addon package and realized that I added those two functions to the /includes/functions/general.php instead of the /admin/includes/functions/general.php file. After making this correction I tested and it solved all the issues I was having. ..really sorry, and thank you for your time. Demitry
  2. Demitry

    Product listing

    @raiwa thank you for the reply, Rainer. I've been testing this problem with changing the file permissions manually on the folders and files for that thumbs folder and it is not making a difference. My hosting server settings are to create folders with 755 permissions and files with 644. However, I have an older version of this addon for an MS2.2 site and though the chmod code does not change the file or folder permissions to 777, I've never had this problem on that site. The way I understand this process, is that when I change the Admin > Configure > Images > KissIT Reset Thumbs setting to "reset" and save, it should delete that /image/thumbs/ directory and all of its contents. Then recreate it with each tep_image() call accessed via site page load along with the new settings from the configuration table. Is this correct? ...because it if is, this is not happening with this BS Edge install regardless of folder & file permissions.
  3. Demitry

    Product listing

    @raiwa hey Rainer, Could you please check & test the tep_destroy_thumbs_dir() function in /includes/functions/general.php? I think this is where my thumbs problem is coming from. The chmod in that function is not setting anything to 777, and when I reset the thumbs in Admin > Configuration > Images, it does not remove the thumbs directory or any of its contents as I think the function is supposed to do. Thanks.
  4. Demitry

    Product listing

    ok, I fixed it, but this is a bug with this addon, because the fix was to go into /images/thumbs/ and delete all folders of thumbs and then regenerate them by re-loading the home page again.
  5. Demitry

    Product listing

    I opened a 3rd browser (FF, Chrome, and now IE) that does not have any cache of this page and I cleared the cache before loading the product page for A Bug's life,... same problem. For some reason the thumbs cache reset is not clearing the cache for this initial product page I loaded. This is not a browser cache problem. Any suggestions please?
  6. Demitry

    Product listing

    @raiwa I did that and the problem persists in the 2 browsers I checked. However, there is a bit more to this issue. I initially did this on A Bug's Life sample prod and when I went to the home page and then checked the other product pages, they are fine and following the setting I made in the admin section for those images. However, when I go back to that product page for A Bug's Life, the watermark is there and the image is not upsized (as per my setting to allow upsizing).
  7. Demitry

    Product listing

    I read the instructions and setting the watermark size to 0 and resetting the thumbs cache afterwards did not work either.
  8. Demitry

    Product listing

    @raiwa hey Rainer, After installing this addon including the product_info.php mods on my new BS Edge, I went into Admin > Configure > Images and tried to find the control to remove the watermark. I removed the watermark file name and reset the thumbs, then cleared the store cache and did a hard refresh (F5) on the browser, but the watermark file is still covering the image on the product_info page. Also, I assume that the thumbs reset option is a regeneration of all thumbs and should only be set to "reset" for that purpose and then reversed back to "false".. is that correct? So, is there a better way to disable the watermark or should I try adding a 1px transparent file as the watermark?
  9. Demitry

    Get 1 Free

    Right,.. I saw that. Cheers to Jim as well. ...really great stuff!
  10. Demitry

    Get 1 Free

    @Tsimi Excellent! ..really great job on this addon! Thank you much. Demitry
  11. Demitry

    Get 1 Free

    @Tsimi Thank you Lambros. One last thing,.. there was a conditional statement you added based on status ..a post from March 3rd and 4th of 2015 (page 17). This one: if (($free_product['get_1_free_expires_date'] > date('Y-m-d H:i:s')) || ($free_product['status'] == 1)) { I don't see it in /includes/modules/content/get_1_free/cm_pi_get_1_free.php You said prior that it fixed an issue, so should it be added?
  12. Demitry

    Get 1 Free

    cool, thanks!
  13. Demitry

    Get 1 Free

    @Tsimi Wow! That was fast man! I uninstalled the other one and am installing this one. One thing,.. in the install.txt there is mention of a new file: catalog/includes/functions/get_1_free.php but it is not in the package.
  14. Demitry

    Get 1 Free

    @Tsimi hey Lambros, If you do an update release, please don't forget to include that product_info.php page bug fix that you and David (Roaddoctor) worked on. I only found it on this forum after installing the addon. It's on page 17. Thanks. Demitry
  15. Demitry

    Get 1 Free

    this one from Sept 20th, 2015: Hi tsimi, I have installed get 1 free on oscommerce bootstrap master. Now I have to do an adjustment in shoppingcart.php on line 102. $products_name .= '<br>' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'style="width: 45px;"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_hidden_field('free[]', $products[$i]['free']) . ' ' . tep_draw_button(NULL, 'glyphicon glyphicon-refresh', NULL, NULL, NULL, 'btn-info btn-xs') . ' ' . tep_draw_button(NULL, 'glyphicon glyphicon-remove', tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product'), NULL, NULL, 'btn-danger btn-xs'); it comes to glyphicon. it is removed in master ???? should it be adjusted or not ???? because it works properly I think. and there are also instructions for $HTTP_POST_VARS and $HTTP_GET_VARS, which don't exist in BS Edge. And another line that was re-coded for BS Edge, which does not match the instructions. I cannot remember what file it's in at the moment. Like I said, not a big deal, but would be for someone less technical.
  16. Demitry

    Get 1 Free

    @Tsimi Hey Lambros, I installed this addon and just wanted to let you know that the latest release has instructions that do not fit the BS Edge install. For one thing, there are no file name definitions, or a files for /admin/includes/filesnames.php or /includes/filenames.php And, there are code changes like what Will (dinopacha) mentioned above for shopping_cart.php, ..plus other instructions. That's not a big deal for me, because I can work my way around code, but it would be a for a non-technical user.
  17. Demitry

    Product listing

    @raiwa Thanks Rainer, ..great contribution!
  18. Demitry

    Multi_Vendor_Shipping new thread

    @kymation Jim, Do you have a code patch to make this BS Edge compatible? Thanks.
  19. Demitry

    Multi_Vendor_Shipping new thread

    @kymation hi Jim, Is there a version of this MVS addon for BS Edge?
  20. Demitry

    Product listing

    @raiwa Hi Rainer, I'm about to install the BootStrap version of this addon into a BS Edge set-up. I have not yet looked through the files in the package, but I did search this entire forum for the following. I noticed that BS Edge adds the img-responsive class to tep_image() and this BootStrap class has the height set to auto. The same thing with the thumbnail class. So, ..does this addon address this image responsive resizing?
  21. @Tsimi Lambros, thanks man! I actually did all that except for the conditional statement. I'll add that now, thanks again. Demitry
  22. @Tsimi ok, ..what is was is that I renamed a variable and then uploaded all files with the changed variable name. After that, the admin panel was displaying an inputbox instead of a the choice to enable the divider. So, I uninstalled and re-installed both modules and that fixed it. However, the dividers are still not displaying in the XS menu... not sure why.
  23. @Tsimi hang on, let me fix something first before you mess with it. I made a change that is now causing that divider option not to show up in the admin panel. So let me fix that before you spend any time on it. Sorry about that. I'll let you know once I fix that piece and if the divider is still not displaying.. thanks man
  24. @Tsimi just tested it and it's not working. Thinking about it, ..the class files are for structuring the the dynamic categories menu list, but I had added more menu options to it and those had <li class="divider"></li> tags, which were not showing up. So, the class file missing that divider code was not the issue.
  25. @Tsimi yep, I found it, right after I made that last post. lol
×