UBB.Dev
Posted By: LK [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

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;
Posted By: Ian Spence Re: [6.7] [beta] Show Passwords From CP - 02/07/2004 4:51 PM
grazie! works great laugh
Posted By: Valkyrie Re: [6.7] [beta] Show Passwords From CP - 02/07/2004 9:14 PM
Thanks LK, works great.
Posted By: radrico Re: [6.7] [beta] Show Passwords From CP - 09/04/2004 1:33 PM
i dont think this will work on 6.6 that text isnt foudn anywhre... if anyone can get it to work tho let me know how!
Posted By: Gizmo Re: [6.7] [beta] Show Passwords From CP - 09/04/2004 7:15 PM
Quote
Originally posted by radrico:

i dont think this will work on 6.6 that text isnt foudn anywhre... if anyone can get it to work tho let me know how!
That's because it's a 6.7 mod wink ... You really should upgrade before the member renewal sale is over wink
Posted By: LK Re: [6.7] [beta] Show Passwords From CP - 09/04/2004 10:44 PM
It already is over, I think wink

Look for "my $password_field" in that file of 6.6, try to see what's the differences between the code I quoted and your code... (unfortunately I don't have 6.6 anymore)
Posted By: Gizmo Re: [6.7] [beta] Show Passwords From CP - 09/04/2004 11:54 PM
LK, i have a 6.6 somewhere, message me on aim if you want to look it over.
Posted By: Ian Spence Re: [6.7] [beta] Show Passwords From CP - 09/05/2004 2:06 AM
Guys, remember, in 6.6 the code was already there, just commented out
Posted By: radrico Re: [6.7] [beta] Show Passwords From CP - 09/24/2004 12:39 PM
Quote
Originally posted by LK:

It already is over, I think wink

Look for "my $password_field" in that file of 6.6, try to see what's the differences between the code I quoted and your code... (unfortunately I don't have 6.6 anymore)
Nope not there.. Anyone have a 6.6 version?
Posted By: Ian Spence Re: [6.7] [beta] Show Passwords From CP - 09/24/2004 2:10 PM
search for the word "meeting" in cp2_editprofile.pl, uncomment the code below it
Posted By: radrico Re: [6.7] [beta] Show Passwords From CP - 09/24/2004 3:03 PM
when you say uncomment the code below it do you mean delete? (sorry im an idiot)

Edit: Nevermind Gizzy helped me with that part. Blah im an idiot i got it tho! smile
Posted By: Gizmo Re: [6.7] [beta] Show Passwords From CP - 09/26/2004 5:11 AM
# This is a comment

wink
Posted By: AllenAyres Re: [6.7] [beta] Show Passwords From CP - 11/21/2004 8:09 AM
works well, thank you laugh
Posted By: BFolger71 Re: [6.7] [beta] Show Passwords From CP - 12/17/2004 11:03 PM
Hi - Thank you very much for posting this mod.

However, we're running 6.7.0, and I'm not finding the file to be edited anywhere.... The vast majority of our files are .cgi. Am I missing something very basic here? Excuse my ignorance if so - I'm new to UBB.classic.
Posted By: Ian Spence Re: [6.7] [beta] Show Passwords From CP - 12/17/2004 11:59 PM
it's in the Templates folder
Posted By: Gizmo Re: [6.7] [beta] Show Passwords From CP - 12/18/2004 2:30 AM
the templates folder is in the noncgi folder wink
Posted By: BFolger71 Re: [6.7] [beta] Show Passwords From CP - 12/20/2004 8:50 PM
Apparently, I *was* missing something very simple. Thank you so much!!!
© UBB.Developers