Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We're not compatible with Fontawesome 5. We may not even be using Fontawesome anymore in the near future since Bootstrap icons is progressing more and more. Fontawesome has went far too commercial and their new CSS structure is frustrating with different base classes for no reason breaking backwards compatibility. Note fa-smile does not exist in Fontawesome 4, which is what we are currently using.PS : just a tiny thing, could you change the action icon from fa-smile-o to fa-smile only ? because the latter is perfectly compatible with fontawesome 5 but not the former
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
activity_onBeforeUpdateStreamActivity only fires after an activity entry edit. The params should be available perfectly fine in activity_onBeforeCreateStreamActivity. It doesn't need to be stored in the database yet; the params exist in the $row object, but you'll likely need to use PHP to reach them.Using activity_onBeforeUpdateStreamActivity is fine but using and activity_onBeforeCreateStreamActivity does not give the expected results as there are not yet any id or params registered in the DB.
Did you be sure to set Reference Variables under Parameters in your auto action? Without that it won't pass $row by reference so your changes won't persist to the store function called after that trigger. See my reply earlier where you need to set Reference Variables to Variable 3 for those triggers.I have also tried activity_onAfterCreateStreamActivity but this last one does not change the asset id
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. Example as follows.without results outputs are
Likes 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.Another linked question : can I add a special like behavior ? or a special join/subscribe function ?
The idea would be to register users interests in the wanted asset either by a like button or a following action on #__comprofiler_plugin_activity_following
Please Log in or Create an account to join the conversation.