[6.7] [beta] Show Passwords From CP - 02/07/2004 1:47 PM
Modification Name: Show Passwords From CP
Author(s): LK
Description: The new versions of UBB do not allow you to view users' passwords from CP. If you wish to view non-admin and non-mod users' passwords from CP -> Member Management, apply this hack.
Requirements: UBB.classic 6.7.0, might work on 6.6 too
Author(s): LK
Description: The new versions of UBB do not allow you to view users' passwords from CP. If you wish to view non-admin and non-mod users' passwords from CP -> Member Management, apply this hack.
Requirements: UBB.classic 6.7.0, might work on 6.6 too
Code
***************************
* Open cp2_editprofile.pl *
***************************
Find:
=====
my $password_field = $in{new} ? {
type => "text",
password => 1,
title => $vars_wordlets_cp2{editprofile_password},
name => "password",
value => $profile[1],
classright => "autobottom",
classleft => "bold autobottom",
} : undef;
Replace with:
=============
my $password_field = $in{new} ? {
type => "text",
password => 1,
title => $vars_wordlets_cp2{editprofile_password},
name => "password",
value => $profile[1],
classright => "autobottom",
classleft => "bold autobottom",
} : $profile[8] ne 'Administrator' && $profile[8] ne 'Moderator' ? {
type => "halfandhalf",
onehalf => $vars_wordlets_cp2{editprofile_password},
otherhalf => $profile[1],
classright => "autobottom",
classleft => "bold autobottom",
} : undef;