vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - vBDiscounts - Give subscription discounts to your members! (https://vborg.vbsupport.ru/showthread.php?t=211544)

zefyx 04-17-2009 10:00 PM

vBDiscounts - Give subscription discounts to your members!
 
1 Attachment(s)
Quote:

This modification is released with permission of the Re-usable Code from this modification.
https://vborg.vbsupport.ru/external/2015/08/1.jpg

vBDiscounts v1.0:

This hack allows the user to input a discount 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 $10.00 off the first month! Just register and enter discount code 10OFF"
2. In Admincp -> vbDiscounts you configure a discount called 10OFF with value of 10, and set a date for the validity of the discount.
3. User registers, and enters discount code 10OFF 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 discount unless the subscription runs out before the discount validity does; thus it's better to use short-validity discounts and constantly change them.
2. The value of the discount in the Admin Panel is given as a monetary value, e.g. a discount 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.

Features:

* Fully working on vBulletin 3.8.x
* Manage Discounts: Singly Add/Edit/Delete; Mass-delete.
* Set discount valid for particular subscription ID's.
* Limit use by date or times it can be used.
* Mass-Generate discounts for distribution.
* Generate discount 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.

F0xy 04-18-2009 07:59 AM

thanks, I may have a need for this in the future.

Jasem 04-18-2009 08:21 AM

Nice work, thank you!

Installed

SpaMMerGR 04-18-2009 09:00 AM

This rocks!

820Media 04-18-2009 12:59 PM

This is very very cool indeed.

But as i installed the vB coupons (3.6version) and got it working, ill keep that installed for now.

projectego 04-18-2009 01:55 PM

Great idea for a mod. I'll definitely be able to find use for this. Cheers!

Hornstar 04-18-2009 02:09 PM

I just thought of a feature that could enhance this modification alot! ^^

Is it possible to have a coupon that changes the length of the subscription?

eg. I have a subscription that goes for 1 year. I set up a coupon, and when the user enters in the coupon they end up getting the subscription for 2 years. or 10 years. etc.

AzzidReign 04-18-2009 04:13 PM

This is great!! I will be installing this very shortly!

brettxw 04-19-2009 01:24 AM

can I do it for a percentage off instead of a money amount?

brettxw 04-19-2009 01:59 AM

ok so why when I create a discount code, nothing appears on the payment page where they can input a code for the discount?


All times are GMT. The time now is 11:39 AM.

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.02434 seconds
  • Memory Usage 1,729KB
  • 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