General Community > Chit Chat
Question: Messages sent to now-deleted members...?
[Unknown]:
Okay, so here's my question for everyone... I'm trying to implement a simple bcc system, this way you could send something to a group of people and have them all know they received it, or have certain people they don't... like email.
The problem here is deleted members. Previously, if a member was deleted, it would just use their stored name in the table. However, the new system stores ALL the people it was sent to.... not just the one.
It would be something of a pain to keep track of the names of deleted members.... so here's my question:
How bad would it be if, in your outbox, messages sent to deleted members only say "sent to a deleted member, [Unknown], and another deleted member." or something stupid like that?
-[Unknown]
David:
Seems alright. Could you add a query when a user is deleted to update the to line so it shows who it went to in one way or another?
[Unknown]:
Well, I'd like to have two fields, hopefully... at least I plan to... they are:
toMembers: ID_MEMBER's the message was sent to.
receivedMembers: ID_MEMBER's it should show as sent to.
This doesn't even store the names ever... so it couldn't really "update the to line"...
-[Unknown]
David:
Doesn't this bring up a larger question of how deleted members should be treated? How are they displayed in posts? Does it make sense to add a delete users table. It would store their id_member, username, date registered, date deleted, IP, hostname, posts, email. It would also allow for some interesting statistics for forum owners.
Gobalopper:
Hmm a deleted table would be useful.
Navigation
[0] Message Index
[#] Next page
Go to full version