TinyPortal

Development => Feedback => Topic started by: GravuTrad on December 21, 2006, 10:31:27 AM

Title: unread topics marked as read...
Post by: GravuTrad on December 21, 2006, 10:31:27 AM
Hi.

On tp forum (here so), when i click on "mark ALL messages as read" on the "Show unread posts since last visit" page, they are well marked but i'm returned to tp site page. Is it normal?
Title: Re: unread topics marked as read...
Post by: akulion on December 21, 2006, 10:34:13 AM
happens for me as well, so Bloc probably has it set that way so you dont return to an empty page with nothing on it except the side blocks, which would be the case after u mark all posts as read
Title: Re: unread topics marked as read...
Post by: GravuTrad on December 21, 2006, 10:38:59 AM
It will be better to reboot on the "Show unread posts since last visit" page no? (i think it's the logical thing to do...)
Title: Re: unread topics marked as read...
Post by: akulion on December 21, 2006, 10:42:23 AM
well it will show you an empty page so really no sense to it

I personally would prefer to be taken to forum index, but it goes to main page

but its just bloc's preferences so cant really argue lol he is the boss
Title: Re: unread topics marked as read...
Post by: GravuTrad on December 21, 2006, 10:44:16 AM
or at less back to the forum index...not the site...
Title: Re: unread topics marked as read...
Post by: akulion on December 21, 2006, 10:47:33 AM
yes I also agree with forum index since "show unread post" link is there, so u can click it at once instead of from the front page where u have to click "forum" then u click "unead" so one extra click involved

And since I come here everyday to answer questions my mouse is getting old with extra clicks :2funny:
Title: Re: unread topics marked as read...
Post by: bloc on December 24, 2006, 03:05:48 PM
No, its actually something I haven't looked at yet. The reason for this is that once marked read, you go back to "main page". In regular SMF thats simply "index.php"(Boardindex)..but in TP that will indeed be the front page, not the boardindex. So the spot where it redirects will need modifiaction to counter for this.
Title: Re: unread topics marked as read...
Post by: GravuTrad on December 26, 2006, 10:15:05 AM
Ok, thanks to the answer. ;)
Title: Re: unread topics marked as read...
Post by: eldacar on December 26, 2006, 11:02:27 AM
QuoteSo the spot where it redirects will need modifiaction to counter for this.
Rather than doing this for all of the redirects, prehaps redirectExit() could be changed once instead.
Title: Re: unread topics marked as read...
Post by: bloc on December 26, 2006, 01:34:34 PM
Yes, I was thinking altering that. I just try to keep a minmum of changes done to SMF, so it won't be totally "re-written" lol. :)
Title: Re: unread topics marked as read...
Post by: stormlrd on December 26, 2006, 01:50:28 PM
On the subject of unread posts, Still wondering Bloc if you plan on redoing the default recent.template.php to show unread articles and unread downloads. I think ive asked this before but dont recall any duscussion on it.
Title: Re: unread topics marked as read...
Post by: bloc on December 26, 2006, 08:32:29 PM
It would make it quite easy to get hold of unread articles and downloads..I'll def. want to add it in.

Some things ...categories should have a switch to not be included there..or go along with my idea of different "types" of categories/articles. You may setup a special item category that should not display as a category( for example a number of frontpage articles etc.) at all, that should not be displayed in the "recent..". And of course it will have to account for permission on categories/articles when that time comes.

And the third is that it should not apply only to articles and downloads, also other modules should plugin and each should be selectable by admin being there at all.

I think that would cater for most types of setups.

the biggest drawback of this is the Recent part itself. If done as separate links..recent articles, recent downloads. its ok, but if mixed with unread/replies it might be a problem. Those routines are quit extensive in themselves. But we''ll have to see how it lands. With any luck I will already begin on this tomorrow.
Title: Re: unread topics marked as read...
Post by: stormlrd on December 26, 2006, 09:20:35 PM
that sounds great bro