Hi,
I'm trying to use substitutions in a CB Code field that pulls user data dynamically, e.g.
$user_id = '144';
echo '[cb:userfield field="avatar" user=" ' . $user_id . ' " /]';
However, this returns 'UNAMED USER'.
Substitutions do work without a variable in the user field e.g.
echo '[cb:userfield field="avatar" user=" 144 " /]';
Is it possible to use substitutions this way in the CB Code fields?