Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MNG - Send Custom PM or Email to User on Paid Subscription Details »»
MNG - Send Custom PM or Email to User on Paid Subscription
Version: 1.00, by ringleader ringleader is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 03-27-2008 Last Update: Never Installs: 55
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-28-2008, 03:34 PM
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Location: Dublin, Ireland
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*** Reserved, just in case ***
Reply With Quote
  #3  
Old 03-28-2008, 05:23 PM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am a little confused on what this does. Here is my understanding. When someone buys Paid Subscription it will send the staff a message stating that someone has used?

Thanks
Reply With Quote
  #4  
Old 03-28-2008, 05:28 PM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this send an email/pm to the user telling them that their Paid Subscription is almost up is that what it does?
Reply With Quote
  #5  
Old 03-28-2008, 05:29 PM
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Location: Dublin, Ireland
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DssCrazy View Post
Am a little confused on what this does. Here is my understanding. When someone buys Paid Subscription it will send the staff a message stating that someone has used?

Thanks
No, currently when someone buys a subscription vbulletin will inform the admin (or whoever you nominate in the admincp).

The only information the customer/user receives is from paypal that their payment has gone through.

This allows you to send your own custom message to the customer/user using either a PM or email (or both), depending on the subscription purchased.

The kind of thing this would be used for is to give them information about what they're entitled to with their subscription, etc, or to tell them that you yourself acknowledge receiving their subscription payment.

It's a lot more professional than relying on paypal to inform them, but having no word from the forum itself about anything.

Edit: A user receives an email 2 days before their subscription is up, currently.

In future I'll be adding a configurable system that you can send custom PM's or emails to them whenever you choose to, e.g. weeks before it's up, etc.
Reply With Quote
  #6  
Old 03-28-2008, 05:31 PM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should have looked at the screen shot first lol. i see now it gives you the abillity to auto send a pm/email when a member buys a Paid Subscription. ok perfect installed. Will it also give a warning message when Paid Subscription is almost up?

Thanks
Reply With Quote
  #7  
Old 03-28-2008, 05:46 PM
ringleader's Avatar
ringleader ringleader is offline
 
Join Date: Dec 2006
Location: Dublin, Ireland
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DssCrazy View Post
I should have looked at the screen shot first lol. i see now it gives you the abillity to auto send a pm/email when a member buys a Paid Subscription. ok perfect installed. Will it also give a warning message when Paid Subscription is almost up?
A user receives an email 2 days before their subscription is up, currently.

In future I'll be adding a configurable system that you can send custom PM's or emails to them whenever you choose to, e.g. weeks before it's up, etc.
That part may be made a paid mod though.
Reply With Quote
  #8  
Old 03-28-2008, 07:25 PM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we use something like $user etc???
Reply With Quote
  #9  
Old 03-28-2008, 08:17 PM
Xeder Xeder is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this.
But i was hoping if u could add an option to send a copy of that pm to a defined staff?
Reply With Quote
  #10  
Old 03-28-2008, 11:14 PM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you add the option to send pm certain staff?

Also where do you type in the message to let the member know when their Paid Subscription is almost up?

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07237 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete