![]() |
Gift Subscriptions
1 Attachment(s)
This is a mod to let users buy a paid subscription for other members on the board. This addon is just updated from the user Jamoss. All credit goes to her, my team of people just updated it to work in 4.0.2.
Thanks zachd. 1. Modify 3 templates 2. modify 1 script (payments.php) -- PLEASE backup and save your old script for upgrade purposes. |
Thanks for posting this update. I applied this change for 3.x and enjoyed it.
When I followed the instructions for this one, it is not complete here. On the final confirmation page for PayPal I get a blank User field as below in the table you have added the User column to (nice touch): Subscription Duration Cost User Basic Membership 6 Months US$20.00 [nothing] What does this point to as missing? Update: (Note that the page before, the new field labeled (for a gift sub, enter recipient's username) is filled in with my ID by default) Update2: I think the problem is that in the code you gave in the txt file subscription_user is displayed but never set. It does not exist anywhere in VB4 templates either (judging from no search results). Did you mean to use some other variable there? |
I fixed it. You forgot to register with the page_templater as follows:
AFTER $page_templater->register('subscription_title', $subscription_title); INSERT $page_templater->register('subscription_user', $recipientname); Happy gift subscribing to all. |
You are 100% right. We had made the change, but forgot to document it.
Thanks for the headsup. Updated. |
Glad to help. By any chance have you taken a look at this one and updated it? That's the other on vb4 ruined for me.
http://www.vbulletin.com/forum/showt...or-New-Members |
Will this work with 3.8.5? I really love the idea of this, and want to apply it to my 3.8.5 board. Thanks.
|
I am about to apply this to our forums, but I have some questions/suggestions first.
1. Could you make it so that when someone purchases a subscription for a friend, that friend gets notified by PM AND EMAIL? (Make an option, either one or both) 2. Friend gets notified as well when the payee (or person who subscribed for him) cancels. Again, email, PM , or both. Also my question is, if I subscribe for someone else, does that mean that I get added to the additional usergroup lets say "premium gamer" and my friend who i subscribed for gets added to the same usergroup? Or does it recognize that i subscribed for someone else and ONLY adds my friend to that group? I wouldn't want both people to get added to that same usergroup. And as a feature, for the person who's being nice and subscribing for someone else, could you make it so that they get put in a lets say... "nice supporter" usergroup while the friend gets put in the original usergroup intended to "premium gamer" ? Thanks. |
tagged
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=166121 |
Marked as installed bro. ;)
|
All times are GMT. The time now is 11:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|