1
I am trying to make it so anonymous users can only view certain parts of a member's profile, but if a user is a member, allow them to see the entire profile.
I have been hacking around in system_userinfo.html but I am not a programmer and am not having much luck. This is what I was thinking:
<{$chkgroup = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_REGISTERED;}>
<{if $chkgroup == true}>
<tr valign="top">
<td class="head"><{$lang_extrainfo}></td>
<td class="even"><{$user_extrainfo}></td>
</tr>
<{/if}>
Can anyone give me a hint as to what I need to do? Should I be hacking userinfo.php instead?