Official Everybody Edits Forums

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.

#1 2016-08-07 20:13:49

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,211

Show how many new posts are there.

jUCPTqF.png

Offline

#2 2016-08-07 20:18:32

Different55
Forum Admin
Joined: 2015-02-07
Posts: 16,575

Re: Show how many new posts are there.

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

#3 2016-08-07 22:43:38, last edited by hummerz5 (2016-08-07 22:44:52)

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,854

Re: Show how many new posts are there.

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

hummerz51470606218617354

Board footer

Powered by FluxBB

[ Started around 1738436207.7469 - Generated in 0.029 seconds, 10 queries executed - Memory usage: 1.38 MiB (Peak: 1.48 MiB) ]