Project

General

Profile

Actions

Feature proposal #6962

closed

Implement extendable User parameter

Added by krileon over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
05 January 2018
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by krileon over 6 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)

Actions #2

Updated by krileon over 6 years ago

  • Target version changed from 10.0.0 to 7.2.0
Actions #3

Updated by krileon over 6 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.

Actions #4

Updated by krileon over 6 years ago

See https://forge.joomlapolis.com/issues/6963#note-7 regarding GJ Stream/Gallery notification support.

Actions #5

Updated by krileon about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF