![]() |
vbCoupons - offer money-off coupons for paid subscriptions
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 https://vborg.vbsupport.ru/external/2008/03/6.gif 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 |
***** First post reserved, in case of need ****
|
Where is the Subscription template?
I dont see it in my templates list... |
Apologies, it's in the Paid Subscription Templates >> subscription
|
Thank you very much
:) |
Sweet. Thank you sooo much :)
|
I feel like a retard, but how do you add new coupons?
|
Quote:
Si?cra (expletive). The damn updated xml wasn't packaged with it. Upload the one attached to this post to your ./includes/xml/ directory and it will show for you when you refresh your admincp. Sorry about that - obviously I'm the thick one around here :) I have updated the original zip with this xml file. |
Suggestions: Can you auto generate (md5) the coupons names with a prefix that we set, e.g. Easter-1x54uy6yzt
Can you add an option to generate multiple coupons at once? |
Quote:
That's entirely possible with some simple options. Explain the use of this more so I don't get it wrong, please :) |
You've got it right: bulk adding them so you could mass mail them. Tracking will be nice
|
I cant see the settings in ACP on vbulletin 3.7 RC1
|
Actually, I went off and had a think about what you said Lionel, and I don't think your suggestion is needed for this hack (not in the way I'm thinking about it anyway).
For example: if you create a single coupon, it's valid to be used by anyone who has the code. So if you create the coupon 'Easter' and email it to certain people for a 50% off offer, they can all use that code. The hack only takes the value of a particular coupon off a persons potential payments; it doesn't discriminate about who owns the code. Unless you mean to add person-specific coupons to people, in which case they could post theirs all over the internet (the same way as if there was only one code in existence) and everyone who had it could still use it. It would defeat the purpose of anything if a single code were assigned to a single person, creating a great many queries for your board with little comparative return. Unless, of course, you mean something entirely different in the first place ;) |
Quote:
I would presume anyone installing or using this would. Go to Usergroups -> Administrator Permissions and check yours, just to be sure. Force a refresh of your admincp, i.e. the whole page, so that the panels on the left are regenerated. The ./includes/xml/cpnav_vbcoupons.xml is what makes the link in the admincp, so if you have that file, you should have the menu too. I even downloaded v3.7RC1 to check, and there's nothing in this mod that shouldn't work on it, and it should even work on 3.5.4 as well. |
Minor Update for those who have installed this mod at this time:
Go to Plugin Manager -> Find Fetch Coupon Template -> Edit. Change hook location from paidsub_list_available to paidsub_complete or the coupons bit will show multiple times on the payments.php page. Everyone else: never mind this if you're just downloading the mod after this post :) |
look promissing, i will give it a try :)
edit: the coupon enter field is not showing up in the subscriptions?! (vb 3.6.8) |
Quote:
uninstall the old product, and install this one attached to this post. |
still nothing....
weird?! I even added the template manually but nothing..... |
nice to see this released.
I just paid for this mod + some other functions. Anyway nice release :) |
Quote:
And check the plugin called Fetch Coupon Template is active? That's the only 2 other reasons it wouldn't be working for you. Quote:
That, and I couldn't be bothered setting up a way to charge people for such things... :D |
This sounds pretty cool.... I will concider this soon
|
I installed this, and just like the other guys the coupon thing isn't showing up. But everything in admincp looks fine.
|
Same for me installed everything all looks good in admincp but does not show up on board
|
I will be the first to donate if you can get this mod working.
|
I notice that there're 2 duplicate vbcouponsv1.0 files...which one to use?
|
Nice! I've been waiting for this forever! I'll send you a donation for it soon.
Thanks! :) |
ChurchMedia, did you get it to work? if so please xplain what you did
thanks bro |
I haven't tried it yet. Easter is a busy weekend for us, so I'll give it a go next week and let you know!
|
ok cool
thanks |
Very nice mod. Will install this
|
Quote:
As I see I am not the only one. Which Version do you have? |
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. |
it's still not working?! :D
I replaced everything and redid everything.... |
Quote:
when you install the product? And a Plugin under hook called paidsub_complete with the content: Code:
$user_coupon_name = get_coupon(); 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. |
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 :mad: |
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 |
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> |
i have uploaded everything and i still can't see it also.
|
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?
|
i have checked everything and i can't see what went wrong.
|
All times are GMT. The time now is 05:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|