|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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 *************************** * 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;
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
grazie! works great 
|
|
|
|
Joined: Mar 2002
Posts: 17
Newbie
|
Newbie
Joined: Mar 2002
Posts: 17 |
MK
|
|
|
|
Joined: Aug 2004
Posts: 20
Junior Member
|
Junior Member
Joined: Aug 2004
Posts: 20 |
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!
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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  ... You really should upgrade before the member renewal sale is over 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It already is over, I think 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)
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
LK, i have a 6.6 somewhere, message me on aim if you want to look it over.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Guys, remember, in 6.6 the code was already there, just commented out
|
|
|
|
Joined: Aug 2004
Posts: 20
Junior Member
|
Junior Member
Joined: Aug 2004
Posts: 20 |
Originally posted by LK: It already is over, I think 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?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
search for the word "meeting" in cp2_editprofile.pl, uncomment the code below it
|
|
|
|
Joined: Aug 2004
Posts: 20
Junior Member
|
Junior Member
Joined: Aug 2004
Posts: 20 |
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! 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
# This is a comment 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
works well, thank you 
|
|
|
|
Joined: Dec 2004
Posts: 2
Junior Member
|
Junior Member
Joined: Dec 2004
Posts: 2 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it's in the Templates folder
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
the templates folder is in the noncgi folder 
|
|
|
|
Joined: Dec 2004
Posts: 2
Junior Member
|
Junior Member
Joined: Dec 2004
Posts: 2 |
Apparently, I *was* missing something very simple. Thank you so much!!!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|