View Full Version : Activity Stream how to exclude question
Wired1979
03-11-2013, 08:23 PM
Is there a way to exclude selected forums from the activity stream display? if not a selected forum, possible a selected user?
I have a user set up called RSS_FEEDS for several RSS Feed forums.
I would prefer that these RSS feed posts not show up in the activity stream.
thanks
New Joe
03-12-2013, 02:01 AM
Currently, to exclude certain forums from the activity stream, in vb/activitiystream/view/perm/forum/post.php and thread.php, add this to the query:
AND t.forumid NOT IN (2)
change 2 to whatever forum you like or add several like:
AND t.forumid NOT IN (2,4,6,8)
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/412292-block-specific-forums-from-activity-stream?
SnaKe |WiH|
04-01-2013, 03:56 PM
where do I add this in the php? I know you say to the query....but I am not that up on code...so any more insight would be great!
Wired1979
04-01-2013, 05:01 PM
where do I add this in the php? I know you say to the query....but I am not that up on code...so any more insight would be great!
this is what my post.php ended up looking like, i did not paste the entire file here:
WHERE
p.postid IN (" . implode(",", array_keys($this->content['postid'])) . ")
AND
p.visible <> 2
AND
t.visible <> 2
AND
t.forumid NOT IN (66,67,40,41,63,86,94,101)
SnaKe |WiH|
04-01-2013, 05:15 PM
thank you. thought that is where it was, just wanted to be sure.
--------------- Added 1364903658 at 1364903658 ---------------
The php edit worked great for getting the posts out of the activity stream, but is there a way to eliminate them from the unread posts also?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.