![]() |
Quote:
Quote:
Quote:
Quote:
I will be re-writing this during the week to clean it up a lot and remove any possible errors. Hopefully any of you who have errors with the current version will have them resolved in the next. |
A couple of things suggestions:
EDIT: 1) Found the problem -- conflict with a mod I made. 2) It would be ideal to be able to assign more than one subscription ID to a coupon. You could code this pretty easily using "explode" for commas. 3) When you assign a coupon code, the code is changed to lower case ($coupon_name = strtolower($coupon_name);). That isn't good for me because I'd like to use all-caps in my codes. I can just comment out the line, but you might want to make it optional or something. Thanks again for this mod! It's something I've been waiting for forever. :) |
Quote:
I'll add it in this weekend to the new, hopefully much cleaner, version. Quote:
The check when the person inputs a coupon in their payments.php (in any case, upper or lower) will convert it to lower and check it against the lowercase version in the DB. It's just easier for all. The reasoning was that people don't notice case-sensitivity when inputting stuff like this. So you can use upper or lowercase for your coupons - it's independent. |
is there anyway to have a percent like 16.6 off rather than a whole number, reason being im trying to deduct £2 but i cant get to exactly as i need to enter 16.6
or change it so that you define how much they can have off the price ie £2 **scrap that i have edited the php files to allow me to deducted actual amounts rather than percentages Thanks this is a GREAT HACK! |
Quote:
I'll see what I can do about this in future. Probably could incorporate it somehow. Glad you like the hack! |
I've added all the file edits and uploaded all the files. I can see where you add the coupon code in the usercp but I can't see anything in my admincp:confused: any ideas please.
|
Quote:
|
Quote:
|
Quote:
Because if you have that, then there is absolutely no reason why it would not show. |
Quote:
|
Quote:
Upload it to /includes/xml/cpnav_vbcoupons.xml Refresh the admincp. Does it show now? |
Quote:
|
Quote:
Thanks for asking - it's better for me to have you solve the problem than not use the mod at all! Enjoy :D |
Version 1.4 is out now.
This changes the percentages preveiously used as discounts to monetary values, e.g. $3.50 instead of 20% as previously used. You can also now mass-generate coupon codes and post them to a thread in a forum of your choice. Coupons can now be restricted to one or more subscriptionids. It is recommended that you upgrade to this version. |
NICE FREAKIN WORK!!!! This is a Wicked update i tested and does work on 3.6.8
I found 1 problem with this tho when clicking over write for the XML you get a database error. Thanks for adding the idea to post coupon codes |
Quote:
Bloody SQL :mad: I'll try to fix it in the morning - i've to be up for my day job in about 6 hours! Thanks though, man :D Glad you like it. |
Installed :) Thank you very much for this.
|
Quote:
If UPGRADING this product, choose 'No' for 'Allow Overwrite' when importing the new product in the adminCP. You will get an error if you choose to overwrite. |
Just tried to upgrade to version 1.4 with no override and reveived this error
HTML Code:
Database error in vBulletin 3.6.9: |
Quote:
|
Wow, I'm installing this Mod because I think its just great. I dont need it now, but maybe later on I might decide to start offering discounts via Coupon Codes for Advertisers (As that's what I use the Subscriptions for), so this will come in handy.
|
Problem found.
when making coupon codes uses must be set to 2 min to use. if set to 1 it will not work |
Quote:
|
Quote:
|
I want to apoligize as I found my issue, when I upgraded to 1.4 I did not redo the file edits in payment.php as I thought it would retain this from the previous version once I did the edits it now works.. Thank You...
|
Quote:
I was so worried wondering where such a unique problem could have come from - I really hadn't a clue how to solve your issue. Did you upgrade to 3.6.9 recently as well? I think the payments.php file is overwritten during the upgrade. Bad timing! :( |
Some ideas.
when making coupons add the option to mass edit coupons instead of needing to edit 1 at a time. add the option so when a members trys to type in a exp coupon code it says coupon exp instead of (invaild) add the option to add a green txt to the paid id so that the members know which id thing they are getting a discount on Thanks |
I have tried to install this on my other site which is VB 3.5.x and received database errors. Can someone tell me know I can get this working on my 3.5.x site would love to be compadible wit that version please.
|
Quote:
I'll download vb3.5 this weekend and see if I can make it work for that :) |
Quote:
|
Quote:
I actually just thought of a way to mass-edit them just there, but it would be based on a prefix you set for the coupons (otherwise there's no telling which coupons are related). I'm actually looking to launch a local dating site of mine here in the print media in Ireland, so I expect to be extremely busy with that over this coming weekend, but I will get around to doing this in between. Should be an update to it before the first weekend in May then. |
ringleader, Just a heads up that this is in fact affected by the new Security Token on 3.6.10 and 3.7.0 RC4 ... Its a really easy fix though (see below) ...
In the vbCoupons_couponbit template FIND: Code:
<form action="payments.php?do=addcoupon" method="post"> BELOW that line add: Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> In the same template (vbCoupons_couponbit) FIND: Code:
<form action="payments.php?do=deletecoupon" method="post"> BELOW that line add: Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> That's it! I did that and now its working like a charm again. So for those who need this Quick Fix until the New Version is released, there it is ... |
cant believe I only just saw this hack now o_O This is something I have been long awaiting for ^^
Thanks heaps! |
Quote:
I haven't actually even had the time to look at 3.6.10 yet so who knows when this would have been done. I will include it in the update that's coming soon. |
ringleader, no problem just glad to help out ...
|
Quote:
thank you |
many thanks for this works fine on vb 3.6.8.
any idea on how to make the redirect for the user to be to the payments page, for instance after adding a coupon or deleting a coupon, it should perhaps redirect to payment.php as supposed to index.php in the case of not so advanced users who might just wonder what went on and have to find the payments page all over again? |
Quote:
Just wanted to see if you will get a chance to take a look this weekend.. Thank you |
nice updates on the mod.
i havend check this mod for 3 weeks and i must say that its 10 times better now with all the extra features. But i have 1 req. Could you give us the option to or select a discount PERCENTAGE or a MONETARY VALUE. Because the problem with monetary values is that it use the same discount on all money values. So when you fill in 10,00 in the discount then it gives 10,00 usd discount but also 10,00 euro discount. So it will use the same value for all money types. Would be cool if you could give us the option to choose between PERCENTAGE or MONETARY VALUE. Anway great job with the updates :D |
Hi!
Will this work for 3.7? It not, any chance it may be re-written for it? Thanks in advance :) |
All times are GMT. The time now is 07:43 PM. |
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:
|