Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

5 Posts
2 Users
2 Reactions
1,068 Views
Posts: 103
Topic starter
(@vanessa)
Estimable Member
Joined: 2 years 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: 10616
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: 2 years ago

Estimable Member
Posts: 103

@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: 10616

@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: 2 years ago

Estimable Member
Posts: 103