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?
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
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...)
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
or at less back to the forum index...not the site...
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:
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.
Ok, thanks to the answer. ;)
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.
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. :)
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.
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.
that sounds great bro