By NeoID on
Hi,
I'm looking for a way to create a link that outputs the number of new, unread forum posts from all forums on my drupal-board since my last visit....
Like "New forumposts (34)"... any ideas? :)
Hi,
I'm looking for a way to create a link that outputs the number of new, unread forum posts from all forums on my drupal-board since my last visit....
Like "New forumposts (34)"... any ideas? :)
Comments
Partial answer
This is the code Advanced Forum uses to get the bumber of unread comments in a particular forum. You can expand it to include all forums. This doesn't count nodes, though, so you'd need a seperate query for that and add them.
Thanks for the snippet, but
Thanks for the snippet, but my mysql-knowledge is very basic; I'm a themer after all... :)
Would it be possible to show me how to include the first node and comments on a globally basis, but still respecting who has access to read the particular forums?
(If there are only new posts in the protected forums, it should only be displayed to them who also has access to read it...)
I would highly appreciate it if you or anyone else could help me with this one...