The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#41
|
||||
|
||||
Can't believe I missed it - thanks filburt1.
Okay, to make it so that if the "PM Email notification" is ON, the PM is automatically made READ when the Email is sent to you, do this: Open private.php, find: PHP Code:
PHP Code:
Then, find: PHP Code:
PHP Code:
This hack may interfere with other PM hacks. I've had to modify global.php as well. I hope it is all working now. |
#42
|
||||
|
||||
What did you modify in the global.php?
|
#43
|
||||
|
||||
Isn't your code above the same code that was in the first message you posted it in?
|
#44
|
||||
|
||||
Basically, if you have the direct PM link hack installed, this mod interferes with it. So I disabled the PM popup code when you access private.php (which you don't need anyway since you are looking at your PMs).
You find this in global.php: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#45
|
||||
|
||||
Quote:
|
#46
|
||||
|
||||
Thanks for sorting this out. Great idea!
Also, I have the "Improved PM Popup Start" hack installed. This should all be ok together, shouldn't it? |
#47
|
||||
|
||||
Not familiar with that hack, but if it's working, then it should be ok.
|
#48
|
|||
|
|||
so wait, let me get this straight. if you get an email with the pm content, the code in post 41 makes it so the pm is automatically made read. Whats the code in post 44 do? Does it stop the pm pop-up from happening?
|
#49
|
||||
|
||||
Mmm... your post numbers are different to mine... the private.php code is like you say, to make the message read if email is sent.
The global.php is OPTIONAL and only if you get a global.php error - this hack may interfere with the PM popup direct PM link hack (at least here anyway) - if so, put that piece of code in to fix it. |
#50
|
|||
|
|||
ah, ok, but here the question. If you get email with the pm content, and the code you posted makes the pm automatically read, is there a way to not get the pm popup if you have email on pm's? It seems very redundant to get the email and the pm popup. I'm not talking about changing the setting in your user cp, but if a user has pm email notification set to yes, the pm pop-up would be turned off.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|