2012-03-02, 11:10 PM
How would I go about getting an unread PM count to put in my header?
Right now, I have in my header, a list item called messages which takes you to your pm box if you are logged in, and takes you to the register/log in screen when you are not.
If you are logged in, I want it to show Messages (Number of unread messages.)
Ex. Messages (1)
Is there a way to do that?
Right now, I have in my header, a list item called messages which takes you to your pm box if you are logged in, and takes you to the register/log in screen when you are not.
If you are logged in, I want it to show Messages (Number of unread messages.)
Ex. Messages (1)
Is there a way to do that?