Forums / All Other Contributions/Addons / Old file repository? Other hints?

Old file repository? Other hints?

Locked

Views: 1,206

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
30 Aug 2010, 5:53 PM
#1
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

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? :huh:

30 Aug 2010, 6:44 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

30 Aug 2010, 6:51 PM
#3
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

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.:blush:

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?

30 Aug 2010, 7:06 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

30 Aug 2010, 7:08 PM
#5
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: Old file repository? Other hints?

Wonderful :D

Thanks

:hug:

31 Aug 2010, 4:30 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

31 Aug 2010, 5:34 PM
#7
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

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? :P

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."

:blink:

31 Aug 2010, 6:01 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

31 Aug 2010, 6:11 PM
#9
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: Old file repository? Other hints?

OK got it uploaded for review. Thank you! :hug: