Author Topic: "Sticky" Code replacements / FTP icons  (Read 930 times)

Offline Eric

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
"Sticky" Code replacements / FTP icons
« on: December 09, 2024, 08:41:57 AM »
I'd love to see a way of tagging or 'sticking' a code file to a gallery so that as I go from one folder to another it would load the code replacement for that game/event without having to keep changing the file. It could be as simple as having PM look to see if there is a .txt file in the folder and open it as the code replacement file for that folder.

Bringing this one back as it initially had some traction with users. Can we get graphical icons in to display a client's logo in the FTP client as a poke to our senses. I have personally FTP'd images to the wrong client because I just didn't notice that I had the wrong FTP account selected. Last week I had one of our photographers do it too and apparently it happens more often than we know. 

Thanks,

Eric

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25062
    • View Profile
    • Camera Bits, Inc.
Re: "Sticky" Code replacements / FTP icons
« Reply #1 on: December 09, 2024, 09:25:32 AM »
Eric,

I'd love to see a way of tagging or 'sticking' a code file to a gallery so that as I go from one folder to another it would load the code replacement for that game/event without having to keep changing the file. It could be as simple as having PM look to see if there is a .txt file in the folder and open it as the code replacement file for that folder.

This could be done, but with the understanding that the current set of Code Replacements are globally available, so if two folders each have their own codes/replacements, and the codes are the same, the last loaded folder's replacements will override the first folder's replacements.  You'd have to make sure that your codes are unique.

-Kirk

Offline Eric

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
Re: "Sticky" Code replacements / FTP icons
« Reply #2 on: December 09, 2024, 12:16:37 PM »
I'm not understanding, so let's flesh this out...  Lets say I have the following folders:

 Jets vs Patriots  with jetspats.txt in the folder where the codes are structured as h1-h99 for the home roster and a1-h99 for the away team.

 Lakers vs Celtics with a code file, lakcel.txt also structured h1-h99 for the home team and a1-a99

 Hurricanes vs Bruins with a code file of hurbur.txt and also h1-h99 and a1-a99

Are you saying that the last folder open is the code that will 'stick'? If so that's fine by me because I wouldn't have them all open at the same time anyway and can easily close one and open another so the right code file is loaded.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25062
    • View Profile
    • Camera Bits, Inc.
Re: "Sticky" Code replacements / FTP icons
« Reply #3 on: December 09, 2024, 01:53:04 PM »
Eric,

I'm not understanding, so let's flesh this out...  Lets say I have the following folders:

 Jets vs Patriots  with jetspats.txt in the folder where the codes are structured as h1-h99 for the home roster and a1-h99 for the away team.

 Lakers vs Celtics with a code file, lakcel.txt also structured h1-h99 for the home team and a1-a99

 Hurricanes vs Bruins with a code file of hurbur.txt and also h1-h99 and a1-a99

Are you saying that the last folder open is the code that will 'stick'? If so that's fine by me because I wouldn't have them all open at the same time anyway and can easily close one and open another so the right code file is loaded.

Yes.

Though if we were to implement the feature, PM would be looking for a specific file "CodeReplacements.txt" and wouldn't know that your jetspats.txt (or any of the other variations) file is a Code Replacement text file.

-Kirk

Offline Jeff Vogan

  • Newcomer
  • *
  • Posts: 30
    • View Profile
Re: "Sticky" Code replacements / FTP icons
« Reply #4 on: Yesterday at 02:58:36 PM »
Eric,
Easiest way to deal with this would be to use a different tactic for your code replacements.  Instead of h1-h99 and a1-a99, use h1-h99 for the Hurricanes and b1-b99 for the Bruins. That's how I'd do it.