TinyPortal

General => Chit chat => Topic started by: iowamf on November 11, 2005, 08:50:47 AM

Title: frontpage settings: forum (ignores sticky) & getting that same view elsewhere
Post by: iowamf on November 11, 2005, 08:50:47 AM
The default front-page forum sorting algorithm appears to be very blog-like (chronological by new topic) instead of forum-like (most recent anything first) ... very nice.

* If a post is "sticky" - it stays at the top of the list in the forums. However, a sticky post scrolls off the front page - is that intended behaviour?

Note: One way to get around this is to combine "forum" and "articles" on the front page, only promote one article to the front page and put the date on the article out in the future - that makes the article a "pseudo-sticky" on the front page ;)

* Is there a way in the menu manager (or in an article) to bring up a forum with the same behaviour as the frontpage - but not on the frontpage?

Another way to ask the same question is what is the command to bring up a forum with all the posts displayed in chronological order like the command which brings up all the posts on the front page?

* When a user attaches a photo to a post in the forum, it is automatically displayed in a type of preview mode when in the forums - but that same behaviour is not present when forum posts are promoted  to the front page - is there a way to change that so the photos are on the front page too?

Thanks & Regards -


Title: Re: frontpage settings: forum (ignores sticky) & getting that same view elsewhere
Post by: bloc on November 11, 2005, 02:16:18 PM
- you can also set the article to "featured"..has the same effect as setting date further ahead. Only you don't need to touch the date.

- thats index.php?action=recent really...it shows posts, but not from just one board. For that use: index,php=recent;board=xx where xx is the ID of the board you want most recent from. there is also possible to call ssi_recentPosts() , ssi_recentTopics() or ssi_BoardNews() inside a php article, just like a block...

- thumbnails on frontpage is complex..not currently possible, but maybe in future TP versions. The ssi function will need to be rewritten though.
Title: Re: frontpage settings: forum (ignores sticky) & getting that same view elsewher
Post by: iowamf on November 12, 2005, 01:03:44 AM
Awesome - I was wondering what a "featured" article was used for - now I know (would "sticky" be a better term?)

Quote from: Bloc on November 11, 2005, 02:16:18 PM
- you can also set the article to "featured"... has the same effect as setting date further ahead. Only you don't need to touch the date.

I also asked: * Is there a way in the menu manager (or in an article) to bring up a forum with the same behaviour as the frontpage - but not on the frontpage?

Thanks for the tip below to do the task above.

Quote from: Bloc on November 11, 2005, 02:16:18 PM
thats <cut> index,php=recent;board=xx

It's "almost" like what the frontpage looks like with frontpage=forums - but on the frontpage there is the "Write Comment( 0 Comments)" options ... is there another magic parameter to enable the comments too?  Are these parameters documented somewhere?

Thanks
Title: Re: frontpage settings: forum (ignores sticky) & getting that same view elsewher
Post by: iowamf on November 12, 2005, 02:00:12 AM
Quote from: iowamf on November 12, 2005, 01:03:44 AM

I also asked: * Is there a way in the menu manager (or in an article) to bring up a forum with the same behaviour as the frontpage - but not on the frontpage?

Thanks for the tip below to do the task above.

Quote from: Bloc on November 11, 2005, 02:16:18 PM
thats <cut> index,php=recent;board=xx

It's "almost" like what the frontpage looks like with frontpage=forums - but <cut>

I just noticed the sort is different than using the frontpage=forums option.
When using ?action=recent;board=xx -  it brings up the board sorted by most recent comment first (where the front page is by most recent topic ... or I'm really confused).

I wonder how the frontpage is able to display the forum posts in the (blog-like) order that it does?
Title: Re: frontpage settings: forum (ignores sticky) & getting that same view elsewhere
Post by: bloc on November 13, 2005, 09:59:19 AM
By using ssi_BoardNews() from ssi.php. Needs a forum ID and number of posts(first posts btw) of recent topics.