Hello!
Im realizing this is a rather big question, but I really want it to work.
As of now when a user sends a private message to another user, it is inserted in the database with a id, thread_id, sender_id, subject, message and date_sent and foreach new subject there is a new thread id. I would like to remove och override the function to create a new subject and just have one message thread for the communicating users.
So for the users first communication a thread_id is created, but then the ability to create new threads is “gone” and all communication will be in that single tread.
Basicly im looking for a way to display messaging the way facebook does it. If anyone could give me a hint or point me in the right direction i would be very grateful.
Thanks!