This topic is locked

Message Board

3/2/2006 6:24:14 PM
ASPRunnerPro General questions
D
davebritton author

Does anyone have a very basic messaging system they would be kind enough to share ? Failing that if anyone has worked on something like this using asprunner can you give me any general advice or help ?
The baisc plan for this is :
Registered users can message other registered users, either individually or by user group
When users logon to the homepage the number of new/unread messages will be displayed.
Any help would be greatly appreciated !

Sergey Kornilov admin 3/3/2006

Dave,
I guess you have to design your database first.

I see the following tables:

Members

Messages

Recepients
Each Message has one or more Recepients. Each Member is allowed to see Messages where here is in Recepients list. This can be implemented through Users can see and edit their own data only security mode.
Sending a message will be basically adding a new record to Messages table. Using AfterEdit event you can also insert several records into Recepients table, one record per Recepient.
This is a very basic idea of what you can do.