FEU: $ccuser-> memberof does not work (for me) !!!!
Posted: Thu Oct 06, 2011 1:26 pm
hi all,
this works fine :
{if $ccuser->loggedin()}
You're logged in
{else}
Please log in
{/if}
This does not work for me:
{if $ccuser->loggedin() && $ccuser->memberof('users')}
You're logged and belong to group "users"
{else}
No access permitted
{/if}
the user id i'm testing belongs in FEU to "users" group but this last code give me no access as if i had no group or if the user belongs to another group....
anyone can help me ?
really thanks.
eric
this works fine :
{if $ccuser->loggedin()}
You're logged in
{else}
Please log in
{/if}
This does not work for me:
{if $ccuser->loggedin() && $ccuser->memberof('users')}
You're logged and belong to group "users"
{else}
No access permitted
{/if}
the user id i'm testing belongs in FEU to "users" group but this last code give me no access as if i had no group or if the user belongs to another group....
anyone can help me ?
really thanks.
eric