Conditional activities to show based on PHP function

Conditional activities to show based on PHP function

de Usuario eliminado -
Número de respuestas: 1
hey All,

is it possible to hide/show a activity based on a PHP function that returns TRUE or FALSE?

I am in the situation that a activity can only be shown when a users ID (actually email address) is found in a special table. If the user is found on this special table, I need to show a link with a specific activity,
or else hide it.

Roles won't work for well for me in this case, unless I dynamically add/remove users from specific roles.

Ries
Promedio de valoraciones: -
En respuesta a Usuario eliminado

Re: Conditional activities to show based on PHP function

de Mike Churchward -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers
You could use groupings to do this. With groupings, you can make an activity visible only to the groups in that grouping. Then your problem becomes one of putting users into groups/groupings based on their email addresses.

mike