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
  #12  
Old 03-10-2011, 07:10 PM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to modify it to a % myself so it applies evenly across each subscription and for the different durations.

Can't seem to make it work. This just causes a white page:

$newvalue = *($coupon_value/100)['couponvalue']));
Reply With Quote
  #13  
Old 03-22-2011, 03:24 PM
stamos2003 stamos2003 is offline
 
Join Date: Nov 2003
Location: Berlin
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is again not working!
paypal gives back an error message, wrong currency format!

obviously it has a problem with the .xx amounts, e.g. 30.95
it gives it to paypal as 30,95 but it should be 30.95 (. instead of ,)
Reply With Quote
  #14  
Old 04-04-2011, 02:48 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stamos2003 View Post
this is again not working!
paypal gives back an error message, wrong currency format!

obviously it has a problem with the .xx amounts, e.g. 30.95
it gives it to paypal as 30,95 but it should be 30.95 (. instead of ,)
Interesting. I just tried it ($1.50 off) and it worked fine. What currency are you using?
Reply With Quote
  #15  
Old 04-05-2011, 04:20 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only problem I can see with this idea is that existing subscribers would cancel their subscriptions and sign up again to take advantage of the offer. I worry that overall I'd end up losing money, not gaining it.
Reply With Quote
  #16  
Old 07-25-2011, 09:46 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
The only problem I can see with this idea is that existing subscribers would cancel their subscriptions and sign up again to take advantage of the offer. I worry that overall I'd end up losing money, not gaining it.
Only users you give the code to get the discount, so.........
Reply With Quote
  #17  
Old 07-26-2011, 01:03 AM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and five stars for you!

Thanks
Reply With Quote
  #18  
Old 01-29-2012, 07:52 AM
christon26 christon26 is offline
 
Join Date: Dec 2008
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any further development on being able to use percentages with this mod? I have uninstalled it for the time being as I need to use percentages, but am eagerly waiting to see if it can be done lol
Reply With Quote
  #19  
Old 10-25-2012, 12:07 PM
rrpnow rrpnow is offline
 
Join Date: Oct 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a vB 4.xx update or similar mod that has been released?
Reply With Quote
  #20  
Old 05-04-2013, 06:37 PM
Ichigo88's Avatar
Ichigo88 Ichigo88 is offline
 
Join Date: Nov 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

up! any similar mod for vb4?
Reply With Quote
  #21  
Old 07-19-2015, 10:07 PM
Ravallojr Ravallojr is offline
 
Join Date: Jun 2011
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything for vb4?
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:50 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.06238 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
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
  • (2)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
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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