Pig's Subscription Gift
Mod Version: 1.00, by boozehound
This thread is in the Modification Graveyard.
vB Version: 3.5.3 |
Rating: (1 vote - 5.00 average) |
Installs: 58 |
Released: 17 Jan 2006 |
Last Update: Never |
Downloads: 48 |
Not Supported
Template Edits
|
Description
Allows users to pay for a paid subscription for another user.
- Five plugins
- One new template
- Three new phrases
- Three template edits
Installation
- Install the product XML through the product manager.
- Edit template 'subscription' in 'Paid Subscriptions Templates'.
Find:
Code:
<if condition="$show['activesubscriptions']">
Insert before that, this code:
Find:
Code:
<input type="hidden" name="do" value="order" />
Insert after that, this code:
Code:
<if condition="$giftuser != null">
<input type="hidden" name="gift" value="$giftuser[userid]" />
</if>
- This step may be altered according to taste. I chose to insert the link that userA would click to pay for userB into userB's profile, i.e. MEMBERINFO, but it could just as easily be put in 'postbit'. Anyway...
Edit template 'MEMBERINFO' in 'Member Info Templates'.
Find:
Code:
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
Add before that, this code:
Code:
<td class="vbmenu_control">
<a href="payments.php?$session[sessionurl]gift=true&userid=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[buy_x_a_sub]</phrase></a>
</td>
And you're done.
Notes
- Active subscriptions are never shown on the paid subscriptions page, either for the donor or the recipient, when visiting the paid subscriptions page through the gift subscription link.
- The identity of the donor is not revealed to the recipient. An admin will have to check out the payment info if the recipient wants to know who gave them the subscription.
Screenshots
- screen1.png: Member profile page containing link to subscription gift page
- screen2.png: Subscription page showing that the user is about to pay for someone else
Download
No files for download.
Supporters / CoAuthors
Screenshots
|