vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Gift Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=166121)

jamoss 12-24-2007 10:00 PM

Gift Subscriptions
 
Looks like there was a huge need for a gift subscription hack, so I created one, attached. It allows users to extend or purchase board subscriptions for other users.

This has been implemented and tested on our boards, but it is in EARLY ALPHA! Please provide me with feedback/questions after you implement it.

Should take about 15 minutes to complete.

1. Create 1 plugin
2. Modify 2 templates
3. modify 1 script (payments.php) -- PLEASE backup and save your old script for upgrade purposes.

Let me know how it goes!
~ Jennifer

M-Tuning 12-25-2007 08:04 PM

What's the purpose of this hack?

jamoss 12-25-2007 08:59 PM

So users can purchase subscriptions for other users (not just themselves).

skrazydogz 12-25-2007 09:16 PM

like a check :D

FleaBag 12-25-2007 09:58 PM

I realized Pig's hack was in the graveyard recently, and I didn't have a backup. This is really appreciated, thanks.

Diana Notacat 12-26-2007 01:12 AM

This is fantastic, thank you! <3

M-Tuning 12-26-2007 08:41 AM

Quote:

Originally Posted by jamoss (Post 1409047)
So users can purchase subscriptions for other users (not just themselves).

I get it, thank you.

Hornstar 12-26-2007 09:56 AM

This is just one of the many things that would really make the subscriptions really great, if vbulletin had it in default.

Thanks for sharing :)

SVTCobraLTD 12-26-2007 01:11 PM

How does this work? Does it add a link under the paid subscriptions? Anyone have a demo or screen shot?

SVT

Zaiaku 12-26-2007 03:58 PM

Very nice idea. Great job!


All times are GMT. The time now is 09:27 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
  • Page Generation 0.01073 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete