The Magic Café
Username:
Password:
[ Lost Password ]
  [ Forgot Username ]
The Magic Cafe Forum Index » » The Magic Café Tech Help Area » » Reset Your Own "Last Viewed" Time » » TOPIC IS LOCKED (0 Likes) Printer Friendly Version

cfrye
View Profile
Special user
Portland, Oregon, USA
941 Posts

Profile of cfrye
I'd like to be able to control the "New Posts Present" indicators (red coffee cups versus white) by specifying a time from which I would like to search. As an example, I'd like to tell the database: "Put a red coffee cup next to discussion area with a response posted after 5pm, September 24, 2002."

Can it be done by letting me reset the field with the time of my last visit, or is that transaction data stored for analysis, not to be altered?
Gene
View Profile
Café Forum Developer
Howard City, MI
444 Posts

Profile of Gene
I don't think you'd be able to do that, unless you're good with Unix-based timestamps. The last visit info is saved in a cookie on your system, and while you can get in there and change things, the dates are encoded using a Unix timestamp. If you look at the contents of your Café cookie you'll see something like "1032814232".

There is a way to do it without a computer, though I wouldn't advise it for the faint of heart. Smile Just count (yeah, right! Smile ) the number of seconds between January 1, 1970 (Midnight GMT) and the date/time you want. Add 18,000 to your total to adjust for forum time, and that's it! Smile

Here you go! I found a page that has a form to convert a given date to a Unix timestamp. If you wanted to do it, this would help. Just remember to add 18,000 to the figure to adjust for forum time.

http://www.onlineconversion.com/unix_time.htm
Somebody kick me off the computer, will ya? Smile Smile
cfrye
View Profile
Special user
Portland, Oregon, USA
941 Posts

Profile of cfrye
Thanks, Gene! I went through my cookie file, but couldn't find the one set by the Cafe. How is the cookie identified?
Mary B.
View Profile
Café Tech Advisor
Howard City, Michigan
626 Posts

Profile of Mary B.
Do a search of your CWindowsCookies folder for any cookies "containing text" - type in "themagiccafe.com/forums" (without the quotes). There should be just one.
The Magic Cafe Forum Index » » The Magic Café Tech Help Area » » Reset Your Own "Last Viewed" Time » » TOPIC IS LOCKED (0 Likes)
[ Top of Page ]
All content & postings Copyright © 2001-2019 Steve Brooks. All Rights Reserved.
This page was created in 0.12 seconds requiring 5 database queries.
The views and comments expressed on The Magic Café
are not necessarily those of The Magic Café, Steve Brooks, or Steve Brooks Magic.
> Privacy Statement <

ROTFL Billions and billions served! ROTFL