vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Email On Full PM Box (https://vborg.vbsupport.ru/showthread.php?t=42804)

Cloud Strife 08-27-2002 09:36 AM

Email On Full PM Box
 
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
PHP Code:

 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
PHP Code:

 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
PHP Code:

    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

Quote:

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?

PHP Code:

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

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


All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00943 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete