Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building a forum in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976408
Message ID:
00976488
Views:
14
>I'm currently working on a community/forum in written in VFP, using webconnect.
>
>I've got one problem I can't see a simple solution for, hopefully someone can point me in the right direction.
>
>I've got about 1000 users, 10 or so forums, 100 messageboards, and 20,000 messages. When a user logs in, I'd like to highlight any messages that he/she hasn't read.
>
>I can't think of a good algorithm to do it, other than logging each message as read and then comparing the messages against the log file when displaying.
>
>Can anybody think of a simpler way?
>
>Thanks

The way CompuServe used to do it was they logged the highest message number at the time you login and store that number. The next time you come in, anything higher than that number it assumed you hadn't seen.
Previous
Reply
Map
View

Click here to load this message in the networking platform