Easy way to count "unread replies" when not in board (using SSI.php)?

Started by nicor2k, February 05, 2009, 01:31:47 PM

Previous topic - Next topic

nicor2k

Hi!

I am looking for an easy way to count the number of unread replies of a member on a non-forum page (using SSI.php) - I have access to the database and tried using the function UnreadTopics() from /Sources/Recent.php. This is a kind of large and slow function so I tried to shorten it, ending up with database errors...

Has anyone a very fast, short (SQL) function to just count the numbers of unread topics (no need for time, link etc. - I need it to show a button with the number as picture, ike this:



:-)

thanks a lot!


karlbenson

Unread posts & Unread Replies are two other most intensive functions on SMF.

I don't think theres a light/quick way to do it.

Advertisement: