Find:
=====
if ($is_one ne "true") {
&StandardHTML($vars_wordlets_err{not_admin_or_mod});
}
Replace with:
=============
if ($is_one ne "true" && $username ne "user's_login_name") {
&StandardHTML($vars_wordlets_err{not_admin_or_mod});
}
Better double check your code LK. It does not work. I found that line 4 times.
Only admins and mods are only allowed to make stickys, not regular board members.
I think you skiped a few codes I notice repeat itself with all 4 lines.
# user must be an admin or mod
#verify cookie id
@user_profile = &verify_id_num($username, $password, $user_number);
# make sure user is an admin or moderator of this forum
my $is_one = &is_admin_or_mod($in{f}, @user_profile);
if ($is_one ne "true") {
&StandardHTML($vars_wordlets_err{not_admin_or_mod});
}
[ 01-25-2002 08:17 PM: Message edited by: Terminator_X ]