rejetto forum

"date" display for url links ?

TCube · 7 · 7311

0 Members and 1 Guest are viewing this topic.

Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
Salut à tous !

I’m wondering if it's  possible to show « date » within a link display. Right now, I’m doing it the way below.

I really think that would be helpfull as sometimes users/admin. have to remember “day one” when these files are hosted on an external server.



What do U think ?
merci
Tcube
« Last Edit: January 09, 2008, 06:34:16 AM by TCube »
Make it idiot-proof and I will make a better idiot


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
The date displayed with files and folders is that one that is retrieved from de (DOS)-directory infromation, when the element was created or modified. Links are not on disk, so their creation date can not be retrieved.

But you have a workaround to solve your problem: use the comment field when adding your folder and set there the expiration date.

You have then different possibilities, depending of your needs, if you want the visitors show the expiration date or not:
- if users may see expiration date , let them see the comment, that's all
- if visitors should not see the comment:
  • if you dont need to show comments, you can try to use a macro that displays comment only for user 'su' (superuser = you)
  • if you need to show them, you can use some javascript that displays comments only up to a special char. I use this feature on foldercomments, where i use ':' as a separator. What is befor this sign, will be displayed, what comes after are optional params that i use to change default behavior of the template for that folder (use thumbnails or not, imagesize tu use, diferent displaystyle ...), you could use something like that to show the expiration date only to you

... if you do someting like that, it's only to you to ask rejetto for a 'search by comment' feature ....  ;) :D
[/list]
your computer has no brain - use your own !


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
I don't understand what you want.
The date without the time?


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
Ok thanks for the workarounds !

We had a talk about it and came to this : as we can rename file after upload to our various 10go space - our bunch decided to start with [xx-xx-xx] being the date due and not the date uploaded.

I receive all links automatically throught mail then populate Hfs.

@ bacter : I'll try to grasp your advice about "comment" and macros [not using #145 - stuck on built #143]  Immediatly, the way above enables us easily to sort links throught Hfs at first by "expiring dates".

Mars thanks ...
I don't get it : it's hardcore coding U're talking about  ;D . The ideal situation would be to get the last time downloaded/hit - add 30 days - and do a report - as in fact,  a file is still living up 30 days after the last dl [in my mind, all links being put in a specific directory anyway ... reserved for the same Isp users due to Isp dl speed filtering  ::)]

TCube
« Last Edit: November 24, 2007, 07:27:32 PM by TCube »
Make it idiot-proof and I will make a better idiot


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
keeping the date of the last "access" to a file/folder may be an interesting feature.
it's in the to-do-list now.


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
Salut,

I moved my Html request to the right section.
In the mean time : Yes Rejetto "last access" would be fine ...

TCube
« Last Edit: January 09, 2008, 06:32:48 AM by TCube »
Make it idiot-proof and I will make a better idiot


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
keeping the date of the last "access" to a file/folder may be an interesting feature.
it's in the to-do-list now.



Thks TCube
Make it idiot-proof and I will make a better idiot