Hide Email and Password change
Hi all, I'm looking for a way to hide/ disable the change email and password button from just one user. I'd like to use this account as a kind of test account and I don't want the guests to be able to change the email and password of the account.
I've tried inserting a conditional in the USERCP_SHELL template here:
<if condition="$bbuserinfo['userid'] != bob">
<tr>
<td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td>
</tr>
</if>
But that doesn't seem to work. When I login as userid Bob, I'm still able to change the email and password.
Any other ideas? Many thanks in advance...
|