Changelog
v0.12a – puNumUnread() was not set if the user had never visited the site before, not sure if it even should as that number could be potentially huge … but it works for now
v0.1a – First version … most likely broken, please report bugs.
Usage
This plugin includes 2 functions, puRead() and puNumUnread(). Neither take any arguments. puNumUnread() echo’s the number of posts that have been written since the last time each user visited your site. The puRead() function returns true if the post is unread and false if the post is read. I chose thise route so you could use it do literally anything you want. For example …
Will make each each title of an unread post bold, assuming they aren’t normally bold, but you get the idea. You can also display an image, or pretty much do anything you want. If you find any bugs or have any feature requests please feel free to contact me or you can post a comment here.