TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Recent posts

#1
Support / Recent Topics vs Recent Posts
Last post by Itchdog - September 30, 2026, 11:12:36 PM
Hi. Me again. I'm using the recent topics block on my forum. It not only shows the recent topics, but also all new posts as well. So if someone posts on a topic that is months old, it shows up in the recent topics list. That's not really a problem, but is there a way to set up a block that ONLY shows recent topics and not recent posts?

Like I said, not a big deal. I kind of worked around it by using an rss feed that only picks up new topics.
#2
Support / Re: Remove Comment Counter
Last post by @rjen - September 29, 2026, 09:29:09 PM
Quote from: Itchdog on September 29, 2026, 04:33:35 PMI'll give you my cat if you can add the option to have the frontpage topics show horizontal instead of vertical  ;D .

I hate cats...
#3
Support / Re: Remove Comment Counter
Last post by Itchdog - September 29, 2026, 04:33:35 PM
I'll give you my cat if you can add the option to have the frontpage topics show horizontal instead of vertical  ;D .
#4
Support / Re: Recent Topics
Last post by @rjen - September 28, 2026, 10:14:07 AM
In Tinyportal 3.0.4 these options are added now...

You cannot view this attachment.
#5
Support / Re: Remove Comment Counter
Last post by @rjen - September 26, 2026, 04:38:35 PM
After your question I was looking into this functionality and noticed that there is very limited control on the layout for these topics on the frontpage.

I may add some options for this in the Frontpage settings in the next version
#6
Support / Re: Remove Comment Counter
Last post by Itchdog - September 26, 2026, 04:27:49 PM
Awesome! Thanks so much @rjen.
#7
Support / Re: Remove Comment Counter
Last post by @rjen - September 25, 2026, 08:12:23 PM
And to get rid of the comments sections...

File TPsubs.template.php

find

function article_boardnews($render = true)
{
global $context, $scripturl, $txt;

if (!isset($context['TPortal']['article']['replies'])) {
return;
}

and change to

function article_boardnews($render = true)
{
global $context, $scripturl, $txt;

// if (!isset($context['TPortal']['article']['replies'])) {
return;
// }
return;
#8
Support / Re: Remove Comment Counter
Last post by @rjen - September 25, 2026, 07:27:39 PM
This is not configurable. The only way to remove those fields for forum posts on the frontpage is to make code changes to file Article.php

This will get rid of the "views"
File: \TinyPortal\Article.php

Find
              if (!isset($context['TPortal']['frontpage_visopts'])) {
                    $context['TPortal']['frontpage_visopts'] = 'date,title,author,views' . ($context['TPortal']['forumposts_avatar'] == 1 ? ',avatar' : '');
                }

and change to

                if (!isset($context['TPortal']['frontpage_visopts'])) {
                    $context['TPortal']['frontpage_visopts'] = 'date,title,author' . ($context['TPortal']['forumposts_avatar'] == 1 ? ',avatar' : '');
                }
#9
Support / Remove Comment Counter
Last post by Itchdog - September 25, 2026, 05:19:05 PM
Hi. I run a news and current events forum with SMF 2.1.7 and the latest version of TP. Is there a way to remove the comments information at the bottom of a post on the frontpage (see image). I couldn't find a setting for this. If it requires a file edit, can you point me to which file?

Also, I'd like to remove the "views" info at the top of the image as well.

Thanks.

#10
Support / Re: Recent Topics
Last post by davejo - August 25, 2026, 01:07:21 PM
Thanks for the reply @rjen

This website is proudly hosted on Crocweb Cloud Website Hosting.