![]() |
But that makes no sense.
If paidsub_complete plugin is active, $couponbit is in subscription template, and vbCoupons_couponbit exists, there should be no problem. |
dam i wish this would wor this is such a cool mod
|
Quote:
|
Man, I don't know what kind of setup you guys have, but it installs absolutely without error on a vanilla 3.6.8PL2 board.
|
vb 3.6.8 pack2
|
It might just be your style. Do you see if the default style will show it?
You could try changing the hook locations from paidsub_start and paidsub_complete to forumhome_start and forumhome_complete, then put $coupon bit just below $footer in the FORUMHOME template. If it shows there then we just have to work out where to put $couponbit in yours to make it show up. |
well you now what I did and it's working now, I just added the whole cuponbit template to the paid subscriptions template instead of only the $couponbits, this seems to work.
So for some reason the template seems not to be called. Maybe you should not have CAPS in the templatenames but only lowercase names? edit: another small error is showing up when you delete an added coupon again, it says phrase coupon deleted could not be found |
I just installed and the $couponbits section isn't showing up for me either. I haven't looked at the code yet to see if I can spot the problem.
|
If found it :D :D
The $couponbits is supposed to be $couponbit (without the 's'). The one place I wasn't looking was in the instructions file :oops: The product version1.1 fixes this, and includes a missing phrase when the coupon is deleted. |
Pro bud works perfect you will be getting a donation from me. 1 question, where do i gen the serial code? or where do i get it to hand how how does that work?
Thanks |
Quote:
To my thinking, you would just distribute this one code to everyone, and all would have the same discount value. I don't really get what you guys mean by generating codes for vouchers/coupons. I wouldn't have a use for it, I guess. Could you explain that further to me (it's functioning and application) and I will certainly code it in there for the next release. |
Ok here is my example.
Now the way it is setup now is to my understanding you can get a groups of guys/gals and share that same key. The problem with this is you only wanted 5 people in and now you got 50. Now say you got a gen this will make more then 1 key you can make as many as you wish. so if you wanted tho's 5 members and 5 members only gen 5 different keys then once thay use them thay are no good, this will stop people from taking advantage of the system. if you still don't understand then i will try and explain better am not the greatest at it. If you can add this would be smoking cool. do you think you can? Thanks |
Quote:
Give me about a week to work it out and code it in (work gets in the way of the fun stuff!), and I'll update the version with this modification included ;) Thanks for taking the time to explain that to me - I wouldn't have a clue what uses other people could put this to at all! And especially thanks for sticking around while I was figuring out that problem with the template (bloody typos!). |
anytime. thank you for the GREAT release and for fixing our problems with the mod. I appreciate you willing to take some of our ideas and place them in mod.
Great work Thanks |
Can someone please take a screen shot of where the coupon code is and then put a line under it so i know where it is?
Thanks |
Is this the bit you're looking for DssCrazy? [see attached pic]
The bit where to add a coupon for people to use? |
Nope i seen that part, i know how to do everything but am wondering where i can see the coupon code to hand out to members.
|
Quote:
|
OOOOOOOO ok cool.
Thanks |
Ok everything is showing but I have noticed a big error.
My paypal account accepts payments automatically so the memer will gain it's new udergroup directly after payment. This only works when you do NOT use a coupon code. When you USE a coupon code... you pay, you return to website and you have not been upgraded to the new usergroup. Any reason why? |
Quote:
This only modifies the cost before it even goes to the payment processor, and has nothing to do with the callbacks, etc. You won't change subscriptions in vbulletin if you are an undeletable user, however. Are you set in your includes/config file as undeletable? Unless this is happening to others? Mine upgrades for several users, both with and without coupons. I'm using the payPal sandbox for testing, not the live paypal server. Still, I doubt it has anything to do with this. |
Hey DssCrazy,
Is this the kind of coupon code generator you're looking for? [see attached screenshots] The coupons can be limited either until a particular date, by number of uses, or by both of these factors together. The first pic is the particulars you want for your coupons: a prefix (if you want one), number of coupons to generate with this prefix, number of uses the coupons then are limited to (each), the dates they are valid from and until, the length you want the coupon code to be, and the value the coupons are to have (%). Let me know if there's anything I'm missing. |
I have changed the config and I am not set as UNDELETABLE.
Is there a way to test payment systems without having to test with real money? I'm losing out with all these transaction charges. :D The generator would be great!!! I'm interested. |
Quote:
Your board will NOT be able to accept payments while you are testing, though. Get a login for testing purposes at http://developer.paypal.com Create a business account (this is equivalent to the email address you normally use) and a personal account (like a customer would use). Put the testing email address that paypal generates for your developer Business account into your payment api for paypal instead of your regular one. Turn on IPN for your testing Business account. Change every occurrence in includes/class_paypal.php of www.paypal.com to www.sandbox.paypal.com Now when you go to payments.php on your board it will use the testing business email from the api to connect to the sandbox.paypal.com testing server. To pay for a payment use the login for the personal testing account that was generated for you on the paypal developers site. |
Quote:
That was quick Thanks |
Quote:
That way, you can do a 'Bring a friend for the same discount' or a 'two for one'. It can also be set to expire by time, so if it isn't used by them it'll expire when you set it to. Should be done completely by Sunday or early next week at the latest ;) |
Quote:
This forum needs more people like you :) |
I just downloaded this great mod. I have a problem thoug :/
I have uploaded files, installed the xml file and done the template edits, but when i get to the file edit step i get a problem. When i search for Code:
$string .= "<option value=\"{$key}_{$currency}\" >" . $subobj->_CURRENCYSYMBOLS["$currency"] . $value ."</option>\n"; Code:
$string .= "<option value=\"{$key}_{$currency}\" >" . $subobj->_CURRENCYSYMBOLS["$currency"] . vb_number_format($value, 2) . "</option>\n"; - Jacob |
Quote:
Thanks |
Quote:
|
Quote:
That someone wants to use it is reason enough to keep doing this! Quote:
When the coupon is added by the user in the coupon form on their payments.php page, it should thank them and redirect you to the payments.php page again where the costs are updated. Does this all happen this way for you? It will not update anything if you just enter a coupon in the admincp - the user must use the coupon on their payments.php page. |
It thanks me for adding a coupon and takes me back to the payments.php page, but the prices haven't been updated :/
|
Did you add a number ONLY for the value (and no % sign or anything) when making the coupon?
Because the file edit above just takes away YourValue% from the price of a normal subscription for a person. |
Just thought of somthing.
If you got 2 payment groups and you add the coupon it discounts both groups would their be a way to have it so it will only discounts the 1's you pick? |
Like a coupon that only works on a certain subscription?
Sure can do that! I'll include it with the next generator version. (See, I never think of these things because I've only got one subscription! ;) Thanks!) |
I have a question. Currently I have 3 subscription options which are as follows
subscription 1 = $xxxx monthly subscription 2 = $xxxx quarterly subscription 3 = $xxxx yearly I noticed that when you create a coupon code this take effect for all subscriptions that are available. I would like to see that when you create a vbcoupon that you can choose which subscription you want to apply it too. For example if I only want to give 30% off for the monthly subscription and not for the yearly subscription. Also if someone uses this coupon for a % off your subscription and you have auto renew enabled for paypal does this take the % off everytime it renews or only once? |
Quote:
It will be in the next version (next week some time, or before). Quote:
If you discount a person once, they will always get it with a recurring subscription (or so my knowledge of it says; feel free to correct me if otherwise). However, if you mean that the person renews their subscription by going through the payment system again (and sending the price again), then it can be changed, since the coupon will expire when you set it to. In a nutshell: if the price is sent through your payments system on vbulletin to paypal (or any other) it will recalculate the price. If the coupon is no longer valid, the discount will no longer be applied. |
If a member has 2 coupon codes will it allow him to type them both in?
|
Quote:
A user can only hold one coupon at a time. If a new coupon is entered, it overwrites any previous one they had. And therefore only get one discount at a time; that way, it prevents accumulation of discounts for one subscription. I'd prefer to keep it that way as well, as it would be difficult to monitor many coupons in one person's account. |
Quote:
|
All times are GMT. The time now is 05:57 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:
|