Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Gift Subscriptions Details »»
Gift Subscriptions
Version: 1.09, by MrWizard MrWizard is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 03-02-2010 Last Update: 03-03-2010 Installs: 25
Template Edits
Code Changes  
No support by the author.

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.

Download Now

File Type: txt giftsub_hack.txt (2.5 KB, 262 views)

Screenshots

File Type: jpg gifthack.jpg (37.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Arkool, MichaelDance

Comments
  #2  
Old 03-04-2010, 04:22 PM
Avimelech Avimelech is offline
 
Join Date: Jul 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 03-04-2010, 05:11 PM
Avimelech Avimelech is offline
 
Join Date: Jul 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-04-2010, 06:47 PM
MrWizard MrWizard is offline
 
Join Date: Jun 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are 100% right. We had made the change, but forgot to document it.

Thanks for the headsup.

Updated.
Reply With Quote
  #5  
Old 03-04-2010, 09:43 PM
Avimelech Avimelech is offline
 
Join Date: Jul 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 03-18-2010, 06:59 PM
sburns1992 sburns1992 is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-19-2010, 11:24 PM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 06-20-2010, 05:17 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged
Reply With Quote
  #9  
Old 07-29-2010, 05:45 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sburns1992 View Post
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.
try this one for 3.x
https://vborg.vbsupport.ru/showthread.php?t=166121
Reply With Quote
  #10  
Old 08-04-2010, 05:06 PM
Avian321 Avian321 is offline
 
Join Date: Jul 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked as installed bro.
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 06:29 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.08018 seconds
  • Memory Usage 2,319KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete