Quote:
Originally posted by wluke
Why not use $bbuserinfo[userid] and $bbuserinfo[email]. Would cut down on the number of queries needed in fact it should eliminate any extra queries.
These should contain valid data if the member is already registers.
|
$userinfo contains the same info during verification
Code:
$userinfo=verifyid("user",$u,1,1);
which is why I used that. The other time it would happen (when verification is not required) I don't use any queries.
Rob: I think I found the problem, maybe. On line 497, try changing this
Code:
mail($newuseremail,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>");
to this
Code:
mail($email,$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>");