The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ive searched around and wasnt able to find anything for 3.5 that had this functionality.
What I'd like to do is have vB automatically send Premium members a 'Thank you PM' after payment for their membership is recieved. If anyone knows of an existing hack to do this, or could help me create one, I'd greatly appreciate it! |
#2
|
||||
|
||||
![]()
Good idea...
|
#3
|
||||
|
||||
![]()
This would be nice.
|
#4
|
|||
|
|||
![]()
agreed. Great idea
|
#5
|
||||
|
||||
![]()
This looks easier than I thought...
Create a new plugin. Hook Location: paidsub_complete Plugin PHP Code: Copy and past the example Andreas gave in the first php code box, just be sure to change the approprate userid and message and stuff like that. https://vborg.vbsupport.ru/showthread.php?t=82786 edit: I dont have subs yet, so I haven't tried this out. |
#6
|
|||
|
|||
![]() Quote:
So I would change the line $pmdm->set_recipients('newuser', $botpermissions) to: $pmdm->set_recipients('paidsub_complete', $botpermissions) ?? Thanks |
#7
|
||||
|
||||
![]()
no, when you create the new plugin, paidsub_complete should be teh HOOK that you use
|
#8
|
|||
|
|||
![]()
If you created a plugin how does it know to send Pm to that new member of that premium membership when they sign up??
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|