Display most recent notifications and messages in divs
Hi I was wondering if some one could help me out. Im looking to display the 5 most recent notifications of the logged in user in a small div to put in my header.php and the same sort of thing for messages and friend requests.
For the messages and friend requests is there a way to echo the person sending the message to the logged in users avatar, subject, a small bit of the message and time sent?
and for the friend requests it would be awesome to echo out in the list the user sending the requests avatar, name and maybe even a button to accept or reject the request?
I know that this maybe a lot to ask but it would really help me and probably a load other peoples sites as well!
- You must be logged in to reply to this topic.