Jake Bunce
Well-known member
Jake Bunce submitted a new resource:
Omit thread from recent activity (code example) (version 1.x) - Allows you to omit a thread from recent activity. Useful for spammy threads.
Read more about this resource...
Omit thread from recent activity (code example) (version 1.x) - Allows you to omit a thread from recent activity. Useful for spammy threads.
It will prevent any new feed entries being made for a thread.
You need to edit this file to specify the thread_id you want to omit:
library/OmitFromRecentActivity/NewsFeedModel.php
Rich (BB code):<?php class OmitFromRecentActivity_NewsFeedModel extends XFCP_OmitFromRecentActivity_NewsFeedModel { public function publish($userId, $username, $contentType, $contentId, $action, array $extraData = null) { if ($contentType == 'post') { $postModel =...
Read more about this resource...