Posted by
bvcweb on 27-08-2008 13:50
#144
I use this infusion for add some private information so I only want this information for the admin and the superadmin (not for member). And only his own information.
Now I have the following code in profile.php:
Code
if (iGUEST || (iMEMBER && $data['user_id'] != $userdata['user_id'])) {
tablebreak();
} else {
tablebreak();
@include INFUSIONS."extended_profile/includes/profile.php";
tablebreak();
}
The superadmin see his own info and the admin see his own info. BUT the member see his info too and that's not wath I want.
Please help.