TinyPortal

Development => Feedback => Topic started by: majo on March 20, 2007, 02:28:14 AM

Title: Recent Posts
Post by: majo on March 20, 2007, 02:28:14 AM
I search this first didn't really find anything about "recent" or "recent post - posts"

So this is what bothers me, yes i know there are recent posts with TP but i just cant figure out how do recent post really should be displaying?

Example: i create topic you replay to that topic and then your friend replays to that topic , now i would think your and your friends posts are "recent" correct? Well on my page is always whoever posted "first" and I don't like it that way.
Anyhow i can change that?

Thank you for help and support!
Title: Re: Recent Posts
Post by: Nokonium on March 20, 2007, 06:33:20 AM
Doubtful unless you want to rewrite one of the SMF SSI's. TP is only using what already exists as part of SMF.
Title: Re: Recent Posts
Post by: majo on March 20, 2007, 12:31:22 PM
Thank you.
Title: Re: Recent Posts
Post by: bloc on March 20, 2007, 01:08:48 PM
If you mean the "recent" type of block in TP, its not really "recent Posts" - its "recent Topics" and as such will always show the first post in the topic, along with a "new" symbol if there are new replies in that topic. The last added post will then determine the time.
Title: Re: Recent Posts
Post by: majo on March 20, 2007, 01:11:57 PM
So is there like any way i could make my recent posts on front page as i have recent "topics" right now?
Title: Re: Recent Posts
Post by: bloc on March 20, 2007, 01:18:44 PM
Oh yes.

There is both "recent topics" and "recent posts" fucntion in SSI.php. TP recent blocktype just calls recent Topics, but you use the same call for posts. Then all new posts, replies or not, will get displayed.

But what code do you use for your frontpage? Just ssi_recentPosts(); ?
Title: Re: Recent Posts
Post by: majo on March 20, 2007, 01:27:29 PM
See i don't know exactly, i go to front page (admin)  then clicked
Forum-posts and articles - sorted on date
then
Normal, frontblocks are shown alone

Thats all i have on front page, so i dont know exactly what is it using ?
Title: Re: Recent Posts
Post by: bloc on March 20, 2007, 02:54:26 PM
ah, thats the "BoardNews()" function, that TP rely on to fetch whole posts from forum, from selected boards only.

So you want to show recent Posts, displayed as single title-only lines then?
Title: Re: Recent Posts
Post by: majo on March 20, 2007, 02:56:11 PM
Yeah i would like to have same as i have now but "posts" so for example my post that i just posted let say i want people to see whats the name of the topic and what i posted.

:)
Title: Re: Recent Posts
Post by: bloc on March 20, 2007, 04:15:22 PM
eh..so the title, date and author - but not the actual post then..?
Title: Re: Recent Posts
Post by: majo on March 20, 2007, 05:40:36 PM
Correct

I still like the topics, because it shows at least some of the text , and that text brings me lots of visitors.
Title: Re: Recent Posts
Post by: majo on March 23, 2007, 04:44:55 PM
The reason why i started this topic is because recent forum posts option rank me damn good on google and yahoo, but it kind of look stupid to me when people just saw my name as recent forum post on first page, so they thought my site is more like a blog thing. :) which i dont mind ?

I don't know if u understand what i am trying to say :0 sorry my Inglish is very bad lately hahah
Title: Re: Recent Posts
Post by: PowerPyx on March 23, 2007, 04:59:36 PM
Quote from: Bloc on March 20, 2007, 04:15:22 PM
eh..so the title, date and author - but not the actual post then..?

I think he is more on : title, date, the post BUT NOT the author