Code:
In functions.php, replace this:
---- start code ----------------------------------------------------------
$useremails=$DB_site->query("SELECT user.*
FROM subscribethread,user
WHERE subscribethread.threadid='$threadid'
AND subscribethread.userid=user.userid
---- end code ------------------------------------------------------------
With this:
---- start code ----------------------------------------------------------
$fieldid = 7; // ID of the email password field in the user's profile
$useremails=$DB_site->query("SELECT user.*,userfield.field$fieldid
FROM subscribethread,user,usergroup,userfield
WHERE subscribethread.threadid='$threadid'
AND subscribethread.userid=user.userid
AND userfield.userid=user.userid
---- end code ------------------------------------------------------------
my functions.php aint got that, it might have something do with another hack, i got something similar so i might try editing that, just wanna make sure i don't thuck anything else up