{"action":"created","issue":{"url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/417","repository_url":"https://api.github.com/repos/SocialEngine/phpv4-issues","labels_url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/417/comments","events_url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/417/events","html_url":"https://github.com/SocialEngine/phpv4-issues/issues/417","id":152713278,"number":417,"title":"Activity type setting for group topics are neglected, intermingled with user profile post settings","user":{"login":"rwetzlmayr","id":357054,"avatar_url":"https://avatars.githubusercontent.com/u/357054?v=3","gravatar_id":"","url":"https://api.github.com/users/rwetzlmayr","html_url":"https://github.com/rwetzlmayr","followers_url":"https://api.github.com/users/rwetzlmayr/followers","following_url":"https://api.github.com/users/rwetzlmayr/following{/other_user}","gists_url":"https://api.github.com/users/rwetzlmayr/gists{/gist_id}","starred_url":"https://api.github.com/users/rwetzlmayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwetzlmayr/subscriptions","organizations_url":"https://api.github.com/users/rwetzlmayr/orgs","repos_url":"https://api.github.com/users/rwetzlmayr/repos","events_url":"https://api.github.com/users/rwetzlmayr/events{/privacy}","received_events_url":"https://api.github.com/users/rwetzlmayr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-03T07:09:56Z","updated_at":"2016-06-25T00:50:57Z","closed_at":null,"body":"What are the steps to reproduce this issue?\r\n-------------------------------------------\r\n1. Go to the admin action type setting **When a user (subject) posts a message to another user's profile (object).** (http://www.example.com/admin/activity/settings/types/type/post)\r\n1. Check **Display > Main feed** for this action type.\r\n1. Post a new group topic or reply to an existing **group** topic.\r\n1. Browse the main activity feed and find a new entry for the group post created in the previous step.\r\n1. Go to the admin action type setting **When a user (subject) posts a message to another user's profile (object).** (http://www.example.com/admin/activity/settings/types/type/post)\r\n1. Uncheck **Display > Main feed** for this action type.\r\n1. Browse the main activity feed once more.\r\n\r\nWhat happens?\r\n-------------\r\nThe main activity no longer shows activities relating to new group posts or replies to group posts.\r\n\r\nWhat were you expecting to happen?\r\n----------------------------------\r\nI was expecting that the display of these activities in the main feed is controlled by the two appropriately labelled settings in **Activity Feed Item Type Settings**:\r\n\r\n1. **When a user (subject) creates a new topic in a group (object).** (`group_topic_create`)\r\n1. **When a user (subject) replies to a topic in a group (object).** (`group_topic_reply`)\r\n\r\nApparently, these two action type settings do not work as intended.\r\n\r\nAny other comments?\r\n-------------------\r\nI think that new group topics and replies to existing group topics create an entry in the `engine4_activity_stream` table with `type` set to `post` and not with `type` set to `group_topic_create` or `group_topic_reply`, resp. \r\n\r\nThus the activity type setting **When a user (subject) posts a message to another user's profile (object).** is also taken into account in `\\Activity_Model_DbTable_Actions::getActivity` for **group** postings: They are filtered out when this settings **Display > Main feed** checkbox is unchecked.\r\n\r\nWhat versions of software are you using?\r\n----------------------------------------\r\n**SocialEngine PHP Version:** 4.8.10\r\n"},"comment":{"url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/comments/228497240","html_url":"https://github.com/SocialEngine/phpv4-issues/issues/417#issuecomment-228497240","issue_url":"https://api.github.com/repos/SocialEngine/phpv4-issues/issues/417","id":228497240,"user":{"login":"Elshara","id":12810222,"avatar_url":"https://avatars.githubusercontent.com/u/12810222?v=3","gravatar_id":"","url":"https://api.github.com/users/Elshara","html_url":"https://github.com/Elshara","followers_url":"https://api.github.com/users/Elshara/followers","following_url":"https://api.github.com/users/Elshara/following{/other_user}","gists_url":"https://api.github.com/users/Elshara/gists{/gist_id}","starred_url":"https://api.github.com/users/Elshara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elshara/subscriptions","organizations_url":"https://api.github.com/users/Elshara/orgs","repos_url":"https://api.github.com/users/Elshara/repos","events_url":"https://api.github.com/users/Elshara/events{/privacy}","received_events_url":"https://api.github.com/users/Elshara/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T00:50:57Z","updated_at":"2016-06-25T00:50:57Z","body":"This issue can be reproduced under event profiles as well.\r\nI'm actually one to vote for group and event activity feeds to be removed entirely. It totally makes productivity impossible. To be replaced with comment walls. Same goes for profiles. Why should another user be able to post an update to someone elses activity feed? Replace that third party posting capability with comment walls. The link to profile comments page, group comments page and event comments page respectively. Alternatively, allow the ability to allow all members the need to send messages to groups and events as an alternative update function."}}
{"actor":{"display_login":"Elshara"}}