The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to find code of PM Notifications
I have written code to disable PM's, etc on a per user basis. It also sets the ability for them to receive or read a PM. It works great.
Now I also want to disable the PM notifications on a per user basis but I am having a hard time finding the place in the code that, when a PM is sent, determines if the receiver is supposed to get an email and if so, sends the PM notification. I have looked hard at private.php but cannot seem to find the code in that script. Can someone help me out here? |
#2
|
|||
|
|||
The code that sends PM notification email is in includes/class_dm_pm.php.
|
#3
|
|||
|
|||
awesome... thank you.. I now have lots of user-based admins
Last question on the PM notification - is it done immediately after the PM is created, or is it done via a cron job? |
#4
|
|||
|
|||
It's sent just after the pm is created. Edit: well, the function to 'send' an email is called just after the pm is created, but if your're using the mail queue then it won't be sent right away.
|
#5
|
|||
|
|||
i found it - thank you
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|