• Dates and bulletins

    From Tegularius@VERT/BAUDHOUS to All on Saturday, August 01, 2009 22:28:10
    Among the properties of the File object is date, a number in time_t format.

    Is the property "laston_date" of the user.stats object also in time_t format (or readily convertible to it)?

    I am thinking of developing a java-script alternative to Bullseye that takes
    a user to the bulletin section only if any of its files have been updated
    since his last visit. Perhaps it could also display its menu on-the-fly,
    using descriptions in another field of the .cfg lines that now hold only
    file names, and highlight any newly updated files. But of course, it
    would be necessary to compare file dates with the caller's previous logon
    time.

    Or perhaps someone has already written a module like this? No use
    reinventing the wheel...




    ---
    Synchronet The Bauding House - baudhous.synchro.net
  • From Jas Hud@VERT to Tegularius on Sunday, August 02, 2009 14:21:14
    Tegularius wrote:
    I am thinking of developing a java-script alternative to Bullseye that takes a user to the bulletin section only if any of its files have been updated since his last visit. Perhaps it could also display its menu on-the-fly, using descriptions in another field of the .cfg lines that now hold only
    file names, and highlight any newly updated files. But of course, it
    would be necessary to compare file dates with the caller's previous logon time.

    Or perhaps someone has already written a module like this? No use reinventing the wheel...


    no, nobody has written a bulletin mod like this. we just normally use
    a msg base and force it to be read at logon. it preforms the same
    function you mentioned.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Tegularius on Sunday, August 02, 2009 20:27:27
    Re: Dates and bulletins
    By: Tegularius to All on Sat Aug 01 2009 10:28 pm

    Among the properties of the File object is date, a number in time_t format.

    Is the property "laston_date" of the user.stats object also in time_t
    format (or readily convertible to it)?

    Yes, it's already in time_t format. I'll add a note to a future jsobjs.html.

    digital man

    Snapple "Real Fact" #30:
    Fish have eyelids.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net