One thing that has been puzzling me for some time.
I like to see the most recent posts at the top of the lists. If I am logged in, there is a link for this called
"New posts" which gives a page worth of recent posts
If I am not logged in, this link does not exists, but if I type in the URL from above (http://forum.bcfservices.org.uk/search. ... d=newposts), I get seven pages worth of recent posts.
Why is this different. Is it under the Administrator's control?
Regards
Neville B
Finding new posts
-
- Posts: 7224
- Joined: Wed Apr 04, 2007 10:29 am
- Location: Cove, Hampshire, England.
Re: Finding new posts
This is trivial.
Click Board Index then
View new posts
Easy peasy.
Click Board Index then
View new posts
Easy peasy.
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
-
- Posts: 6028
- Joined: Fri Dec 08, 2006 8:05 pm
- Location: Evesham
Re: Finding new posts
No control no Neville and to be honest I would have to look at the source code to checkNevilleB wrote:One thing that has been puzzling me for some time.
I like to see the most recent posts at the top of the lists. If I am logged in, there is a link for this called
"New posts" which gives a page worth of recent posts
If I am not logged in, this link does not exists, but if I type in the URL from above (http://forum.bcfservices.org.uk/search. ... d=newposts), I get seven pages worth of recent posts.
Why is this different. Is it under the Administrator's control?
Regards
Neville B
I did always "think" it was new posts relevant to your login session but perhaps it isn't?
Cheers
Carl Hibbard
Carl Hibbard
Re: Finding new posts
John - Thanks for the suggestion, but as there is no New Posts link when I am not logged in, it does not really help answer the question.
Carl - Your answer was what I expected. Something even more strange. I sent the message from my office, and when I was logged in there, I could see about a dozen posts. Now I am logged on at home I can only see three.
Regards
Neville B
Carl - Your answer was what I expected. Something even more strange. I sent the message from my office, and when I was logged in there, I could see about a dozen posts. Now I am logged on at home I can only see three.
Regards
Neville B
-
- Posts: 7224
- Joined: Wed Apr 04, 2007 10:29 am
- Location: Cove, Hampshire, England.
Re: Finding new posts
OK, I suspect the underlying code compares the timestamp of posts with your most recent login timestamp.
This is stored in the MySQL database which sits behind phpBB.
The code will conclude that posts with more recent timestamps than your last login are ones that you haven't read : quite reasonable.
It has no way of making this comparison if you do not authenticate yourself to the server.
This is stored in the MySQL database which sits behind phpBB.
The code will conclude that posts with more recent timestamps than your last login are ones that you haven't read : quite reasonable.
It has no way of making this comparison if you do not authenticate yourself to the server.
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
-
- Posts: 6028
- Joined: Fri Dec 08, 2006 8:05 pm
- Location: Evesham
Re: Finding new posts
Yes that is the case after a quick checkJohn Upham wrote:OK, I suspect the underlying code compares the timestamp of posts with your most recent login timestamp.
This is stored in the MySQL database which sits behind phpBB.
The code will conclude that posts with more recent timestamps than your last login are ones that you haven't read : quite reasonable.
It has no way of making this comparison if you do not authenticate yourself to the server.
WHERE t.topic_last_post_time > ' . $user->data['user_lastvisit'] . '
Cheers
Carl Hibbard
Carl Hibbard