The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MNG - Send Custom PM or Email to User on Paid Subscription Details »» | |||||||||||||||||||||||||||
MNG - Send Custom PM or Email to User on Paid Subscription
Developer Last Online: Dec 2011
Send Custom PM or Email on Paid Subscription v1.0
About this mod: I have seen a number of requests for the ability to send a custom PM and/or a custom email when a user buys a Paid Subscription from your board. This would be used if you want to tell them their payment has been received, rather than relying on, say, paypal to do it for you. You can write a custom message in the PM or email to explain what they've bought and are entitled to now. This is also good for when you receive a donation from users, as you want them to feel like they've been acknowledged in some way, by PM or email. I had to code this for my own board anyway, so I thought I'd release it here. I'm just that nice. This hack allows you to configure text for a PM and/or an email on a per-subscription basis. You can set either the PM or email or both to send when someone purchases a subscription. Configurable: * The PM sender * The PM subject * The body of the PM * PM active/inactive for a particular subscription. * The email sender address * The email subject * The body of the email * Email active/inactive for a particular subscription. * The Paid Subscription ID that the PM and/or Email are to be sent for when one of the subscriptions is bought. * Email text always includes the expiry date of the subscription (hardcoded). * Email text always includes a link to the members' profile. Input on features you would like to see for this hack is very welcome, but may not be possible to implement. The Paid Subscriptions are very tightly coded by default in vbulletin. What this mod does to your board: (nice to know beforehand) * 1 plugin added. * 1 table added (called 'subscriptionpmemail'). * 1 Admincp menu xml file. * 1 function file for use by the admincp. * Time to install: 1 min Updates: Version 1.0 (28th March 2008): * Release of this hack for vBulletin version 3.6.8 MAKE SURE YOU CLICK INSTALL! If you like this hack and use it then DONATE! Pictures (attached): 1. Admincp: Configure PM or Email text to send. 2. PM that is sent to user upon purchase of a particular subscription. 3. Email that is sent to a user upon purchase of a particular subscription. Show Your Support
|
Comments |
#12
|
|||
|
|||
Thanks! I am actually a user that requested this several times, and even has 2 coders going to make it for me before they vanished. So I am very happy that you have made this.
ps. Will you be upgrading this to 3.7 as well, as I plan on upgrading when vb 3.7 goes gold. |
#13
|
||||
|
||||
Not currently. The PM body and email body cannot take variables and interpret them, unfortunately. I'll try to think of a way around this though, but until then this is not possible.
Quote:
Quote:
It will be in a future version though, with the option to set when each subscriber is informed (currently subscribers are emailed by default in vbulletin 2-3 days before their subscription is to expire) Quote:
I'm glad that you like it! Quote:
The PM system in 3.7 for automated PM's is slightly different to the system in 3.6.8 I understand, so the PM bit in this mod will almost definitely not work in 3.7 If you (of anyone else for that matter) want to install it on a 3.7 board, the emails should work the way they are set at the moment |
#14
|
|||
|
|||
please make it compatible for 3.7 8)
|
#15
|
||||
|
||||
Hi Ringleader. Thanks for making this mod. I had a customer that was using the other defunct one and it stopped working in 3.68.
I made a change to the cpnav_autopmemailpaidsub.xml so that it would load the menu item under the paid subscription menu instead of creating a whole new menu listing. Much neater that way. If anyone else wants to change this then just replace the contents of cpnav_autopmemailpaidsub.xml with the following code. Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <navgroups product="autopmemailpaidsub" master="false"> <navgroup phrase="paid_subscriptions" permissions="canadminusers" hr="true" displayorder="170"> <navoption displayorder="500"> <phrase>email_pm_manager</phrase> <link>pmemail.php?do=modify</link> </navoption> </navgroup> </navgroups> |
#16
|
|||
|
|||
perfect! this is what I was looking for
|
#17
|
||||
|
||||
Quote:
I guess I just started building it as though it was going to be larger initially than it actually ended up being Re: variables. I can't seem to get my head around how to construct a phrase like that, so that cleanliness was being kept for a later version. Sure no-ones particularly notices for the time being ****** NOTE FOR ALL - JUST SO YOU ARE AWARE ********* Be aware all that if you manually change, delete or extend someone's subscription in the Admincp it will resend the email and/or PM to the person. This is because the subscription is re-built again by vbulletin, and the email/pm bit is executed on build. It won't affect you really, is not particularly bad, and you probably won't ever encounter this anyway! |
#18
|
|||
|
|||
any changes for 3.7 version?
|
#19
|
||||
|
||||
I haven't a clue, redraider. I haven't upgraded my boards yet.
Since it doesn't use form tokens, it will work in versions up to 3.6.10 Let me know if you see any problems with it, will you? |
#20
|
|||
|
|||
i would like to see a 3.7.1 version
thank you |
#21
|
|||
|
|||
I installed in 3.7.1 PL2
I have not any problem with this product, just can't send any email to users. I like to to see your updates. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|