Please Log in or Create an account to join the conversation.
Yes, using an asset filter you can do that. Kunena activity is stored with an asset of kunena.POST_ID so an asset filter of kunena.% will show only Kunena activity.- Is it possible to filter forum posts (Kunena)? For example: only Kunena posts, or all posts except Kunena posts
Yes, direct posts on a stream are stored with an asset of profile.USER_ID so an asset filter of profile.% should filter only to direct posts.- Is it possible to add a filter that shows only activity wall posts? Meaning only posts that people actually wrote on it, so no "is now connected with" or "joined group".
Yes, basically same situation as above. GJ example is in my blog.- Is it possible to add a filter that shows only posts from groups that a user is member of, or only of pictures the user's connections have uploaded to their gallery?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That would display all activity from the logged in users connections.The asset of the activity module itself I have set to "self,connectionsonly" because I only want the activity wall to show posts of the user and his connections only.
Filters just change the asset the stream is outputting. So if you want it to output a specific asset then you'd supply that for the asset.Does this asset setting automatically also apply to the filters, or do they need to be set there as well?
Read the parameter descriptions very carefully. It explains how to utilize the filters parameters. You can specify multiple assets separated by a comma as well.The idea is that all fiters also only show posts related to the user himself and to his connections. However, when I try to apply this, it doesn't work and clicking on a filter just reloads whatever the previously shown filter showed. So I assume that I have put my settings in wrong.
Set the Asset to kunena.% and set Users to "connections" (without quotes).I tried a few different combinations, such as e.g. "kunena.%,self,connectionsonly", or added the "self,connectionsonly" to the "users" field in the filter. I tried the settings as in the examples on your blog post as well, but the same results. When I leave all those out and only do e.g. kunena.% then it also shows posts from users not in my connections.
Same as the above except set Users to [user_id].In addition to have a filter that shows kunena posts of both the user himself and his connection, I also want to have a filter that shows kunena posts ONLY of the user himself and not of his connections (so you'd have a handy overview of all the posts you have made).
Same as the above. Use the Asset in combination of the Users filter. Beyond that there's no special assets available for GJ specifically at this time. My blog provides a GJ example already for handling this.As for the groups: here I would like to show posts ONLY of the groups a user is member of. This means:
- no posts of groups he's not a member of, even if the post is made by someone of his connections.
- includes posts of groups he's a member of, even if that post is made by someone not of his connections (but obviously someone who is member of a group he's in).
Review your activity in CB Activity > Activity. All of the assets of stored activity are there. Formulate an Asset parameter value based off the assets of the stored activity. Substitute in a wildcard using % when necessary. So for example gallery.photos.30340 becomes gallery.% to display all CB Gallery activity or gallery.photos.% to show all CB Gallery photos activity.Also, what asset do I use to show only posts of the image gallery?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You said you were using it in an Activity module so yes it will only do anything if you're logged in otherwise the module has no clue who you are.You say that the assets self,connectionsonly only shows activity of logged in users. I thought this would show all your own posts + all posts of your connections (regardless of whether they are logged in at that moment or not). When I change "connectionsonly" to "connections", the same posts still appear. Anyway, I have now set it to "connections".
It sounds like the connections usage isn't working for you for some reason. Is CB Activity completely up to date? How many connections do you have?Now when I remove the parameter "connections" in "users" for these filters, they all show the related posts (forums, groups, gallery, ...) but of ALL users and not ONLY connections
Please Log in or Create an account to join the conversation.