Jump to content


Photo

Trouble with messaging system


  • Please log in to reply
1 reply to this topic

#1 POGRAN

POGRAN
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 19 September 2006 - 03:56 AM

hi there!
I am writing a messenger system.
I need to highlight messages that are not "opened" by current user that is logged in!
I tried to do many thicks with mysql tables (to change status of message between 0 and 1 depending on if it is read or not..) but still didn't find good choice and would be nice to hear some ideas from other people..
Thanks!

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 September 2006 - 04:00 AM

when a user reads the message you place a 1 in a coulm and if the user has not read the message then you select the database and do a while loop if the colum is o then print message.

i am just going to write one you should add these options ok.

read <<read messages
delete << delete messages
send <<send messages
block << if spam block user via id
report << if continue spam report message to admin
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users