PDA

View Full Version : Email On Full PM Box


Cloud Strife
08-27-2002, 09:36 AM
How do I stop the feature where vbulletin sends an email when someones PM box is full???

Any help will be appreciated thanks

Cloud

Logician
08-27-2002, 10:52 AM
edit private.php, DELETE these lines

eval("\$emailmsg = \"".gettemplate("email_pmboxfull",1,0)."\";");
eval("\$emailsubject = \"".gettemplate("emailsubject_pmfullbox",1,0)."\";");
mail($touserinfo[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");


edit private2.php, DELETE these lines

eval("\$email_message = \"".gettemplate("email_pmboxfull",1,0)."\";");
eval("\$email_subject = \"".gettemplate("emailsubject_pmfullbox",1,0)."\";");
mail($touserinfo[email],$email_subject,$email_message,"From: \"$bbtitle Mailer\" <$webmasteremail>");


edit private2.php, DELETE these lines

eval("\$email_message = \"".gettemplate("email_pmboxfull",1,0)."\";");
eval("\$email_subject = \"".gettemplate("emailsubject_pmfullbox",1,0)."\";");
mail($touserinfo[email],$email_subject,$email_message,"From: \"$bbtitle Mailer\" <$webmasteremail>");

Cloud Strife
08-27-2002, 11:09 AM
Thanks, I did that, but now users have unlimited PM space??
Is there anyway to fix that??

Logician
08-27-2002, 11:54 AM
but now users have unlimited PM space??
this does not seem possible.. Make sure you deleted only the lines I referred nothing else.. These lines are only for mail notification, deleting them can not increase their PM space..

Cloud Strife
08-27-2002, 12:43 PM
Sorry... Your right...
It was my fault... I didnt realse that admins could sent people PMs even if the person they were sending to had a full PM box....

Thanks for your help, I really appreciate it!

Cloud

SloppyGoat
10-22-2005, 07:21 PM
How can I change the email notification so it emails when they're getting close to full, instead of after it's already full? Do I just change this one value in private.php?


if ($pmquota>0.8 and $touserinfo[usergroupid] != 6 and $bbuserinfo[usergroupid] != 6) {

Will changing that from "0" to "0.8" do it?