View unread posts, by account


RE: View unread posts, by account
#10
As those red links "Unread post" have their own CSS class, it is possible to use CSS counters and let the browser to show the number of new posts. Then, it would be just a matter of the page template editing and no code on the server side would be needed.

Basics of the idea: add counter_reset(newposts) to <body>, counter_increment(newposts) to .post_unread_marker and add a new <div> near a page footer showing the total number using counter(newposts) - and position that <div> as needed. For example fixed to the screen so it is still visible.

Just an idea.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: View unread posts, by account - by Milan Vančura - 2016-04-11, 6:49

Forum Jump:


Users browsing this thread: 1 Guest(s)