Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Offline
Might be hard to do in an efficient way. The forums don't actually know how many unread posts there are, it just knows that posts have been made in that topic since your last visit. Even when you hit the {New Posts] thing, it just looks up the oldest new post and sends you there.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
Could you add another query that counts the number of posts in the topic including the oldest new post?
edit: I see. The request for the new post data is handled by the viewtopic, so I guess the "latest post" code could be quite convoluted... my idea's a piece of pie until you hit that objective.
Offline
Pages: 1
[ Started around 1738436756.1066 - Generated in 0.031 seconds, 14 queries executed - Memory usage: 1.38 MiB (Peak: 1.48 MiB) ]