The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
vbCoupons - offer money-off coupons for paid subscriptions
![]() Developer Last Online: Dec 2011 ![]() ![]()
vbCoupons v1.4 About this mod: This hack 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 40% off the first month! Just register and enter coupon code OFFER1" 2. In Admincp -> vbCoupons you configure a coupon called OFFER1 with value of 40, 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. 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. * Input on features you would like to see for this hack is very welcome, but may not be possible to implement. Time to install: 5 mins UPGRADING: Do NOT choose 'yes' to overwrite an old xml or you will get an error! Updates: Version 1.0 (22nd March 2008): * Release of this hack for vBulletin version 3.6.8 * This version should work on all vBulletin versions from 3.5.4 and up Version 1.1 (25th March 2008): * Fixed missing phrase * Fixed non-functioning template call Version 1.2 +1.3 (30th March 2008): * Added coupon generator to this version * Added ability to limit coupons to only be valid for a particular paid subscription. Version 1.4 (14th April 2008): * Generate coupons and post to thread * Coupons can be limited to one or more subscriptionids * MONETARY VALUES RATHER THAN PERCENTAGES ARE USED FROM NOW ON MAKE SURE YOU CLICK INSTALL! If you like this hack and use it then ![]() Pictures (attached): 1. User (payments.php): Normal view before user adds a coupon that you configured in the admincp. 2. User (payments.php): View after the user adds a coupon to their account, with the new prices reflecting it. 3. Admin: Manage Existing Coupons 4. Admin: Add a single coupon discount code 5. Admin: Mass-generate coupons 6. Admin: Mass-generate coupons and post to a new thread 7. User: Thread view of mass-generated and posted coupon discount codes Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
|||
|
|||
![]() Quote:
As I see I am not the only one. Which Version do you have? |
#33
|
||||
|
||||
![]()
Sorry for the last time. I made a typo in the call to the couponbit template when I packaged the last one.
A new one is uploaded that calls everything correctly now. Just overwrite everything (files and product) with the files in this new zip. |
#34
|
|||
|
|||
![]()
it's still not working?!
![]() I replaced everything and redid everything.... |
#35
|
||||
|
||||
![]() Quote:
when you install the product? And a Plugin under hook called paidsub_complete with the content: Code:
$user_coupon_name = get_coupon(); eval('$couponbit .= "' . fetch_template('vbCoupons_couponbit') . '";'); And have a subscription set in your Paid Subscriptions - Subscription Manager. Because if you have those four things there's absolutely no reason the template would not show on your payments.php page. Since you didn't mention getting a white screen on your payments.php after doing the file edit, the rest of the code besides the couponbit is fine. |
#36
|
||||
|
||||
![]()
Wait a second, sven/stamos2003, I just checked your profile and it says you have version 3.5.3
If that's right, this might not work on your board since the hooks it uses wouldn't have been invented until at least 3.5.4 ![]() |
#37
|
|||
|
|||
![]()
no worries, I just did not update my profile, I have 3.6.8
I have the template vbCoupons_couponbit and I have following plug ins: Add, Delete, Deduct Coupon For User Hookpoint: paidsub_start Cache Coupon Template Hookpoint: cache_templates Create Template Group Hookpoint: template_groups Fetch Coupon Template Hookpoint: paidsub_complete |
#38
|
||||
|
||||
![]()
Okay then, there's just two more things to check:
1. Does the hook under paidsub_complete say what's quoted above? 2. Do you have any subscriptions for people to pay for? The coupon template won't be called, otherwise. EDIT: Oh, and most importantly, did you edit the template Paid Subscriptions Templates >> subscription and place the word $couponbit AFTER </form> |
#39
|
|||
|
|||
![]()
i have uploaded everything and i still can't see it also.
|
#40
|
||||
|
||||
![]()
I know it's a lot to ask, but could one of you give me access to your admincp to see the difference between your set up and mine for this mod?
|
#41
|
|||
|
|||
![]()
i have checked everything and i can't see what went wrong.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|