Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a forum in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00976408
Message ID:
00976488
Vues:
15
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform