[buddypress-trac] [BuddyPress Trac] #3460: Support custom post types in activity stream
buddypress-trac
noreply at wordpress.org
Fri Feb 28 16:28:48 UTC 2014
#3460: Support custom post types in activity stream
-----------------------------------+-----------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: new
Priority: low | Milestone: Future Release
Component: Activity | Version: 1.2.8
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch |
-----------------------------------+-----------------------------
Comment (by imath):
3460.05.patch is adding a new admin UI in each subsite in case of a
network. This is a screenshot of this UI :
[[Image(http://farm8.staticflickr.com/7432/12836714093_9709eec427_z.jpg)]]
Thanks to it :
The subsite administrator can eventually deactivate a post type that is
active on the network or activate one that is not available on the
network.
The really tricky part is for populating the action filters in activity
directory and member activity page. I've tried to think about all
possibilities but one will probably need a repare tool (i need to test
#5296) :)
If a post type is subsite only, and activated in the subsite: it's tracked
and the activity actions is added to the selectboxes. If the site
administrator change his mind and decide to untrack the post type from his
subsite, the post type is no more tracked and the activity actions is no
more in the selectbox (except if the same post type is still tracked by
another subsite).
But if the administrator uses the "discourage search engine" option before
untracking his post type, then there's a chance the selectbox keeps on
displaying the action for the untracked post type.
So if we are to do this, from my point of view it can be interesting to
have a repare tool to check if the post type is no more in use in any
subsite to eventually remove it from the activity selectboxes.
Another approach would be to consider in the case of "specific to subsite"
post type, we're not taking care of creating an activity filter..
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3460#comment:57>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list