Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2010
    Posts
    53
    Plugin Contributions
    2

    help question Old file repository? Other hints?

    My general question is how can I know if an old mod is overriding something that is new and important (potentially even presenting security risks)? Is there a way to go back to a version when the mod was written so you can compare the files and make sure you are using JUST the code the mode puts in?


    For this example I will use the mod "Swap Images Mouseover". It works great, yet there are three pages it overrides;
    /includes/modules/additional_images.php
    /includes/modules/main_product_image.php
    /includes/templates/template_default/templates/tpl_modules_main_product_image.php

    /includes/modules/main_product_image.php was easy to update as there were only two changes it was easy to see what was what.

    /includes/templates/template_default/templates/tpl_modules_main_product_image.php no change needed as there was not change in the file in all that time.

    but…
    in /includes/modules/additional_images.php there have been so many changes and I can't decipher which are Zen Cart changes and which are changes due to the mod.

    Is there a way to download additional_images.php with this info?
    @version $Id: additional_images.php 6132 2007-04-08 06:58:40Z drbyte $

    Is there a repository for old Zen Cart versions so people can compare older files and what older mods may have altered?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Old file repository? Other hints?

    In the Free Addons area, every addon has version history stored. You can look at and download old versions just by scrolling down the page.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2010
    Posts
    53
    Plugin Contributions
    2

    Default Re: Old file repository? Other hints?

    That helps with the mod files but what about the Zen Cart files?

    It turns out that v1.3.9d was the version I needed for additional_image.php but what if it went back further and I needed something earlier? Is there backtracking for the core files of Zen Cart?


    I hope I am making sense.

    And if I alter the code of a mod to bring it up to date would it benefit the community if I somehow posted it as an update or something?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Old file repository? Other hints?

    All versions of Zen Cart are available on SourceForge ... the same place you download the current version. There's an "All Files" link on that page to show you all prior versions.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2010
    Posts
    53
    Plugin Contributions
    2

    Default Re: Old file repository? Other hints?

    Wonderful

    Thanks


  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Old file repository? Other hints?

    And yes, it would be beneficial to post an update to a mod if you bring it up to date. You would want to check its support thread first to see what else might be under discussion in regard to the mod.

  7. #7
    Join Date
    Jun 2010
    Posts
    53
    Plugin Contributions
    2

    help question Re: Old file repository? Other hints?

    It won't log me in (just in the file upload area) do I need another account just for submitting an update to a mod?

    I checked everything on my end. No caps lock. No mistyped text. Even logged out and back in to make sure my current account is as it seems. (hence I can make a post)

    I get this error when logging in on that page "Error: Sorry, there is no match for that email address and/or password."



  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Old file repository? Other hints?

    The main site here is separate from the forum even though the pages are well integrated, so you need to create an account there as well. You can use the same username and password if you want.

  9. #9
    Join Date
    Jun 2010
    Posts
    53
    Plugin Contributions
    2

    Default Re: Old file repository? Other hints?

    OK got it uploaded for review. Thank you!

 

 

Similar Threads

  1. Zen Cart GitHub Repository
    By wilt in forum Code Collaboration
    Replies: 9
    Last Post: 30 Sep 2015, 11:27 PM
  2. v154 Source Code public repository?
    By edthered in forum General Questions
    Replies: 9
    Last Post: 15 Jan 2015, 05:25 AM
  3. How do i upload an old saved .sql file to DB
    By paulFromWales in forum General Questions
    Replies: 0
    Last Post: 28 Oct 2006, 11:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg