Feature proposal #6962
closedImplement extendable User parameter
Description
The User parsing needs to be more strict in its case checking (no else, but only elseif) then a trigger added to allow the user parsing to be overridden or extended. This can be done directly in the ->run function of auto action table objects. Trigger could probably be autoactions_onRunAutoAction.
Updated by krileon almost 7 years ago
This could possibly also just be done from the GJ action type it self? (addition of the trigger would still be good though)
Updated by krileon almost 7 years ago
- Target version changed from 10.0.0 to 7.2.0
Updated by krileon almost 7 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented the following trigger.
$_PLUGINS->trigger( 'autoactions_onRun', array( &$this, &$variables, &$userIds, &$users, &$loop ) );
This will allow extending of the user parsing behavior in addition to variables and looping behavior. This is executed AFTER user and loop parsing is done, but before execution.
At this time this will be utilized. Special User types maybe added in the future. For now using custom coding will be the best approach with the Custom User type.
Updated by krileon almost 7 years ago
See https://forge.joomlapolis.com/issues/6963#note-7 regarding GJ Stream/Gallery notification support.