Notifications
Clear all

Script [Solved] What is the difference between Active, Replied and Hot topics?

5 Posts
2 Users
2 Reactions
688 Views
Posts: 98
Topic starter
(@vanessa)
Estimable Member
Joined: 1 year ago

What is the difference between these three states of a topic: Active, Replied and Hot?

Is there a way to collapse two of these states together or remove a state?

4 Replies
Robert
Posts: 10590
Admin
(@robert)
Support Team
Joined: 9 years ago
  1. Replied: has at least one reply
  2. Active: has 5 and more replies
  3. Hot: has 20 and more replies

 

You can change the 5 and 20 numbers using the following code snippets:

add_filter('wpforo_active_topic_min_posts', function($number) { 
    return 5;
});

add_filter('wpforo_hot_topic_min_posts', function($number) { 
    return 20;
});
3 Replies
(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 98

@robert thanks!

Is there a way to have one type (e.g. Active) never show?

e.g. if we set Hot and Active to the same number, does Hot supercede the active icon?

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10590

@vanessa,

You should set a large number to the Active topic type to remove it. For example 99999 but not larger than 100000000.

(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 98