marquisite
Well-known member
I've been searching around the Xenforo forums and can't find how to have Xenforo display a custom content type as a news feed item. Would anybody have any pointers or know of any good tutorials that will do this?
I already have got as far as having the custom news feed data inserted into the xf_news_feed using XenForo_Model_NewsFeed()->publish(), and I have a news_feed_item_[contenttype]_insert template as well. But I'm just not sure what to do next to have the custom content type show up as recent activity. All the data I need to display is contained within the extra_data column of xf_news_feed for a given news feed item.
Any pointers would be greatly appreciated!
I already have got as far as having the custom news feed data inserted into the xf_news_feed using XenForo_Model_NewsFeed()->publish(), and I have a news_feed_item_[contenttype]_insert template as well. But I'm just not sure what to do next to have the custom content type show up as recent activity. All the data I need to display is contained within the extra_data column of xf_news_feed for a given news feed item.
Any pointers would be greatly appreciated!