You can't insert the activity id into the asset. The id doesn't exist yet. You shouldn't be inserting an activity id into its own asset though. The asset is meant to depict the location
For instance, lets say that a user has added several wanted items numbered wanted.1.action.12.profile.57 , wanted.2.action.12.profile.57 and wanted.3.action.12.profile.57Likes should already be enabled so they can like that activity entry. Aside from that you'll need to be more specific about what you mean by special function.
Please Log in or Create an account to join the conversation.
The identifier aspect of an Asset is meant to depict an object it is referencing. It can not reference itself.This was because we need this asset to be unique and be easily retrieved. What kind of id can I use for this ?
Ideally a user could have several wanted items with the same action id and we would like to target each of them independently with an independent activity stream
That's perfectly fine, but you need to figure out where that 1, 2, and 3 are going to come from. There has to be a thing these are associated with.For instance, lets say that a user has added several wanted items numbered wanted.1.action.12.profile.57 , wanted.2.action.12.profile.57 and wanted.3.action.12.profile.57
Best I can suggest is use the existing Filters functionality that lets them filter the stream down by asset or user.I'ld like to display a dropdown field of these three items, allow our user to select one of the three, and then display all the activities linked to this item.
Display them where? The modal window displayed when clicking the likes text already displays everyone who has liked the activity entry. You can also display the same modal window view as a page by linking to it from a Joomla menu item if you like. I suppose you could also filter a userlist using an advanced filter against the likes database table.As for the likes, I'd like to display all users who have liked the wanted item.
There is no support for public likes. There are no plans for supporting public likes either at this time.And better, I'd like to store also non registered users email who may like this item if this could be feasible ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The nested params depth at this time only goes down 2 levels (will be customizable in the future) so it may not be accessible. It'd first parse into var3 then into params then it'd stop. So only [var3_params_action] would be reachable without PHP. Fortunately latest CB Auto Actions release has a new condition type Code to let you supply custom PHP to condition against and you'll likely have to use that, which the below should work.For the autoaction I also tried to condition to [var3_params_action_id] not empty but it seems to fail. How can I access it in the autoaction condition ?
What do you mean by new event? A GJ Event or do you mean create another activity entry?Next, is it possible in the same code autoaction to use the activity input (message, action , location) in order to create a new event in a defined group ?
Auto action order is respected so you could just have 2 auto actions on the same trigger. You can also directly chain auto actions with the autoactions_onAction trigger, but you need to be careful and be sure to condition it otherwise you'll get stuck in an infinite loop. Its trigger variables are as follows.Or should I chain another autoaction ? how would you do it ?
Please Log in or Create an account to join the conversation.
What do you mean by new event? A GJ Event or do you mean create another activity entry?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.