Functions for unread PM. i found a tutorial on the web for my PM system. the only problem is it doesn't notify my users whenever they have New Pm. can someone give me a function they use? something like this site here is really nice.
At the same time you're inserting the PM that is being sent, into the DB, just run a function that notifies the affected user. It's really quite simple. Depends just how you want to notify, via email is very simple. Via the website is a bit harder, but still quite easy.
He doesn't need crons for this. He can just store notifications in a table, and when he inserts a new PM into the db, he inserts a new notification. On all pages he then fetches the user's notifications and alerts them.