The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PM Script Question
I have created a second type of Private Message and want to increment the referral points when that type of PM is sent. I am getting a little confused as to which template or script to modify with the addition of the code for incrementing the refererrid field. So my specific question is this - when a PM is sent, what is the last script to be executed (or which section of that script is the last to be executed) or what is the last template to be used. That, I think, is where I want to add the code, since I don't want to increment until the message is finally sent.
Thanks, Paul Cardin |
#2
|
||||
|
||||
file privat.php
section start send message just put your code before: eval("standardredirect(\"".gettemplate("redirect_p mthanks")."\",\"private.php?s= $session[sessionhash]\");"); |
#3
|
|||
|
|||
Thanks, it all works like a charm.
PDC |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|