FEU new property does not show immediately

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

FEU new property does not show immediately

Post by rotezecke »

hi
when I add a property to FEU and assign to a group, these properties are not added to the user until the changesettings form (via frontend) is submitted, or the user is modified in the backend.
There's a new entry in table "module_feusers_propdefn" but nothing in "module_feusers_properties".
Is there already a function that can populate "module_feusers_properties" table with an empty value for each user? I want to run a report on users who have agreed to a new policy.

Code: Select all

{$mymembers=feu_smarty::get_users_by_groupname('staff')}

{foreach from=$mymembers item=user_value}
   {$props=feu_smarty::get_user_properties({$user_value.id})}
   {$props|print_r} ...
The new property only appears in $props array when user properties in front or backend or updated. I think I know how to write a plugin to do what I want, but I wonder if there's a function/method already. Thanks
Post Reply

Return to “Modules/Add-Ons”