View Single Post
Old August 2nd, 2005, 08:56 AM   #13 (permalink)
encaustic
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
I'm running the 5.13 version.
My useralbums.php is like the second block in Omegatrons topmost post of this thread :
Quote:
if ( $isprivate == "yes" && $oldstat == "yes" ) {
$pa_password = gen_password();

$query = "UPDATE {$Globals['pp_db_prefix']}categories SET password='$pa_password' WHERE id=$albumid";
$setug = ppmysql_query($query,$link);
}
elseif ( $isprivate == "no" && $oldstat == "no" ) {
$query = "UPDATE {$Globals['pp_db_prefix']}categories SET password='' WHERE id=$albumid";
$setug = ppmysql_query($query,$link);
}
I am having the same passwords for albums problems with users and am now just a little confused as to which fix works and what code I need to alter to get 5.13 working on this.

Can you please advise me with a clear indication (for a simple mind) to copy and paste or edit as must be done for correct operation?
Thanks
encaustic is offline   Reply With Quote