Author Topic: Picture Order: Modified vs. Created  (Read 1503 times)

0 Members and 1 Guest are viewing this topic.

Offline zorz

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 24
  • Karma: +0/-0
  • XAKEP
    • Destination: Zorz
Picture Order: Modified vs. Created
« on: March 03, 2003, 11:40:52 »
Ed

Join my web project! Use my site, develop your ideas, pay nothing! Read more:
http://www.zorz.net/cgi-bin/YaBB/YaBB.cgi?board=partner

My photo album:
http://www.zorz.net/cgi-bin/AlbumPL/album.pl

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:Picture Order: Modified vs. Created
« Reply #1 on: March 03, 2003, 13:58:47 »
Good idea! I've added creation date to the script. Just re-download and replace album.pl. Note the new sort orders (4 and 5) in the new album.cfg.

Would love it if you could confirm that it works as expected... :)

Cheers

P.S. How did you implement the "Subscribe" and "Unsubscribe" radio buttons at the bottom of your album?

Offline zorz

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 24
  • Karma: +0/-0
  • XAKEP
    • Destination: Zorz
Re:Picture Order: Modified vs. Created / Mailing List
« Reply #2 on: March 03, 2003, 15:32:56 »
Ed

Join my web project! Use my site, develop your ideas, pay nothing! Read more:
http://www.zorz.net/cgi-bin/YaBB/YaBB.cgi?board=partner

My photo album:
http://www.zorz.net/cgi-bin/AlbumPL/album.pl

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:Picture Order: Modified vs. Created
« Reply #3 on: March 03, 2003, 15:56:20 »
Hi Ed,

Thanks for the detail, it was great. (Not "abusive" at all!) It's a good idea, and I've got a similar "mojo" script here, but dropped the idea of e-mail updates (for the album) quite a while ago... Not sure why, I guess I never had time to send the e-mail!

What you want to do is find the sortObjects subroutine, and just replace the whole thing with the new copy. There actually aren't that many changes to it, but a wholesale replacement is probably easiest.

Cheers

Offline zorz

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 24
  • Karma: +0/-0
  • XAKEP
    • Destination: Zorz
Re:Picture Order: Modified vs. Created
« Reply #4 on: March 04, 2003, 01:08:11 »
Excellent! Just tried and it worked, sorted by creation date.

In regards to mailing list - indeed, this feature may not be very popular and demanded. It was for me - my friends wanted to know when I post new baby's pics. Well, I found a solution and can't speak for everybody.

Thank you!
Ed

Join my web project! Use my site, develop your ideas, pay nothing! Read more:
http://www.zorz.net/cgi-bin/YaBB/YaBB.cgi?board=partner

My photo album:
http://www.zorz.net/cgi-bin/AlbumPL/album.pl