Try:
Code:
<if condition="!$bbuserinfo[userid] == 1">
<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>
Where "1" is change the user ID to that who you do not want to see that code.
For multiple users try:
Code:
<if condition="!in_array($bbuserinfo[userid], array(1,2,3))">
<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>
When you add users make sure to add a comma after the number. Good luck.
--------------- Added 16 Jul 2009 at 09:48 ---------------
BUT...
I'd like to add that the user can still change the password by using password recovery or if they know the URL of the e-mail and password edit. Instead, I'd edit /forum/includes/config.php and find the codes:
Code:
// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = '1,2,3';
Just as you do with conditionals, add the user ID who you do not want to be able to edit anything in the Control Panel. At the same time I'd also include any user who has access to the Admin CP.