MyBB Community Forums
[How To?] Hide Posts in FID X (Recent posts sidebar) - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Hide Posts in FID X (Recent posts sidebar) (/thread-224627.html)



Hide Posts in FID X (Recent posts sidebar) - makpaolo - 2019-09-15

Typically with my forum you can find users in one forum posting to unlock hide content. This is okay, but it makes my index page look like a "spamming" forum (with the way the recent posts sidebar would look like).

I was wondering if there was a way to add something next to the recent posts text in the sidebar that will say "Recent Posts [Hide ForumID1 Posts]", and if the Hide ForumID1 posts is clicked, then it will hide all posts showing in that one forum. This can also work for a thread prefix if its more achievable that way without any additional plugins needed

I am using the plugin "Top Stats"

<div id="sidebars">
<div class="tborder threadlast">
<div class="thead-new">
Recent Posts
</div>
<div class="sub-activity">

<div class="panel-tab">
<div>{$topStats['LastActiveThreads']}</div>
</div>
</div>
</div>
<br /> 
<div class="tborder threadlast">
<div class="thead-new">
Newest Threads
</div>
<div class="sub-activity">

<div class="panel-tab">
<div>{$topStats['LastThreads']} </div>
</div>
</div>
</div><br />