new posts vs unread posts

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Jane
Posts: 1557
Joined: Thu Sep 16, 2004 3:10 pm
Contact:

new posts vs unread posts

Postby Jane » Mon Dec 28, 2009 6:00 pm

what is the difference?

also, before when you clicked on "view unread posts" it took you to the posts in the thread you hadn't read yet. now it just takes you to the first post on the thread.

I HATE CHAAANGEEEEEE
x

User avatar
thehemulen
Posts: 428
Joined: Fri Aug 27, 2004 3:26 pm
Location: cyberspace. Berlin
Contact:

Re: new posts vs unread posts

Postby thehemulen » Wed Dec 30, 2009 7:17 pm

something went wierd: i find no active posts...

User avatar
milk
Posts: 1798
Joined: Wed Apr 18, 2007 1:02 pm
Location: Edinburgh, UK
Contact:

Re: new posts vs unread posts

Postby milk » Thu Dec 31, 2009 1:53 am

these are due to the . shall try get the problems squished as soon as i have suitable time/place!
hey, if you don't like it, post on the BB (so you can ask about participating for better) |

User avatar
neil
Posts: 944
Joined: Mon Jan 22, 2007 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: new posts vs unread posts

Postby neil » Wed Jan 06, 2010 10:16 pm

Try clicking on the little yellow icon next to the topic title in the unread posts list. It will take you straight to the latest unread post in that thread. I know it's a nuisance, but its the best we can do for now xx

User avatar
chris
Posts: 2638
Joined: Fri Apr 08, 2005 1:50 am
Location: heartland
Contact:

Re: new posts vs unread posts

Postby chris » Thu Jan 07, 2010 12:52 am

if it aint broke.. etc... ;)

User avatar
milk
Posts: 1798
Joined: Wed Apr 18, 2007 1:02 pm
Location: Edinburgh, UK
Contact:

Re: new posts vs unread posts

Postby milk » Thu Jan 21, 2010 2:12 am

thanks so much to mike for fixing this! though is it me or is the icon graphic for 'New posts' not appearing on the 'View unread posts' page?
hey, if you don't like it, post on the BB (so you can ask about participating for better) |

User avatar
ChaoticReality
Posts: 1113
Joined: Sun Nov 23, 2008 10:16 am
Location: Edinburgh!
Contact:

Re: new posts vs unread posts

Postby ChaoticReality » Thu Jan 21, 2010 12:48 pm

I see it.

User avatar
neil
Posts: 944
Joined: Mon Jan 22, 2007 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: new posts vs unread posts

Postby neil » Thu Jan 21, 2010 10:49 pm

I see it too. Nice work Mike!

User avatar
ChaoticReality
Posts: 1113
Joined: Sun Nov 23, 2008 10:16 am
Location: Edinburgh!
Contact:

Re: new posts vs unread posts

Postby ChaoticReality » Sat Jan 23, 2010 3:49 pm

PHP Hackery FTW!

User avatar
milk
Posts: 1798
Joined: Wed Apr 18, 2007 1:02 pm
Location: Edinburgh, UK
Contact:

Re: new posts vs unread posts

Postby milk » Sat Jan 23, 2010 5:14 pm

wayay and wooots
hey, if you don't like it, post on the BB (so you can ask about participating for better) |

User avatar
neil
Posts: 944
Joined: Mon Jan 22, 2007 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: new posts vs unread posts

Postby neil » Fri Feb 05, 2010 6:15 pm

Mike! Knowing what you know about the workings of this here thing, any chance you can fix it to display "You have no unread posts" instead of "View unread posts" when you have no unread posts. Would be worth doing if it's an easy hack?

User avatar
ChaoticReality
Posts: 1113
Joined: Sun Nov 23, 2008 10:16 am
Location: Edinburgh!
Contact:

Re: new posts vs unread posts

Postby ChaoticReality » Sun Feb 07, 2010 3:33 pm

Not so easy, I think, since the unread posts is just a filter on the search query and so is only run when you click the link.

I might be able to isolate the function that specifically looks for unread posts and put it into the main page. Failing that, I can probably write a quick query to check for new posts since last visit and change the main page.

I'll give it a go at some point and see what I can do.

User avatar
milk
Posts: 1798
Joined: Wed Apr 18, 2007 1:02 pm
Location: Edinburgh, UK
Contact:

Re: new posts vs unread posts

Postby milk » Sun Feb 07, 2010 5:59 pm

one idea might be to check whether the addon module providing this functionality is applied correctly currently. possibly just reinstalling it afresh might fix things.
hey, if you don't like it, post on the BB (so you can ask about participating for better) |

User avatar
neil
Posts: 944
Joined: Mon Jan 22, 2007 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: new posts vs unread posts

Postby neil » Sun Feb 07, 2010 6:32 pm


User avatar
ChaoticReality
Posts: 1113
Joined: Sun Nov 23, 2008 10:16 am
Location: Edinburgh!
Contact:

Re: new posts vs unread posts

Postby ChaoticReality » Sun Feb 07, 2010 9:25 pm

After reading all that, I think it can be added with a simple query.

All we have to do is check whether there are any posts with a post time greater than the user's last visited time and remove the "view unread posts" link if there aren't.

I'll have a bash at it sometime this week.

User avatar
neil
Posts: 944
Joined: Mon Jan 22, 2007 5:50 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: new posts vs unread posts

Postby neil » Mon Feb 08, 2010 9:34 am

Cool, nice.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Website/Online”

Who is online

Users browsing this forum: No registered users and 9 guests