rejetto forum
May 24, 2012, 11:27:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "date" display for url links ?  (Read 2218 times)
0 Members and 2 Guests are viewing this topic.
TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« on: November 24, 2007, 02:47:49 AM »

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


* linkpres.jpg (22.05 KB, 747x257 - viewed 343 times.)
« Last Edit: January 09, 2008, 12:34:16 AM by TCube » Logged

Make it idiot-proof and I will make a better idiot
bacter
Operator
Insane poster
*****
Offline Offline

Spain Spain

Posts: 679


View Profile
« Reply #1 on: November 24, 2007, 03:52:48 AM »

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 ....  Wink Cheesy
[/list]
Logged

your computer has no brain - use your own !
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #2 on: November 24, 2007, 08:27:59 AM »

I don't understand what you want.
The date without the time?
Logged
TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« Reply #3 on: November 24, 2007, 08:32:32 AM »

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  Grin . 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  Roll Eyes]

TCube


* Sortlinks.jpg (9.53 KB, 405x127 - viewed 298 times.)
« Last Edit: November 24, 2007, 01:27:32 PM by TCube » Logged

Make it idiot-proof and I will make a better idiot
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #4 on: November 24, 2007, 08:37:16 AM »

keeping the date of the last "access" to a file/folder may be an interesting feature.
it's in the to-do-list now.
Logged
TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« Reply #5 on: November 30, 2007, 06:13:10 AM »

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, 12:32:48 AM by TCube » Logged

Make it idiot-proof and I will make a better idiot
rejetto forum
« Reply #5 on: November 30, 2007, 06:13:10 AM »

Do you like this software? Consider even $2
 Logged
TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« Reply #6 on: January 09, 2008, 12:32:28 AM »

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
Logged

Make it idiot-proof and I will make a better idiot
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 10, 2012, 04:26:40 AM
anything