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

Reply
 
Thread Tools
vbCoupons - coupons / discounts for paid subscriptions Details »»
vbCoupons - coupons / discounts for paid subscriptions
Version: 3.8, by benstillman benstillman is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 01-19-2011 Last Update: Never Installs: 25
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

Updated the original mod by ringleader. Code is marked as reusable. The original developer hasn't been on since September 2009, so I figured I'd re-release it with the patches for 3.8 in it. Hopefully as a community we can get this mod updated to vB4.


About this mod:
This mod allows the user to input a coupon code that deducts the value of it from the subscription costs before they go to pay for a subscription.

For example:
1. You advertise for new members and have and advert saying 'Join before the end of April and get $5.00 off the first month! Just register and enter coupon code OFFER1"
2. In Admincp -> vbCoupons you configure a coupon called OFFER1 with value of 5, and set a date for the validity of the coupon.
3. User registers, and enters coupon code OFFER1 on the payments.php page. The page updates the normal subscription prices to reflect the offer. Then they go to pay for it.

Notes:
1. Since the offer code expires when you set it to, the users will not be able to renew with that coupon unless the subscription runs out before the coupon validity does; thus it's better to use short-validity coupons and constantly change them.
2. The value of the coupon in the Admin Panel is given as a monetary value, e.g. a coupon with value 3.50 will give $3.50 (?3.50; ?3.50, depending on currencies activated) off paid subscription before the user goes to pay for it.
3. You cannot end up with a total value of $0.00. If you charge $30 for a subscription, and give away $30 coupon codes, the users will get "invalid currency" errors. I haven't figured this one out yet.
4. I plan on attempting to set it to use autotemplating, as well as eventually try to port it for vB4. Anyone who wants to help is more than welcome.

Features:
* Manage Coupons: Singly Add/Edit/Delete; Mass-delete.
* Set coupon valid for particular subscription ID's.
* Limit use by date or times it can be used.
* Mass-Generate coupons for distribution.
* Generate coupon discount codes and post to a new thread in a specified forum. A message may be sent with the codes. You can decide the thread title too.

UPGRADING: Do NOT choose 'yes' to overwrite an old xml or you will get an error!


Installing:
* Read the instructions file included in the zip.

Download Now

File Type: zip vbcouponsv3.8.zip (10.2 KB, 258 views)

Screenshots

File Type: jpg vbcoupon1.jpg (119.2 KB, 0 views)
File Type: jpg vbcoupon3.jpg (66.0 KB, 0 views)
File Type: jpg vbcoupon4.jpg (69.2 KB, 0 views)
File Type: jpg vbcoupon2.jpg (94.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Adrijan, bing11, Manoel J?nior

Comments
  #2  
Old 01-20-2011, 02:53 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool mod, hopefully someone ports it to 4.x
Reply With Quote
  #3  
Old 01-20-2011, 03:14 PM
regitbull regitbull is offline
 
Join Date: Jan 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, been waiting for a update for the coupon mod.
Reply With Quote
  #4  
Old 01-22-2011, 04:17 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome.. I will tag this until its been tested working by others, im currently having issues with members not getting upgrated to the designed usergroup when paying via paypal so I dont want to add additional issues
Reply With Quote
  #5  
Old 01-22-2011, 11:11 AM
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working 100% on 3.8.6. Cool mod. Thanks.
Reply With Quote
  #6  
Old 02-03-2011, 11:32 AM
Loget Loget is offline
 
Join Date: May 2008
Location: London
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

Any luck in figuring out why it does this:


Quote:
3. You cannot end up with a total value of $0.00. If you charge $30 for a subscription, and give away $30 coupon codes, the users will get "invalid currency" errors. I haven't figured this one out yet.
It'd be great if the above was possible!

Thanks.
Reply With Quote
  #7  
Old 02-07-2011, 07:13 PM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod working well, is there any chance of being able to set a % off, eg 20%, as we have several types of subscriptions and a set monetary value will only work for 1 type, thanks
Reply With Quote
  #8  
Old 02-07-2011, 07:47 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cheech47 View Post
Great Mod working well, is there any chance of being able to set a % off, eg 20%, as we have several types of subscriptions and a set monetary value will only work for 1 type, thanks
This would be nice also. maybe an option for both ..
Reply With Quote
  #9  
Old 02-08-2011, 03:05 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cheech47 View Post
Great Mod working well, is there any chance of being able to set a % off, eg 20%, as we have several types of subscriptions and a set monetary value will only work for 1 type, thanks
It should be as easy as changing the math in the functions file to *(couponvalue/100). I'll take a look at it when I get some free time.
Reply With Quote
  #10  
Old 02-08-2011, 04:05 PM
Booyakan Booyakan is offline
 
Join Date: Jan 2007
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have automatic yearly recurring subscriptions..

If they use a coupon, can it be for the first year only?

Example: Subscription is $15 and $5 coupon knocks price down to $10.
When the subscription automatically renews next year through paypal can it be set so it renews at original price of $15?
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 01:00 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.04748 seconds
  • Memory Usage 2,327KB
  • 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
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (3)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
  • (5)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