Notifications
Clear all

Script [Closed] What determines "Hot" on the icons?

5 Posts
4 Users
3 Reactions
2,274 Views
Posts: 26
Topic starter
(@ruralinfo)
Eminent Member
Joined: 8 years ago

Just wondering what makes the "Hot" icon show up?  Also if I am not using the Q and A format, is there a way to not show the solved icon at the bottom?  Thanks..  Looking forward to the stable release and the addons..  This forum system blows all others away..  I have tried them all.  

4 Replies
Posts: 993
Moderator
(@martin)
Support Team
Joined: 8 years ago

Thank you ruralinfo,

Just wondering what makes the "Hot" icon show up? 

Topic becomes "Hot" after 20 replies. 

Also if I am not using the Q and A format, is there a way to not show the solved icon at the bottom?

This doesn't have direct relation to Q&A layout. The "Solved" featured is used for all kind of forums. But there is no option to turn that off yet.

2 Replies
(@cotner)
Joined: 2 years ago

Estimable Member
Posts: 126
Posted by: @martin

Topic becomes "Hot" after 20 replies. 

Is there ANY way of changing this? I would love for it to be something like 75 or 100.

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10587

@cotner,

You can use this hook code in Code Snippets plugin as a PHP code or in the functions.php file of your current active WordPress theme. This is a new hook, so it'll work starting from the next 2.0.7 version.

All topics with more than 75 posts will be displayed as hot:

add_filter( 'wpforo_hot_topic_min_posts', function($n){ return 75; });
Posts: 126
(@cotner)
Estimable Member
Joined: 2 years ago

Outstanding @robert

Thank you very much!