Osclass forums

Development => Plugins => Topic started by: trains58554 on July 26, 2011, 12:05:37 am

Title: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on July 26, 2011, 12:05:37 am
Hi

Update 3-27-13
Made this plugin compatible with 3.1.+

Update 2-23-13
Fixed issue with email templates not being added.

Update 2-21-13
Fixed the send promo code via email.

Update 8-20-12
Fixed problem when a new user signs up they now get credited the sign up amount if you have that feature enabled.

update 8-19-12
Fixed bug when a user that does not have an amount in there paypal wallet it now adds the promo amount to there account.
Fixed bug that would have allowed users to uses a single letter to guess your promo codes. Please download the updated zip.
No need to uninstall the plugin just copy in the files in the zip.

update 6-27-12
Fixed bug with promo value not being applied.

Update 6-25-12
Upgraded plugin to version 2.0 with a bunch of great new changes.

* compatible with Paypal and Paypalplus plugin
* can upgrade from previus version without losing data
* can use Paypalplus bonus system
* can allow bonus expiration time
* can allow signuo bonus expiration time
* can choose an expiration time for each promotion code
* can send an email to user with the promotion code (from Manage Promotion Code)
* can view how many times the code is sent
* Automatically send an email to new user if signup bonus is enabled
* added language folder, en_US, it_IT
All the above changes are thanks to Cris.

I did upgrade the plugin to use the new dao method which means this plugin is only compatible with 2.3 and above.

To use the upgrade function just copy the files from the zip over your existing files and then go in the admin panel and go to the promo codes menu and click upgrade and then your plugin will be up to date.

Update 6-4-12
Added support for the paypal+ plugin

**Update 1-25-12
Fixed bug with user menu not showing up. In newer versions of osclass.
**Update 8-2-11
Fixed bug now allowing admin to change signup bonus value.

**Update 8-1-11
Error fixed in sql so now tables should be add correctly
fixed bug that allowed one user to use the promo code more then once
.
**Update 7-29-11
Keny brought to my attention a minor bug in the manage promo codes that has been fixed in this updated version. I found a small error with the log page that I fixed so this updated version will require you to uninstall and reinstall the plugin.

**Update 7-29-11

I am releasing the promo codes plugin today. Please note that for this plugin to work you need to have the paypal plugin or paypal plus plugin installed. Feel free to leave feedback and suggestions for future versions and please let me know if you found a bug as this is just the first version there may be some bugs that I have not found.

Jay


(http://img694.imageshack.us/img694/5866/screenshotsiouxfallscla.png)


(http://img809.imageshack.us/img809/5866/screenshotsiouxfallscla.png)

More sneak peek pictures

(http://img135.imageshack.us/img135/1128/createpromo.png)


(http://img820.imageshack.us/img820/3360/promolisting.png)

*** Update

Hi Guys and Gals

I wanted to give you an update if everything goes as planned I should be releasing the plugin Friday. There are just a few bits of code left to do. So get ready for an awesome plugin.


Jay

Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: usclassifieds.org on July 26, 2011, 02:38:10 am
wow, that looks great... i cant wait :)
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: keny on July 26, 2011, 04:54:52 pm
Great pluggin !!
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: Juan Ramón on July 26, 2011, 08:42:55 pm
How do you create the promotional codes form? Do you set a number of promotional codes?
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: trains58554 on July 26, 2011, 09:44:35 pm
How do you create the promotional codes form?
Are you asking how I create the code? If so I am planning to allow the admin to create the code or randomly generate the code

Do you set a number of promotional codes?
There will be as many promotional codes as the admin wants to create they can also specify how many uses a code can be used.

Jay
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: Juan Ramón on July 27, 2011, 01:42:53 pm
How do you create the promotional codes form?
Are you asking how I create the code? If so I am planning to allow the admin to create the code or randomly generate the code

Do you set a number of promotional codes?
There will be as many promotional codes as the admin wants to create they can also specify how many uses a code can be used.

Jay

Great! I can't wait to try the plugin
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: trains58554 on July 27, 2011, 02:27:10 pm
hi Juan

It won't be long I am almost done just need to add an option for the admin to edit and delete the promo codes. Then it should be ready for testing.

Jay
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: usclassifieds.org on July 27, 2011, 03:52:57 pm
Hey, will the user only be able to enter a promo code when checking out or whenever he/she wants because if you make a promo code unlimited then the user will just keep on using it getting tons of free credits which wouldn't be good business?
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: Juan Ramón on July 27, 2011, 04:47:13 pm
I understand that the promo code get expired once it's used, am I right?
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: trains58554 on July 27, 2011, 06:30:19 pm
Hi usclassifieds.org, Juan
Hey, will the user only be able to enter a promo code when checking out or whenever he/she wants because if you make a promo code unlimited then the user will just keep on using it getting tons of free credits which wouldn't be good business?
A user will be able to enter a code whenever they want. What I meant by unlimited is that that code never expires but say user A can only use that code once all promo codes are a onetime use to every user. So lets say instead of unlimited you put in 5 uses so user A uses the code then user B, C, D, and E. Then when user F comes and tries the code he gets a message this code is no longer valid.

I understand that the promo code get expired once it's used, am I right?
Yep the promo code gets expired for the user that uses the code but if there are still uses the other users can use that code.
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: usclassifieds.org on July 27, 2011, 06:35:06 pm
oh, okay sounds good
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: keny on July 27, 2011, 09:50:46 pm
Jay if you want in future release you can add condition to coupon code

exemple :
code is only valid for this user or a group of user
code is only valid until this date
code is only valid if a user have already buy a pack before (don'y know if this is possible we have to check if paypal pluggin keep all transaction in back office)
ect ...

I know is alot of code to do so that why i suggest you in future release.

I should be back to OSClass coding and translating next week i have to finished a project now
Title: Re: [Plugin Sneak Peak] Promotion codes
Post by: trains58554 on July 27, 2011, 11:46:35 pm
Jay if you want in future release you can add condition to coupon code

exemple :
code is only valid for this user or a group of user
Thats a great idea but I think this will be in a later version.

code is only valid until this date
I have thought about that and I may still release that in this version I have not decided yet.

code is only valid if a user have already buy a pack before (don'y know if this is possible we have to check if paypal pluggin keep all transaction in back office)
ect ...
I have not thought about doing something like that I think it should be doable just have to check if the users id exists in the paypal wallet table. This may make it in the first release if not in the next version.

I know is alot of code to do so that why i suggest you in future release.

I should be back to OSClass coding and translating next week i have to finished a project now

Keny Thanks for the suggestions and ideas.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on July 29, 2011, 08:24:44 pm
Hi all

Promo codes plugin is now released you can download the zip in the first post.

Title: Re: [New Plugin] Promotion codes
Post by: keny on July 30, 2011, 08:26:24 am
Hi Jay,

I have take 5 min to test your pluggin and i just have to say : congradulation !

Anyway i found a very minor bug :

In admin if we set a value for number of use for a code and the code is all use the colum use left show unlimited in place of 0 or none.
This is because in your code you take value 0 to be unlimited so i suggest you to add a new value in the db and set this value true or false for unlimited.

But again very usefull pluggin !
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on July 30, 2011, 08:41:43 am
Hi Jay,

I have take 5 min to test your pluggin and i just have to say : congradulation !

Anyway i found a very minor bug :

In admin if we set a value for number of use for a code and the code is all use the colum use left show unlimited in place of 0 or none.
This is because in your code you take value 0 to be unlimited so i suggest you to add a new value in the db and set this value true or false for unlimited.

But again very usefull pluggin !

Thank you Keny for trying out the plugin I am glad you find it useful.

As for the small bug I think I understand I will fix that.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 02:35:23 am
hey, for some reason there isnt a limit anymore when i made a promo code, i can use it unlimited amount of times on the same account.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:13:29 am
Hi

Is the promo code log showing that you used the code?
Are you useing 2.2 stable or 2.2 rc?

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 04:16:49 am
no, the log isnt showing anything and im using 2.2 stable
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:18:04 am
I am just upgrading to 2.2 right now I will see if I get the same problem.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:27:05 am
Hi usclassifieds.org

Just finished my upgrade and the promo codes works fine on my site. How do you have the prpmo code set? Is it set for a set amount of uses or unlimited?

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 04:30:04 am
unlimited
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:40:43 am
After you enter the promo code you can then hit redeem again and it credits you account? It should be displaying you have already redeemed this promo code. Can you check in your mysql database to make sure that both table got created promo_code and promo_codes_redeemed.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 04:44:14 am
sure, how do i check my mysql database?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:46:44 am
In your web hosting control panel there should be a button labelled phpmyadmin after clicking there it should show you your database tables.
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 04:47:19 am
i found it only promo_code got created
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 04:55:04 am
Ok I think I have got the problem sorted out.

Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 05:03:31 am
okay, now the redeemed database thing has been created and the log works, but still i can keep on redeeming it how many times i want.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 05:13:31 am
okay, now the redeemed database thing has been created and the log works, but still i can keep on redeeming it how many times i want.

Is that with the same user or different users?

If it is the same user it should not be possible to redeem the code more then once. I will look over the code and see if I can see how that might happen.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 05:17:32 am
its all for the same user
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 06:18:22 am
Hey, Jay did u figure anything out yet?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 06:23:01 am
I think I figured it out. Here is a new zip of the plugin to try.

I just checked it again and now there is another error I will check it out.

Ok now it is working right again. This zip should work and fix the multiple uses.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 02, 2011, 07:03:09 am
yes, thank you it works awesome now, THANK YOU SO MUCH FOR ALL THE TIME YOU'VE SPENT ON HELPING ME WITH THIS!!!
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 02, 2011, 07:32:51 am
Not a problem Glad I was able to get the problems fixed :)
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 03, 2011, 12:38:49 am
Hey, is there any way that you can have cents in a promocode?? for example you recieve $0.99 in a promo code?? because most of the premium ads on my site cost .99 and i would like each new user to recieve $0.50 with his/her new account which would urge them to buy another credit for the ad to be premium.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 03, 2011, 01:32:02 am
Hey, is there any way that you can have cents in a promocode?? for example you recieve $0.99 in a promo code?? because most of the premium ads on my site cost .99 and i would like each new user to recieve $0.50 with his/her new account which would urge them to buy another credit for the ad to be premium.

Hi

It is now possible to change the default signup bonus after I found my error. You can set it for any value you want. So you can set it for .50 cents.

I will upload the new zip here you just have to copy over user_reward.php and that will allow you to change the signup bonus.

One more change I reread what you wanted and noticed that you wanted the regular promo codes to also accept change. I thought they did but I did some testing and did not so I fixed the problem. You have to reinstall the plugin. As there is a change to the database.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 03, 2011, 04:56:57 am
Thanks  :)
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 03, 2011, 05:00:06 am
Hey, do u possibly know the solution to this http://forums.osclass.org/index.php/topic,3460.0.html because from prior knowledge i know your good with this stuff  ;)
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 03, 2011, 05:05:48 am
Hey, do u possibly know the solution to this http://forums.osclass.org/index.php/topic,3460.0.html because from prior knowledge i know your good with this stuff  ;)

I will take a look and see if I can figure something out.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 03, 2011, 05:11:03 am
thanks
Title: Re: [New Plugin] Promotion codes
Post by: visnetmedia on August 05, 2011, 03:40:16 am
Hi
**Update 8-2-11
Fixed bug now allowing admin to change signup bonus value.

**Update 8-1-11
Error fixed in sql so now tables should be add correctly
fixed bug that allowed one user to use the promo code more then once
.
**Update 7-29-11
Keny brought to my attention a minor bug in the manage promo codes that has been fixed in this updated version. I found a small error with the log page that I fixed so this updated version will require you to uninstall and reinstall the plugin.

**Update 7-29-11

I am releasing the promo codes plugin today. Please note that for this plugin to work you need to have the paypal plugin installed. Feel free to leave feedback and suggestions for future versions and please let me know if you found a bug as this is just the first version there may be some bugs that I have not found.

Jay


(http://img694.imageshack.us/img694/5866/screenshotsiouxfallscla.png)


(http://img809.imageshack.us/img809/5866/screenshotsiouxfallscla.png)

More sneak peek pictures

(http://img135.imageshack.us/img135/1128/createpromo.png)


(http://img820.imageshack.us/img820/3360/promolisting.png)

*** Update

Hi Guys and Gals

I wanted to give you an update if everything goes as planned I should be releasing the plugin Friday. There are just a few bits of code left to do. So get ready for an awesome plugin.

Jay


Hi I am new here and love this idea but I am really looking at a way a user/member/customer can implement a promotion themself e.g. a deal, offer, package deal, print coupon or coupon code, discount offer or upload a pdf catalog. It would also need to have expiry date. Is this possible also if you can add a button somewhere to allow printing of the offer only not the whole page.
I know a lot of people look for special offers and I think if you give the option to your users to market their discounts that will encourage them to advertise with you.

Thanks...
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 05, 2011, 03:48:19 am
Hi I am new here and love this idea but I am really looking at a way a user/member/customer can implement a promotion themself e.g. a deal, offer, package deal, print coupon or coupon code, discount offer or upload a pdf catalog.
I think that is a great idea it may be a while until I get time to make this plugin. Can you explain a little more about the pdf catelog?
It would also need to have expiry date.
This is planned for version 2.0
Is this possible also if you can add a button somewhere to allow printing of the offer only not the whole page.
I know a lot of people look for special offers and I think if you give the option to your users to market their discounts that will encourage them to advertise with you.
Can you explain a little more on printing of the offer only.

Thanks for the suggestions and ideas.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: morvy on August 10, 2011, 03:54:21 pm
plugin throws an error when trying to register with facebook account. missing argument 1 on line 92 (I don't remember exactly)
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 10, 2011, 05:05:40 pm
Hi morvy

Does this error show every time you are trying to register with facebook? If it does can you copy and paste the full error code? I probably will not be able to look at the problem until Monday as I am going out of town but when I get back I will take a look as to what is causing this issue.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: morvy on August 10, 2011, 05:31:15 pm
Code: [Select]
Warning: Missing argument 1 for user_reward() in /***/oc-content/plugins/promo_codes/index.php on line 91
Title: Re: [New Plugin] Promotion codes
Post by: usclassifieds.org on August 17, 2011, 07:30:39 am
Hey Jay,

I have a suggestion for the next version of promo code plugin.

It would be nice if there was a promo code field when creating an ad.

Something like in the image attached below.
Title: Re: [New Plugin] Promotion codes
Post by: visnetmedia on August 18, 2011, 09:44:14 am
This is the start of what I would like where a person putting an ad can put in their own coupon code or special offer/deal and the viewer can print out the coupon. Maybe for the featured ads only.
Title: Re: [New Plugin] Promotion codes
Post by: visnetmedia on August 18, 2011, 09:54:43 am
Hi I am new here and love this idea but I am really looking at a way a user/member/customer can implement a promotion themself e.g. a deal, offer, package deal, print coupon or coupon code, discount offer or upload a pdf catalog.
I think that is a great idea it may be a while until I get time to make this plugin. Can you explain a little more about the pdf catelog?
It would also need to have expiry date.
This is planned for version 2.0
Is this possible also if you can add a button somewhere to allow printing of the offer only not the whole page.
I know a lot of people look for special offers and I think if you give the option to your users to market their discounts that will encourage them to advertise with you.
Can you explain a little more on printing of the offer only.

Thanks for the suggestions and ideas.

Jay

Hi Jay thanks for reply - if a person wanting to place an ad they can have the option of adding a coupon that the viewer hits the print button can print it out - or the person placing the ad can upload a pdf catalog of their specials (file size would have to be considered) - or the person placing the ad can give details of a special offer e.g. buy one get one free having expiry date and the ability to print it out or go to the website where they can use the deal.
With the economy people are looking at the best deals/offers/coupons and I think this will help those people placing ads to get noticed more and this will generate more sales for you the website owner with more people wanting to place ads with you.
I can see classifieds sites and coupon/deal sites but not one that has the opportunity for a site to have both. I have a lot of customers who are franchisee who have specials all the time without an online shop to promote - other customers have a website but need an advertising place to promote their business and give an offer on their website.

Hope that makes sense....
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 18, 2011, 05:38:39 pm
Hi visnetmedia

I think I understand now you are wanting to give your sellers the opportunity to advertise for their brick and mortar stores and or online stores with a coupon. I like the idea.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: morvy on August 24, 2011, 12:48:53 pm
Hi Jay,

have you looked at the problem I posted earlier? I've looked at the code, but I can't fix it..
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 24, 2011, 07:54:06 pm
Hi morvy

I have looked at the code and was able to reproduce the error. As of now I still have not found the error I am still looking. When I get it straightened out I will let you know.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on August 25, 2011, 06:52:38 pm
Hi morvy

We have found the problem between the facebook plugin and my promotions codes. The error was in the facebook plugin so _CONEJO was able to fix it you can download the updated version of the facebook plugin here http://sourceforge.net/projects/osclass/files/Plugins/facebook/?

Jay
Title: Re: [New Plugin] Promotion codes
Post by: morvy on August 26, 2011, 12:24:05 pm
thank you for great news
Title: Re: [New Plugin] Promotion codes
Post by: simplewebconsult on September 08, 2011, 01:49:25 am
just add it to mine and found this typo:

Signup Bonus Configuration
Enable Signup Bonus:

Signup Bouns Amount:

which file do i need edit to make the corrections?

Otherwise, great plugin guys.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on September 08, 2011, 03:48:52 am
hi simplewebconsult

You can correct my typo in user_reward.php line 40.

Thank you for pointing out the typo.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: morvy on September 08, 2011, 11:50:59 am
I think I have suggestion:

how about adding promotion codes ID per user (somehow generated from email addres?). If user recommends site to another user, he can provide him personal promoID and after registration of new user, he can obtain some amount of credits and new user too. understandable? :)
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on September 08, 2011, 06:25:46 pm
Hi morvy

I understand you are suggesting that when a registered users suggest the site to a friend the reg user gets x amount of promo codes and the refereed user if he/she signs up gets x amount as well. I like the idea I will try to add this to the next version.

Thanks for the suggestion.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: simplewebconsult on September 12, 2011, 07:04:37 pm
I like this plugin. I am currently running a promo code per user email manaully. So, I would have to compiled the data weekly and issue credits.

Anyway, I was looking around and I could not find a good place to see user account amounts?

On my test registered user, I don't see the amount of credits I have left.

Anyone have the same issue?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on September 12, 2011, 07:13:21 pm
Hi simplewebconsult

I am glad you like this plugin. Currently the only place to see the users credit is by click the link Buy credit for payments in the user dashboard. I think in the next version I may add another menu link to check the credit status.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: koltz on October 22, 2011, 09:32:55 pm
Awesome, thanks for the plugin! You have my wish list being able to only allow certain coupons in certain categories. Does the coupon allow say if I gave $100 for a coupon, that it would be able to be used for all uses until the credit is used up?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on October 22, 2011, 09:52:29 pm
Hi koltz

Thanks for the kind words. I am not sure I understand your question. Are you asking if you set the credit to $100 and then it is used say for every code entered then the $100 becomes $99 after someone enters a code?

Jay
Title: Re: [New Plugin] Promotion codes
Post by: koltz on October 22, 2011, 10:07:10 pm
No, kind of like the Packs, if I give somebody a code for $10, and each premium ad costs $.50, it will deduct $.50 from each use until that person has no money left for premium ads anymore.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on October 24, 2011, 09:29:25 am
Hi koltz

The promo code works just like the packs. So if you give your user $10 and they purchase an premium ad upgrade for .50 there wallet total will be $9.50. Actually when a user enters a promo code it just adds the promo code amount onto there paypal wallet total.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: maia_x on November 19, 2011, 05:36:42 pm
Hello,
thanks for this plugin.
I need your help. I do not know if it's a bug:
In my website premium ad costs $15.
I create a coupon code for $5.
So user would have to pay $10 with PayPal, why he gets the  initial price of $15 and not $10 (15-5)?
How do I fix this error?
thanks
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on November 19, 2011, 07:01:16 pm
Hi maia_x

This is a feature that is missing from the paypal plugin. How the promo codes plugin works is that when they enter a promo code it ads the dollar value to the persons paypal wallet. Another why it could be done is the user could buy a pack for 10 dollars and then he could pay with his paypal wallet.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: maia_x on November 19, 2011, 07:31:14 pm
Hello Jay,
I'm sorry, I think I didn't fully understand your answer. The problem is in paypal plugin? Is there a way to fix it?
Thanks for your time
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on November 19, 2011, 07:41:41 pm
Hi maia_x

It really is not a bug it is more of a feature that has not been implemented into the paypal plugin. Currently what my plugin does is add the promo value to the paypal wallet. To see how this works you could try creating a promo code with a value of $15 and setup a test account and use the promo code and then try upgrading you ad to premium and it would show a link "pay with your credit" and then you would not be required to pay with paypal as you would have enough credit to pay for the upgrade.

I hope this is clear.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: maia_x on November 19, 2011, 08:18:21 pm
Ok thank you...now I understand ;D ;D ;D
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on December 08, 2011, 07:54:24 pm
Hi All,

I am going to be looking at upgrading this plugin here soon so I would like to hear all your suggestions and ideas you may have for me.

Thanks

Jay
Title: Re: [New Plugin] Promotion codes
Post by: Jesse on December 08, 2011, 11:33:06 pm
Great!

How about on the "Enter Promotion Codes" page, you display the current wallet amount. It seems like this use to be displayed on another page, but I've clicked on every page, and it's nowhere to be found... very odd. I just now noticed this was missing too. Perhaps another bug to find!

Jesse
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on December 09, 2011, 12:23:58 am
You see the paypal wallet page if you have the paypal packs enable other wise you do not see that page.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: Jesse on December 09, 2011, 12:34:13 am
Ah, you're right! :-) Still would be nice to see the wallet amount on that page as well. That way when you enter in a code and it says that you just got a $10 credit, it can also show your new total wallet amount. Especially since someone may not have the PayPal packs enabled (such as myself), and has no other way to view the wallet total.

Jesse
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on December 09, 2011, 12:45:17 am
I as well think that is something I am going to add to the next version.

Thanks

Jay
Title: Re: [New Plugin] Promotion codes
Post by: geshcheto on December 14, 2011, 03:30:23 am
hi i install the plugin but not show the link "enter your promo code"inside the user menu

i use the last version of osclass 2.3.2,modern template,inside in admin panel the plugin is working good. can somebody to help me.

Thank you in advance
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on December 14, 2011, 03:58:51 am
Hi geshcheto,

Do you have the paypal plugin installed? The promo codes plugin does not work without the paypal plugin.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: geshcheto on December 14, 2011, 04:22:39 am
hi trains58554,thank you for your quick answer,yes i have installed paypal.
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on December 14, 2011, 04:29:04 am
Hi geshcheto,

That is strange it should be working. In the user menu you should see this menu option "Enter Promotion Codes".

Jay
Title: Re: [New Plugin] Promotion codes
Post by: geshcheto on December 14, 2011, 01:11:53 pm
hi trains58554 its reali strange but not work,you make to seen the images,thank you.
Title: Re: [New Plugin] Promotion codes
Post by: srisri on January 03, 2012, 09:13:31 am
Hi Jay,

Request you share the Promotion codes plugin to me
srisri.ch@gmail.com

Regards
Sri Sri
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 03, 2012, 09:29:27 am
Hi srisri,

I just sent you the plugin.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: SuperAtic on January 03, 2012, 01:51:52 pm
Hi trains

me too!

 :D
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 03, 2012, 06:46:35 pm
Hi SuperAtic,

I sent you the plugin.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: SuperAtic on January 03, 2012, 07:06:34 pm
Thank you Train!

Received!

Nut.. in my user menu don't appear nothing about the plugin!

How I can inser a code to use it?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 03, 2012, 07:10:51 pm
Hi SuperAtic,

Do you have the paypal plugin installed? This plugin requires the paypal plugin to be installed.

You should see a link called "Enter Promotion Codes" in the user account menu.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: SuperAtic on January 03, 2012, 08:00:11 pm
Hi Trains

Yes I have the payPakl plugin.. but I don't see the "Enter Promotion Codes" in the user account menu !!!
Maybe any problem with javascripts?

Do You can test it?

http://ilbaratto.superatic.com

U: user
P: test
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 03, 2012, 08:47:38 pm
@SuperAtic,

I sent you the index.php file for the promo codes plugin try uploading this file to the plugin folder and let me know if ti is working.

Thanks

Jay
Title: Re: [New Plugin] Promotion codes
Post by: SuperAtic on January 03, 2012, 09:07:51 pm
Yessss...  ;D

Thaaank very much trains!

I have tested the plugin! I have create and inserted a new promo code!
Before teh message "You just got 10.00 credited to your account"
I have read in the PayPal credis but is equal to 0.00!!!


Title: Re: [New Plugin] Promotion codes
Post by: oneway on January 24, 2012, 12:54:16 am
I would love to have this plugin sent to me.
richard(dot)way(at)gearbay(dot)se

Thanks!
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 24, 2012, 01:55:13 am
Hi oneway,

You can download this plugin from the first post.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: oneway on January 25, 2012, 01:11:48 am
Thanks Jay

Sorry about that, I read the previous posts and assumed a new version was being distributed.
Thanks for clarifying.

EDIT: For some reason this plugin is not shown in the user account. Using 2.3.5 (Swedish language), a few plugins installed, including paypal.

Any idea why it doesn't show up?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on January 25, 2012, 06:24:36 pm
Hi oneway,

I updated the zip in the first post.

Jay
Title: Re: [New Plugin] Promotion codes
Post by: oneway on January 26, 2012, 01:23:12 am
Hey Jay

Thanks for the updated file, though it's still not working. I'm not sure what I'm doing wrong here.
Is there any files that needs to be edited?

What I've done:
Installed 2.3.5
Installed Swedish language
The following plugins are installed and activated- Carousel, list seller items, offer button, OSC Terms, Paypal, Promo code

I removed old Promo code plugin, cleared DB, deleted files on server /plugins/promo and then installed the new zip.
Still no promo option under user account.

Funny thing is I'm also struggling with the Paypal plugin, API micro payments does not work but Normal payment works perfectly. Could it be I'm using an old paypal plugin? (EDIT: version 2.0.3 installed)

I have absolutely no idea what to do next......

Title: Re: [New Plugin] Promotion codes
Post by: maicoboston on February 22, 2012, 09:40:52 am
The following plugin are very to use. It is very useful to payment by Paypal and also good for purchase. Paypal plugin is work for me. You can install promotion codes in your account page. It is work very well for me.
Title: Re: [New Plugin] Promotion codes
Post by: smartsiam on February 28, 2012, 06:10:24 pm
Hi I read in this thread that somebody had the same problem like I face now - the box to enter the promo code does not appear in the user account.

I have a brand new install of OSCLASS 2.3.5 with following modules installed and configured.
All files are downloaded/installed today or yesterday.

Hope there is an explanation one day,...    :'(

I had a look into the promo_codes folder, and realized that there are an index.php and an index1.php
Renaming index.php to index.php.orig and index1.php to index.php solved the problem on my server.

Would be nice to have this info in FAQ section of the script...

Title: Re: [New Plugin] Promotion codes
Post by: Cris on April 19, 2012, 07:01:51 pm
I have a problem...
if i set a value for a signup value, where is it saved? i can't see any variable on oc_t_preference table (only promo_reward_enabled)
so, if a new user register his credit is not incremented, but is 0!

...and some suggestion...
- maybe the plug in should send a mail to user if signup bonus is enabled, like "Congratulation! you have received 5€ bonus credit for Premium ads!"
- a message in user-registration like "Register now to get 5€ bonus credit!"
- if a create a promotion code would be appropriate to select an user id and send it an email with the promotion code
- an expiration time for bonus credit (require a new table and not the increment of f_amount on paypal_wallet and some edits on paypal plugin)
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on April 19, 2012, 07:48:58 pm
You should have two rows in the preference table this is the other one promo_reward_amount

I like your suggestions I will make a note of them and add them to the next version.

Thanks for the suggestions I like them all.

Thanks

Jay
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on April 19, 2012, 08:25:01 pm
Hi Cris,

So with your idea of expiring promo code money would you just subtract the amount they have left or would you subtract the whole promo amount?

I am thinking that it should only subtract the remaining amount.

jay
Title: Re: [New Plugin] Promotion codes
Post by: Cris on April 21, 2012, 05:16:30 pm

I am thinking that it should only subtract the remaining amount.

jay

yes, this is my idea!

for example you set 60 days for expiration time. when the user uses the promotion code the value is saved in a record, and in another record is saved today+60days (expiration date)
When an user buy a premium ad we have a code like:
       
       if user promo_reward_amount >0
             {
                 if expiration date >=today
                  {   
                   if promo_reward_amount > premium cost
                             promo_reward_amount - premum cost
                        else
                             {
                             if promo_reward_amount = premium cost
                              {
                                promo_reward_amount - premum cost
                                expiration date == null       
                               }
                            else
                                 difference= premum cost - promo_reward_amount
                                 promo_reward_amount==0
                                user f_amount - difference
                            }
                }
        else
              promo_reward_amount==0
              expiration date == null
             (so the user can use a new promotion code)                 
               }
        else
           user f_amount - premium cost       

Title: Re: [New Plugin] Promotion codes
Post by: dtcllc on May 02, 2012, 02:50:14 am
Where is the plug in for coupons?
Title: Re: [New Plugin] Promotion codes
Post by: dtcllc on May 02, 2012, 04:33:29 am
where is the plugin?
Title: Re: [New Plugin] Promotion codes
Post by: trains58554 on May 02, 2012, 07:31:19 am
Hi dtcllc,

You can download the plugin form the very first post in this topic. Currently I do not know of a coupon plugin.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on June 25, 2012, 06:56:40 pm
Hi All,

Cris and I have been working on some great new features for the promo code plugin and are pleased to announce that promo code version 2.0 is out. You can download the latest version from the first post.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tijo972 on June 26, 2012, 04:45:53 am
hello trains in the new updated plugin the option (Allow Signup Bonus Expiration) is not effective, there is always checked.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tijo972 on June 26, 2012, 05:58:54 am
Problem solved, replaced the line 9 of file conf.php plugin by this line

___________________________________________________________________________

         osc_set_preference('allow_signup_bonus_exp', Params::getParam("allow_signup_bonus_exp") ? Params::getParam("allow_signup_bonus_exp") : '0', 'plugin-promo', 'BOOLEAN');

___________________________________________________________________________

Title: Re: [Plugin] Promotion codes V 2.0
Post by: tijo972 on June 26, 2012, 08:03:38 am
I found another bug,
 
when the options are unchecked, the promo code does not stack on the user's account, nothing happens!
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on June 26, 2012, 06:15:15 pm
Hi tijo972,

Thanks for the report I will look into it.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on June 28, 2012, 05:01:21 am
Hi everyone,

I have posted an update that fixes the issue with the promo amount not getting added.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tijo972 on June 29, 2012, 02:58:40 am
Hi

I seem to have found another bug, the mail is not sent to the user.

trains "thank you for the fix made ​​for accumulated credits"
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on June 29, 2012, 03:55:33 am
Hi tijo972,

I as well have just noticed that bug. I will try to get it fixed asap.

Thanks

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on July 03, 2012, 01:47:40 pm
I uploaded the new fix, but it still isn't adding the promo amount.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: zuberacorp on July 06, 2012, 09:30:10 am
I just installed the plugin and it is working fine. But I am not able to see the success or failure message when user enters the promo code after login.

Please let me know where to change the code ?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: astroboy on July 11, 2012, 10:35:48 am
Great plugin however, I have a problem with the code redeeming.

If the user has already got credit, it works great but, if the user is new and has no credit it doesn't. I'm using 3.0 RC.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on July 13, 2012, 05:15:38 am
Hi astroboy,

I will take a look and see where the error is and get it corrected.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: astroboy on July 13, 2012, 11:14:05 am
Great, thanks Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 15, 2012, 10:48:26 am
I'm not sure whats going on, but I still can't get the sign up bonus to show up. I have PayPal plus and I uploaded the newest promo codes version.  :(
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 16, 2012, 02:37:44 pm
I've tried reinstalling both plugins, but the promo bonus does not show up still on the users end. I am using Bcute theme.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 17, 2012, 11:55:07 am
Okay, so I did some more testing and found that if I put expiration on the promo code, then it will show up. But if there is no expiration for the promo code, it does not show up to the user.
Also, no matter what I do, the new user credit does not show.
I even did a clean install and tried it on there with the default theme and it does the same thing.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 17, 2012, 06:40:18 pm
Hi,

I will try to find the problem and get it fixed.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 20, 2012, 03:33:28 am
Okay, thanks!
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 20, 2012, 07:50:35 am
Hi hallartistry,

I found the bug I was using the wrong table name so it was not inserting the value to the table.

You can download the updated version in the first post no need to uninstall the plugin just copy in the files.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 20, 2012, 12:18:37 pm
Thank you so much! so it works fine now when entering a promo code, but it still isn't showing any credit after signing up as a new user for the new user credit.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 20, 2012, 06:43:12 pm
I will look into why it is not working for the sign up bonus.

jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 20, 2012, 08:55:44 pm
I have got it working. Thanks for reporting the issues.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: hallartistry on August 20, 2012, 09:46:54 pm
Yay, it works now :) Thanks again!
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 20, 2012, 10:26:44 pm
Not a problem. Thanks for reporting the issues.  :)

jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: web2graphics on August 22, 2012, 08:32:51 pm
Hi,
I got it installed on osclass v3.01 howerver there seemed to be an issue with it. Once I tried sending a promotion to a user's email account, the php code issued the following message:
Warning: current() expects parameter 1 to be array, null given in /osclass/oc-content/plugins/promo_codes/index.php on line 150
thank you
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 22, 2012, 09:45:36 pm
Hi web2graphics.

Are you using more then one language? It sounds to me like the email template is missing.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: web2graphics on August 23, 2012, 01:06:58 am
Hi web2graphics.

Are you using more then one language? It sounds to me like the email template is missing.

Jay
Hi Jay,
No I did not install any new language. It is just the default English one
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 23, 2012, 09:01:19 am
Hi web2graphics,

Can you check to see if in your email templates list if you have a template with this name "send_promo_codes"?

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: zuberacorp on August 23, 2012, 09:45:51 am
Jay,

I have copied all files from the latest plugin you uploaded in the first post. Whenever I create a new promo code, it says "Promo Code Created Successfully" but doesn't show it in the list.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: web2graphics on August 23, 2012, 06:44:11 pm
Hi web2graphics,

Can you check to see if in your email templates list if you have a template with this name "send_promo_codes"?

Jay
no i dont have the send_promo_codes listed
Title: Re: [Plugin] Promotion codes V 2.0
Post by: chaber on August 26, 2012, 05:50:30 am
Hi everybody.

Installed OK  :)
I can create Promotion Codes OK  :)
When an user goes to his Dashboard appears "Enter Promotion Codes" option OK  :)

But when types the promotion codes and clicks "Redeem", nothing happens.  :-[

Seems that the button just doesn't work.

I'm using OSClass Modern Theme 3.0

Thanks trains58554
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on August 28, 2012, 06:23:46 am
Hi chaber,

Try checking the permissions of the oc-content/plugins folder make sure it is set at 755 and not higher.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: web2graphics on August 28, 2012, 09:41:15 am
Hi chaber,

Try checking the permissions of the oc-content/plugins folder make sure it is set at 755 and not higher.

Jay
Hi trains58554 ,
You asked me a question above and I answered could you let me know what's next?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: Optimus on September 14, 2012, 10:18:15 am
Hello, is there a way to adapt the plugin to work without Paypal ? In fact, I am not using the paypal plugin as I don't want to get in a commercial relationship with publishers right now. As I am launching the site, for the first year I am only trying to attract new people with free premium ads. I already have the referral plugin but would like to have the promo code as well. I could eventually tailor made the Paypal plugin to allow the use with promo code only, but not sure how to do that. Any advise or help is very welcome. Thank you !
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on September 14, 2012, 08:16:12 pm
Hi jimwinny,

All you would have to do is install the paypal plugin. You do not have to set the paypal plugin up. The only reason the paypal plugin is required is for the tables that the plugin creates and for setting the price for the premium ads.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: jonjones on October 04, 2012, 09:07:48 pm
Hi.. trying to get this working. I can redeem the code in My Account, but when I go to publish a listing it still tries to charge me at the PayPal screen and doesn't post the listing.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on October 04, 2012, 10:48:50 pm
Hi jonjones,

It is still going to say you need to pay for your ad you can now goto your account down to Item payment status and then you should be able to pay for your ad with your paypal wallet credit.

jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: jonjones on October 06, 2012, 10:46:31 pm
Thanks. You've been really helpful.  One more question and I think I'll be out of your hair. I was messing around with the Paypal plugins and I know the Promo plug-in uses tables created by it or something along those lines. I'm trying to activate the Promo plugin now and get this:

Plugin couldn't be installed because of: Error importSQL::ModelPromo
promo_codes/struct.sql
Title: Re: [Plugin] Promotion codes V 2.0
Post by: aaron05 on October 08, 2012, 02:54:17 pm
hello, how can i change the $ sign to P (Peso) on promo codes?? thanks...
Title: Re: [Plugin] Promotion codes V 2.0
Post by: Agwoan on October 12, 2012, 07:51:56 am
Quote
Warning: current() expects parameter 1 to be array, null given in /home/content/18/9932318/html/oc-content/plugins/promo_codes/index.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/content/18/9932318/html/oc-content/plugins/promo_codes/index.php:117) in /home/content/18/9932318/html/oc-includes/osclass/core/BaseModel.php on line 72

After installing the promo_code i have tried every function i could think of....I am an awesome Beta tester...lol  ;D

The error about i receive when a new user registers with the registration bonus enabled.
If the user hits the browser back button...the registration email send message is displayed. The user clicks the link to activate the account and the registration bonus show up in the account.

I tested this on 3 PCs one of which was at the site for the first time and the result was always the same.

I am running OSC 3.01 with the Repurpose 1.1.3 by OSClass team
OSClass theme using twitter bootstrap 1.4

I am also running the Paypal+ Version 1.0.5 

Also the "pay with my credit" link does not always work....I believe it has something to do with the browser (IE8) if I have logged into different accounts without clearing my history and cookies.

The overall layout of the text all runs together when going to the "pay with my credit" or Paypal button purchase page and it would look more professional if the  "pay with my credit" link were a button.

Do you know if some of this is a result of the Repurpose Theme?
I am running everything at this point pretty much Out-Of-The-Box before I begin any major customizing

I will dig into this myself but just wanted to give you a heads up and see what your thoughts were

Agwoan
Title: Re: [Plugin] Promotion codes V 2.0
Post by: brooky on October 16, 2012, 08:56:36 pm
Hi
I am using the latest plugin from page 1 with a straight out of the box osclass install with repurpose theme absolutely untouched and cannot get the credit from a promo code to show up on a users account.
The promo is logged as redeemed. It is not a new registration promo but one that is sent out.
If they try to redeem it again the used already notice comes up so that is all working.
Do I have to set permissions on something?
I have tried just about every combination of options and it simply won't do it. I have paypal installed and read through this thread and cannot find an answer.
Any Suggestions?
Just a thought for the future, on the message you have been credited $x, a link to an appropriate page that shows their balance would be good.

Title: Re: [Plugin] Promotion codes V 2.0
Post by: brooky on October 16, 2012, 09:05:23 pm
Hi
Re my last post.
Just noticed that in Sandbox mode, no credit is applied when a user redeems a promo, but turning sandbox off will add it.
This is awkward for testing. Maybe some sort of test mode could be thought of.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: texthiller on November 01, 2012, 10:00:33 pm
Hi!
Fantastic plugin! but it don'w work on osclass 3.0.2 when you insert the code there is no action!
Thanks you in any way! :)
Title: Re: [Plugin] Promotion codes V 2.0
Post by: texthiller on November 17, 2012, 12:20:45 pm
There is a fix for this?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: texthiller on November 18, 2012, 10:37:33 pm
Which version are you using?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: texthiller on December 11, 2012, 11:34:37 am
There are news for new version?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tipidcorner on December 23, 2012, 12:50:07 pm
hi,
Please help, when i enable sign up bonus i got this error when sign up,

Warning: current() [function.current]: Passed variable is not an array or object in /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php:117) in /home/mcnov11/public_html/oc-includes/osclass/core/BaseModel.php on line 72

please help. thank you.

this my site. www.tipidcorner.com (http://www.tipidcorner.com)
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tipidcorner on January 01, 2013, 09:55:34 am
hi,
Please help, when i enable sign up bonus i got this error when sign up,

Warning: current() [function.current]: Passed variable is not an array or object in /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php:117) in /home/mcnov11/public_html/oc-includes/osclass/core/BaseModel.php on line 72

please help. thank you.

this my site. www.tipidcorner.com (http://www.tipidcorner.com)


I got it, i added email templates to admin area.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: atrifa81 on January 21, 2013, 02:56:18 pm
hi,
Please help, when i enable sign up bonus i got this error when sign up,

Warning: current() [function.current]: Passed variable is not an array or object in /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/oc-content/plugins/promo_codes/index.php:117) in /home/mcnov11/public_html/oc-includes/osclass/core/BaseModel.php on line 72

please help. thank you.

this my site. www.tipidcorner.com (http://www.tipidcorner.com)


I got it, i added email templates to admin area.

explain please wath did u do to fix this?...i have the same problem
Title: Re: [Plugin] Promotion codes V 2.0
Post by: atrifa81 on January 31, 2013, 02:13:22 pm
Hi web2graphics,

Can you check to see if in your email templates list if you have a template with this name "send_promo_codes"?

Jay

Hi Jay....i have the same problem  and i dont have the send_promo_codes email templatet....how can i fix this?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: diveshlalit on January 31, 2013, 05:03:24 pm
sir Enter Promotion Code button not working
Title: Re: [Plugin] Promotion codes V 2.0
Post by: McPikul on February 01, 2013, 12:08:01 am
Yep me too, when I enter promo code and pres "reedme" no action :(
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on February 01, 2013, 02:13:57 am
Hi Guys,

Try checking the permissions of the oc-content/plugins folder make sure it is set to 755.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: McPikul on February 01, 2013, 02:17:14 am
Yes I have set permissions 755 and still is problem :(
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on February 01, 2013, 02:46:23 am
Try checking your error log maybe that will help shed some light on the problem.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: diveshlalit on February 01, 2013, 10:33:27 am
Try checking your error log maybe that will help shed some light on the problem.

Jay


no error
Title: Re: [Plugin] Promotion codes V 2.0
Post by: nextera on February 01, 2013, 11:13:34 am
Don't work with payment plugin 1.1?
Title: Re: [Plugin] Promotion codes V 2.0
Post by: keish on February 11, 2013, 07:27:54 pm
Hi all,

I have an error message when I send a promo code for the plugin:

Warning: current() expects parameter 1 to be array, null given in /home/website/public_html/site.com/oc-content/plugins/promo_codes/index.php on line 150

In addition, the e-mail is not received by the user, however I get the message that the green mail was sent but with the error message.

Do you have all the same problem?

FYI, I'm running OS 3.0.2-Class and yet the plugin works pretty well ...

Thank you in advance for your help
Title: Re: [Plugin] Promotion codes V 2.0
Post by: willywilliams80 on February 16, 2013, 08:24:17 am
I am getting the same message other users get when enabling a sign-up bonus.  I do not have the "send_promo_code" email template...?  Is this somewhere we are able to download it?


I am running V2.0

Also get this error when trying to send email...
Warning: current() [function.current]: Passed variable is not an array or object in /homepages/7/d258086924/htdocs/cleanoutmyattic/oc-content/plugins/promo_codes/index.php on line 150

Get green light and says "sent email succesful" but get that error and email never comes through

Thanks for your help
Title: Re: [Plugin] Promotion codes V 2.0
Post by: keish on February 21, 2013, 02:06:00 am
Hi all,

Do you have a solution for the error obtained when we want to send a promo code by e-mail?

Thank you in advance for your help.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on February 21, 2013, 05:44:18 am
Hi keish,

I will have to look at that function and see if it is working.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: keish on February 21, 2013, 12:45:40 pm
Hello Jay,

With pleasure, but I think the problem is not only in me but also in others ...

It is possible that this function does not see the return of several persons with error.

We hope you can solve the problem for sharing with us.

Thank you again for your help.

@ +
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on February 21, 2013, 08:20:39 pm
@keish,

I got it working. You can download the updated version in the first post. Let me know if it is working for you.

Thanks

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: keish on February 22, 2013, 04:19:29 pm
@keish,

I got it working. You can download the updated version in the first post. Let me know if it is working for you.

Thanks

Jay

Hi jay,

Last night, I tested the drnière version you put up for me :-) thank you again.

I therefore as thou hast said in a previous message, disable the plugin and installed the current version. As always I handed access settings of the plugin folder 755. When I tested the plugin for sending e-mail, I still have the same error message as the previous version:

Warning: current () Expects parameter 1 to be array, null Given in / home / website / public_html / website / oc-content / plugins / promo_codes / index.php on line 150

However, the information I send e-mail green but I do not receive e-mail in my inbox: (

Do you have an idea?

@ all Am I the only one with the same error?

Thank you in advance for your help Jay and thank you for your work. I know I'm repeating myself but it's really nice of you to do this for everyone.

@ +
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on February 22, 2013, 07:52:52 pm
Hi keish,

It should be good to go now I hammered out the code a little so it is playing nicely now. :)

One thing you may have to do is check in your email templates and see if there are more than one email template for send_promo_codes If there is you will have to go into your database and remove it.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: willywilliams80 on March 02, 2013, 08:35:34 am
@keish,

I got it working. You can download the updated version in the first post. Let me know if it is working for you.

Thanks

Jay


Updated version not working - still no email templates (running OSClass 3.1)
Title: Re: [Plugin] Promotion codes V 2.0
Post by: willywilliams80 on March 02, 2013, 09:17:37 am
In OSClass 3.1 the redeem button also does not work...?

Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on March 02, 2013, 07:54:42 pm
Hi willywilliams80,

I will have to take a look at this plugin and check to see if it is compatible with 3.1 I think there are a few small changes i will need to make.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: Acertijo on March 07, 2013, 04:18:32 pm
thans, Update 2-23-13 works fine on 3.1 the only problem is that the user does not receive the email, i check the Templates and i dont have any promo_codes template, all other functions are fine.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: willywilliams80 on March 07, 2013, 10:33:08 pm
Any update on the plugin??

Still not able to get it to work with 3.1 and no email templates :(

Thank you for your help!
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on March 07, 2013, 10:54:18 pm
Hi

Not yet I am finishing up another plugin and then I will look at this one.

Jay
Title: Re: [Plugin] Promotion codes V 2.0
Post by: Optimus on March 11, 2013, 01:22:35 pm
Hello,

I also found out that randomly when I make an add premium using a promo code via an iPhone, the cost (ex 1 eur) is deducted twice.

I don't know if this is linked to paypalplus plugin or promo code plugin.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: willywilliams80 on March 16, 2013, 09:10:42 am
Any idea when you will have the plugin updated?

Really lonely without this plugin working...  :-[
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tanvu on March 24, 2013, 02:39:31 am
Please help, i not working in os 3.1
Title: Re: [Plugin] Promotion codes V 2.0
Post by: tbare on March 27, 2013, 10:22:29 pm
Hi

Not yet I am finishing up another plugin and then I will look at this one.

Jay

Not to beat a dead horse, but... any ETA on this? This is a killer plugin -- except that "Redeem" doesn't work in 3.1 -- if you gave me a starting place to look, I'd be happy to dig in myself.

Thanks.
Title: Re: [Plugin] Promotion codes V 2.0
Post by: trains58554 on March 28, 2013, 04:44:08 am
Hi all,

I will work on getting this plugin working with 3.1+

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on March 28, 2013, 05:01:38 am
I got this plugin updated so now it works with 3.1.+

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:02:31 am
Holy crap - glad I didn't spend any time trying to figure it out -- 20 minutes. That's incredible!
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:07:59 am
I got this plugin updated so now it works with 3.1.+

Jay

The Redeem button still isn't working for me... thought?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on March 28, 2013, 05:13:04 am
Do you have the paypal plugin installed? If not then this plugin will not work. Also can you check to see if there are any errors in your error log?

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:16:54 am
I'm using Paypal Plus - Where would the errors that you'd be looking fro be? (specific to the plugin, or error_log file in the root of the site)?

EDIT: nothing in the "error_log" file in the root

EDIT 2: as an FYI I'm still on 3.1.0 -- i'm also running a (slightly) modified Modern Theme (nothing major - just updating some links / CSS)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:53:59 am
is the action supposed to be only "ajax_redeem.php" (without anything else in the path)?

Code: [Select]
<form id="promo-code-form" action="ajax_redeem.php" method="POST" onsubmit="return false;">
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 04:57:24 pm
when i install this plugin, it says: Plugin couldn't be installed because of: Error importSQL::ModelPromo
promo_codes/struct.sql please help me... :(
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 04:58:47 pm
when i install this plugin, it says: Plugin couldn't be installed because of: Error importSQL::ModelPromo
promo_codes/struct.sql please help me... :(

It's probably because you had the old version installed - I had to go in and delete the 2 promo_codes tables before I could install the latest version. - if you have codes you need to keep, you may want to back them up first.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 05:00:41 pm
how to delete it??
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:13:11 pm
how to delete it??

I went in through phpMyAdmin and selected the 2 tables, with selected > "Drop" -- there may be an easier way, but that's how I did it.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 05:22:41 pm
how to delete it??

I went in through phpMyAdmin and selected the 2 tables, with selected > "Drop" -- there may be an easier way, but that's how I did it.

done. thanks for your help!!! :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 05:46:29 pm
Do you have the paypal plugin installed? If not then this plugin will not work. Also can you check to see if there are any errors in your error log?

Jay

As an update - I just did a clean install of 3.1.1, only installed the latest Promo Codes as well as Paypal Plus plugin, and still not getting any action to occur when I click "Redeem"

any thought?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 06:07:02 pm
Do you have the paypal plugin installed? If not then this plugin will not work. Also can you check to see if there are any errors in your error log?

Jay

As an update - I just did a clean install of 3.1.1, only installed the latest Promo Codes as well as Paypal Plus plugin, and still not getting any action to occur when I click "Redeem"

any thought?

same here. but it is working. promo code is credited. only the message is not published when i click redeem.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 06:09:29 pm
As an update - I just did a clean install of 3.1.1, only installed the latest Promo Codes as well as Paypal Plus plugin, and still not getting any action to occur when I click "Redeem"

any thought?

same here. but it is working. promo code is credited. only the message is not published when i click redeem.

Wow - I didn't even notice that it credited, but I got the same result... interesting.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 06:16:12 pm
As an update - I just did a clean install of 3.1.1, only installed the latest Promo Codes as well as Paypal Plus plugin, and still not getting any action to occur when I click "Redeem"

any thought?

same here. but it is working. promo code is credited. only the message is not published when i click redeem.

Wow - I didn't even notice that it credited, but I got the same result... interesting.

i also try to make some promo code with 1 max use only. when i used the codes, it is credited but when i check manage promo codes, it says: "Max Use 1, Use Left 1....... still other members can use this code. :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 06:26:47 pm
Fixed the message issue:

in the index.php file on line 221
change:
Code: [Select]
            "<?php osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
to
Code: [Select]
            "<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
(add "echo") :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 06:33:42 pm
Fixed the message issue:

in the index.php file on line 221
change:
Code: [Select]
            "<?php osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
to
Code: [Select]
            "<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
(add "echo") :)

when i click on save setting, it says. Could not open /home/ptc4bu/public_html/GPTSALES.COM/oc-content/plugins/promo_codes/index.php for writing: Permission denied
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 06:34:18 pm
how are you editing the file?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 06:36:39 pm
how are you editing the file?

on my cpanel. right click the file and click edit.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 06:38:28 pm
how are you editing the file?

on my cpanel. right click the file and click edit.

from cPanel, you may need to change the permissions to 666 to allow the cPanel user to edit - just make sure you change it back to 644 after you've saved
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 06:41:42 pm
how are you editing the file?

on my cpanel. right click the file and click edit.

from cPanel, you may need to change the permissions to 666 to allow the cPanel user to edit - just make sure you change it back to 644 after you've saved

still dont work. tells the same message.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 07:00:08 pm
not 100% sure, then -- I typically get in to files using WinSCP with my FTP account -- I don't edit files from cPanel too often.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 07:02:48 pm
not 100% sure, then -- I typically get in to files using WinSCP with my FTP account -- I don't edit files from cPanel too often.

will try that software.

i posted here on development.. "please help me. i cant delete, edit any files on my plugin folder..   that's why i cant fix any bugs on me plugins. please help me. also when i try to delete it, it will be deleted but when i reload/refresh the folder, it is still there. please help me!!!!  "

Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 07:03:49 pm
not 100% sure, then -- I typically get in to files using WinSCP with my FTP account -- I don't edit files from cPanel too often.

will try that software.

i posted here on development.. "please help me. i cant delete, edit any files on my plugin folder..   that's why i cant fix any bugs on me plugins. please help me. also when i try to delete it, it will be deleted but when i reload/refresh the folder, it is still there. please help me!!!!  "

Best of luck! :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 07:15:17 pm
I have solved my own problem but i have another problem.
When i set the promo codes of maximum usage to 1. it can still use it by other members.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 07:16:48 pm
I have solved my own problem but i have another problem.
When i set the promo codes of maximum usage to 1. it can still use it by other members.

Not sure on that one - I don't have that need at this point, so it will have to either wait for the original dev to chime in, or until I have more time to look at it.

Sorry...  :-\
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aaron05 on March 28, 2013, 07:17:35 pm
I have solved my own problem but i have another problem.
When i set the promo codes of maximum usage to 1. it can still use it by other members.

Not sure on that one - I don't have that need at this point, so it will have to either wait for the original dev to chime in, or until I have more time to look at it.

Sorry...  :-\

its ok. you've helped me a lot! THANKS MATE! :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on March 28, 2013, 07:39:45 pm
@tbare,

I will get that echo added in I had made some small changes there and I must of forgot that echo. In any case I will get it added and update the zip.

@aaron05,

I will take a look and see why the limit of uses is not working correctly.

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: tbare on March 28, 2013, 07:40:48 pm
@tbare,

I will get that echo added in I had made some small changes there and I must of forgot that echo. In any case I will get it added and update the zip.

@aaron05,

I will take a look and see why the limit of uses is not working correctly.

Jay

Thanks, Jay -- still a great plugin -- I know what it's like to forget those little things... :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: zombie on April 09, 2013, 02:22:25 pm
Both frontend and backend turned to blank pages after installing on 3.02
error_log says:
Quote
Call to undefined function osc_enqueue_script() in /oc-content/plugins/promo_codes/index.php on line 211
Title: Plugin conflicting with Spain theme
Post by: menopoi on April 12, 2013, 01:06:46 pm
Hi,

I installed the 3.1 version of OSClass and the spain theme with some modification (I converted the spain plugin to Paraguay).
The issue is if I activate the promo code plugin it breaks down the code.
Map and other stuff don't work anymore here is the error I get with firebug.

TypeError: $(...).uniform is not a function
[Break On This Error]    

...#contact form button, .user_forms form button, .add_item form select, .add_item ...

if I go over the map I get more errors:
TypeError: statsRegions[key] is undefined
[Break On This Error]    

...p-tooltip').html(statsRegions[key].name + ': '+statsRegions[key].count + ' ads')...

www.se...opy.com (line 323)

ReferenceError: canvas is not defined
[Break On This Error]    

...p-tooltip').html(statsRegions[key].name + ': '+statsRegions[key].count + ' ads')...

www.se...opy.com (line 323)

TypeError: statsRegions[key] is undefined
[Break On This Error]    

...p-tooltip').html(statsRegions[key].name + ': '+statsRegions[key].count + ' ads')...

www.se...opy.com (line 341)

TypeError: statsRegions[key] is undefined
[Break On This Error]    

...p-tooltip').html(statsRegions[key].name + ': '+statsRegions[key].count + ' ads')...

www.se...opy.com (line 323)

can someone help?
Furthermore redeem button doesn't work ... it loads the code in the ajax funcion but fails to reload the page and advise the customer.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: clint6998 on April 26, 2013, 07:56:30 am
Installed Promo Code plugin and PayPal. Set everything up and code gave credits. Added echo in missing line. Now when I login as a user, it routes to the index.php file and gives this error message = "Invalid CSRF token."  If I remove the index.php from url it loads pages as it should. When I logout as user, it sits on a blank page.  Not sure if it has to do with THIS plugin bit I know Jay is an awesome developer and figured you could help!   :)

I removed promo codes and my site works fine.  Why would this make my site crash?

www.findfirearms.com in case you want to see for yourself.

Any ideas?

Thanks,

Clint

BTW: Awesome plugin! 
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: texthiller on April 28, 2013, 03:40:52 pm
I tested this plugin but don't work on my osclass 3.1.1 with php 5.3 and mysql 5.
The installation it's ok but don't work.
Bye!
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Ermitage on May 19, 2013, 12:00:27 pm
Hi, I have the same of clint6998, paypal plugin and promo code installed,  but when I try to login or to log-out the browser go the following address www.mysite.come/index.php and a blank page appears. The strange thing is that on altervista hosting (My test enviroment)  everything is working. Any idea? Please let me know.... Thanks
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: zombie on May 19, 2013, 01:29:01 pm
Hi, I have the same of clint6998, paypal plugin and promo code installed,  but when I try to login or to log-out the browser go the following address www.mysite.come/index.php and a blank page appears. The strange thing is that on altervista hosting (My test enviroment)  everything is working. Any idea? Please let me know.... Thanks

If that is the case there is some requirement that is not met. I would like to know what that is. Error I get is about undefined function.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Ermitage on May 19, 2013, 11:50:42 pm
Hi Zombie, where can I found the error log?. Thanks for your Reply....
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: zombie on May 19, 2013, 11:51:46 pm
Hi Zombie, where can I found the error log?. Thanks for your Reply....

Check your web server config and see what file is specified. Usually something like error_log.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Ermitage on May 21, 2013, 11:59:01 pm
Hi, I found the error log:
"[21-May-2013 21:53:49 Europe/Rome] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/iiunmprs/public_html/oc-content/plugins/promo_codes/index.php:603) in /home/iiunmprs/public_html/oc-includes/osclass/core/Cookie.php on line 94
[21-May-2013 21:53:51 Europe/Rome] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/iiunmprs/public_html/oc-content/plugins/promo_codes/index.php:603) in /home/iiunmprs/public_html/oc-content/plugins/paypalplus/index.php on line 278"

Please have you got any idea?. When I try to public a ads, the browser go to www.mysite.com/index.php and a blank page appears. Now I am sure the problem is the promotion code
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AGoGo on May 22, 2013, 08:16:14 pm
 Warning: current() expects parameter 1 to be array, null given in /home/agogo/public_html/escorts/oc-content/plugins/promo_codes/index.php on line 150
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: heman85 on May 27, 2013, 02:34:44 am
Hello People
This Plugin dont work on my site. Version 3.1.1
Installation OK
Create a code OK
When I try to use code for make premium any ads I use the code and press Redeem Now I see "Your balance is $2.00 GOOD but
When I press Make this Ads PRemium and select "Pay with my credit" bottom dont work.
On Admin area, try to configure the Promo Plugin and appear a blank page with a LONG URL Only way to fix this is just type the admin url and enter from the dashboard.
I think need to be tunning. Please let me know If some 1 fix those issues. Thanks
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: andy on May 28, 2013, 09:39:46 am
Is the Paypal Plus plugin the same as the "Payments" plugin?

Haven't installed it yet but I recall having problems with the Paypal plugin last year and there is no Paypal Plus plugin listed in the plugin marketplace.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: roman74 on May 28, 2013, 01:56:46 pm
http://forums.osclass.org/plugins/new-plugin-and-new-features-paypalplus!/
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: yooads on June 19, 2013, 01:37:00 am
hi. redeem button is not working for me. I use OC 3.1.2. Promo Codes Log is empty. I added the missing echo.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: TechGuy23 on June 19, 2013, 09:59:45 pm
not working for me the button is not doing anything

it applies it but it will not do the redirect to say you added it :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ANILE8 on June 25, 2013, 03:16:29 am
This Promo Code plugin V2.0 is now working properly with Osclass 3.1.2

All server permissions are set to 775
PayPal Plugin is installed and working.

Had to login with another email account to test it out successfully.






Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: zombie on June 25, 2013, 03:24:41 am
Does it work with 3.0.2? Last time i had a problem.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ANILE8 on June 25, 2013, 03:25:51 am
Don't know about 3.0.2 but it sure works with Osclass 3.1.2
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: yooads on June 25, 2013, 12:45:09 pm
It finaly works to me too. You must have isntalled "Paypal payment plugin" , not Payments plugin or others. Payments plugin is incomlete (missing wallet.php file).

By the way, how do I translate the plugin ?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ANILE8 on June 26, 2013, 11:38:45 pm
What payment system are you using?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on June 28, 2013, 01:38:40 am
I have upgraded to Osclass 3.1.2 and to the last version of Promo Code plugin.
Plugin doesn't working.
When i try to send code to an user i receive this error
Warning: current() expects parameter 1 to be array, null given in ..... /public_html/oc-content/plugins/promo_codes/index.php on line 150
Code cannot be redeemed.

paypal
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on June 30, 2013, 04:27:54 am
good evening

yes paypalplus 1.05
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on June 30, 2013, 09:11:21 am
Finaly solved!
First of all, I use Osclass 3.1.2 and Paypal Plus plugin.
I had two problems with Promotion Codes:
1. No flash message on redeem button click. Can create code and it is alocated to users.
2. No email sent to users and this error: Warning: current() expects parameter 1 to be array, null given in /public_html/oc-content/plugins/promo_codes/index.php on line 150.

For no flash message or so called by many people no working/no redeem I used this trick:

Fixed the message issue:

in the index.php file on line 221
change:
Code: [Select]
            "<?php osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
to
Code: [Select]
            "<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
(add "echo") :)

For the second problem you need to do more steps:
a. Check database table t_pages for signup_promo_codes and send_promo_codes entries. I had 2 for each of them, so u need to erase the duplicate. If you don't have such lines you need to create them.

b. Go to table t_pages_description and create a template for both, signup_promo_codes and send_promo_codes.
Warning!!! If you have many languages instaled you must create a pair template for each language.
In my case they had numbers 29 and 30. So keep in mind the numbers and languages. I created one template en_US and one ro_RO for signup_promo_codes with number 29. Then I created en_US and ro_RO for send_promo_codes with number 30. After you create them you can edit from Admin panel because is more easy.
Warning 29 and 30 were my pages id so you need to keep yours!

Here is en_US template for signup_promo_codes:

s_title: {WEB_TITLE} is sendind you a Signup Bonus!
s_text: <p>Hi {CONTACT_NAME}!</p><p></p><p>You received a signup bonus credit from {WEB_TITLE}</p><p> Log in to {WEB_URL} and go to \"Ads payment status\" menu in your dashboard!</p><p>You can use this bonus credit to buy Premium Ads!</p><p>This is an automatic email, if you already did that, please ignore this email.</p><p> </p><p>Thanks</p>


Here is en_US template for send_promo_codes:

s_title: {WEB_TITLE} is sendind you a Bonus Credit!
s_text: <p>Hi {CONTACT_NAME}!</p><p> </p><p>This is your code to get a free bonus credit of {AMOUNT} {CURRENCY}: </p><p> {PCODE} </p><p> Log in to {WEB_URL} and go to \"Enter Promotion Codes\" menu in your dashboard!</p><p>You can use this bonus credit to buy Premium Ads!</p><p>This is an automatic email, if you already did that, please ignore this email.</p><p> </p><p>Thanks</p>


DONE!
You can customise these templates what ever you want.
So Promotion Codes has 3 problems: a missing "echo", duplicate or missing entries in t_pages table and missing templates for signup and send codes in t_pages_description.
This is how i solved my problem  ;D
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ugogo.info on June 30, 2013, 03:36:53 pm
Wow EuroMonster!

I don't have two languages, and I haven't installed this yet because I am still reading and learning paypalplus and this plugin.  But I am impressed by how much work you put into your above article.

Thank you for doing so much effort.

Cheers
Caz
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on June 30, 2013, 04:15:37 pm
Wow EuroMonster!

I don't have two languages, and I haven't installed this yet because I am still reading and learning paypalplus and this plugin.  But I am impressed by how much work you put into your above article.

Thank you for doing so much effort.

Cheers
Caz

Thank you! I hope my work will help you make this plugin work. I'm sure the developer will fix all this in the next update  :) ;D
Cheers  ;D
Carl
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on July 01, 2013, 03:52:30 pm
hi

I'm etider the index file and I always error
/ oc-content/plugins/promo_codes/index.php on line 150

Code: [Select]
function promo_js(){
    echo "\n";
    ?><!-- promo_code js -->
    <script type="text/javascript">
    $(document).ready(function(){
    $("#promo-code-form").submit(function(){
        $.post(
            "<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
            $("#promo-code-form").serialize(),
            function(data){
                if (data.success){
                    $("span#promo-message").css({"color":"green"} );
                    $("span#promo-message").css({"font-size":"20px"} );
                }
                else{
                    $("span#promo-message").css({"color":"red"});
                    $("span#promo-message").css({"font-size":"20px"} );
                }
                $("span#promo-message").html(data.message);
            },
            "json"
        );
    });

});
    </script>
    <?php
    
}






thank you

Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on July 01, 2013, 10:41:21 pm
hi

I'm etider the index file and I always error
/ oc-content/plugins/promo_codes/index.php on line 150

Code: [Select]
function promo_js(){
    echo "\n";
    ?><!-- promo_code js -->
    <script type="text/javascript">
    $(document).ready(function(){
    $("#promo-code-form").submit(function(){
        $.post(
            "<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",
            $("#promo-code-form").serialize(),
            function(data){
                if (data.success){
                    $("span#promo-message").css({"color":"green"} );
                    $("span#promo-message").css({"font-size":"20px"} );
                }
                else{
                    $("span#promo-message").css({"color":"red"});
                    $("span#promo-message").css({"font-size":"20px"} );
                }
                $("span#promo-message").html(data.message);
            },
            "json"
        );
    });

});
    </script>
    <?php
    
}


thank you
Adding the "echo" you fix just the messages.
Error on line 150 is given by the missing email template.
Please do the following steps.
a. Check database table t_pages for signup_promo_codes and send_promo_codes entries.
b. Go to table t_pages_description and create a template for both, signup_promo_codes and send_promo_codes.

See my tutorial above.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on July 02, 2013, 09:51:21 pm
hi
sorry I had not seen your tutorial again thank you

Can you tell me why I install the plugin decale me all over main image

are there any adjustments to make as I install plugin

Promotion codes V 2.0 compatible with 3.1. +
Carousel for OSClass 2.0
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on July 02, 2013, 11:44:06 pm
hi
sorry I had not seen your tutorial again thank you

Can you tell me why I install the plugin decale me all over main image

are there any adjustments to make as I install plugin

Promotion codes V 2.0 compatible with 3.1. +
Carousel for OSClass 2.0

Hi,
As I know now Carousel is not working with OSclass 3.1.+
I unistalled Carousel also I deleted some entries of this plugin from t_preferences.
In your case maybe is something in main.php who did this. Try to relocate some additional codes inserted in main.php
Please let me know if my tutorial works for you in Promotion Codes v 2.0
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on July 03, 2013, 12:38:57 am
hi

small bug here I check Allow Bonus Expiration (If not checked Credit Will Be added on user's wallet) and Allow Signup Bonus Expiration (If not checked Credit Will Be added on user's wallet) and then as soon as I click update its back as before
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on July 03, 2013, 01:04:56 am
hi

small bug here I check Allow Bonus Expiration (If not checked Credit Will Be added on user's wallet) and Allow Signup Bonus Expiration (If not checked Credit Will Be added on user's wallet) and then as soon as I click update its back as before

It is a problem with accesing your database, script bug or hosting restriction, database bug. It happens also in Paypal plus with currency :)
So I sugest to acces your database, t_preferences table and manual modify some lines in plugin_promo section: allow_bonus_exp, allow_signup_exp with value 1 which means active. Other values must be according with your wish. See my attach
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: teseo on July 03, 2013, 02:45:09 am
First, thanks to Jay for the plugin and EuroMonster for his solution to this problem.  :) Later I have found another bug, at last the mail "This is your code to get a free bonus credit of..." was being sent and received, but no amount after that, only the currency.  ??? Excuse me if this issue has been yet taken care of in this long thread (I confess I didn't read it all), but just in case:

In send_email.php, line 45, this:

<input type="text" name="codeId" id="codeId" style="visibility:hidden" value="<? echo $codeId; ?>" />

ought to be:

<input type="text" name="codeId" id="codeId" style="visibility:hidden" value="<?php echo $codeId; ?>" />

I had read warnings about this shorcut before, now never ever forget them... :D It's been a while until I realized what was failing.  :o

Quote
; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On

Regards

Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: teseo on July 03, 2013, 04:20:54 pm
s_text: <p>Hi {CONTACT_NAME}!</p><p></p><p>You received a signup bonus credit from {WEB_TITLE}</p><p> Log in to {WEB_URL} and go to \"Ads payment status\" menu in your dashboard!</p><p>You can use this bonus credit to buy Premium Ads!</p><p>This is an automatic email, if you already did that, please ignore this email.</p><p> </p><p>Thanks</p>[/i]

Another issue (at least for me ??? ): that {WEB_URL} isn't giving the right link in the mails, I had to replace it with {WEB_LINK}

Regards
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: usclassifieds.org on July 04, 2013, 07:11:03 pm
promo codes is not working on my site anymore, i just noticed im not sure for how long this has been going on. Please check it out jay. Whenever you press "Redeem" nothing happens...................... :-\
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EuroMonster on July 04, 2013, 09:19:23 pm
promo codes is not working on my site anymore, i just noticed im not sure for how long this has been going on. Please check it out jay. Whenever you press "Redeem" nothing happens...................... :-\
Hi,
Please read my tutorial above :)
This plugin needs some fixies and you can find them here.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on July 07, 2013, 12:44:49 am
hi

I thank you research the French translation
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hostingames on July 09, 2013, 02:57:58 am
Good evening all I have done the translation plugin paypalplus promotional codes and plien else here is a more
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: yooads on July 15, 2013, 03:20:45 am
I enabled Enable Signup Bonus, the email is sent to user notifying that he recived a bonus, but no bonus is assigned in his account. What's wrong.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: wojeh on August 03, 2013, 05:23:24 pm
when i enabled permalink its not working when use get credit please advise how to fix
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: EasyPicks on August 05, 2013, 10:25:03 am
Hi,

After installing this plugin, users can no longer register or login for some reason. You type in your details and click login and the page just sits there or when you register you type in your details and again after clicking register, the page just sits there.

Not to sure what would have caused this.

Cheers,
EasyPicks
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on August 19, 2013, 11:10:01 pm
Hi Jay

You wrote
"Hi willywilliams80,
I will have to take a look at this plugin and check to see if it is compatible with 3.1 I think there are a few small changes i will need to make.
Jay"

Any update if this will and/or if it works with the Bender 3.2 theme?

Regards,
AVBestDeals
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: plesk on August 31, 2013, 03:46:03 am
hello to when the new compatible version 3.2.1
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: yupii1986 on September 03, 2013, 03:28:30 am
I have e problem with promo codes and paypal plus. I add my topic here: http://forums.osclass.org/plugins-20/paypal-plus-and-promo-code/
Please , someone can help me?

And :
"
Hello,
I have osclass last version, paypalplus_1.0.5 and promo codes, and spain theme.

I have probleme with my featured ads. I add free ads and i want to make featured. I used a code named free with 500 Euro amount. I write "free" and he tell me that my balance has 500 euro. This is ok, but the probleme is : if i want to make premium my ads, it show me the paypal button to pay 2 euro if i want to make it premium. If i go to my balance (i add a little code in my user dashboard to show my balance) it show me 0 Euro.   Promo code dont add money in my balance.

And anither probleme with promo codes. In my admin i add 5 times can used an code, but if i used one time, then he tell me: Error: Sorry you have already redeemed this code

Someone can help me please? I need urgently and i don't know what to do. I', from Romania."
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: yupii1986 on September 04, 2013, 12:59:15 pm
No one can help me?:(.. Please someone.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ugogo.info on September 21, 2013, 12:15:01 pm
I'm sorry, Yupii, I don't use this plugin.  Maybe someone else can help.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: aks on September 24, 2013, 01:26:06 pm
Hello There,

I have 3.0.2.. I installed promo code plugin... but when i try to click/reedem... in my account section.. clicking of button does nothing
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 01, 2013, 10:59:38 am
Hello There,

I have 3.0.2.. I installed promo code plugin... but when i try to click/reedem... in my account section.. clicking of button does nothing


I have the same problem. How can this be fixed? I just tried it, but I was too fast and sent a Promo code already out for registered users... :( Now I see that I can't redeem my own Promo code, because the button does nothing while clicking on it :(
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on October 01, 2013, 11:40:33 pm
Hi,

Yes I have the same thing, does nothing when clicked, plz help to get this great pluging fixed for 3.2 and other OSClass Versions...

Thanks in advance!

AVBestDeals


Hello There,

I have 3.0.2.. I installed promo code plugin... but when i try to click/reedem... in my account section.. clicking of button does nothing


I have the same problem. How can this be fixed? I just tried it, but I was too fast and sent a Promo code already out for registered users... :( Now I see that I can't redeem my own Promo code, because the button does nothing while clicking on it :(
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 02, 2013, 01:48:05 am
I fixed it, when you click on Redeem it seems nothing happens, but it's not true! It does in fact get credited, but the echo for the credit does not appear!


here is a post I found, that helped me in this matter:


Fixed the message issue: in the index.php file on line 221 change:
"<?php osc_ajax_plugin_url
("promo_codes/ajax-redeem.php"); ?>", to
"<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>", (add "echo")
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on October 02, 2013, 03:33:22 am
Hi

My code does have the echo as below
"<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>",

I do take a look into the DB table = [t_promo_code_redeemed] and it was empty, the code/credit was not added.

If anyone else has got this to work, please do reply so I can fix my promor code plugin...

Thanks!
AVBestDeals


I fixed it, when you click on Redeem it seems nothing happens, but it's not true! It does in fact get credited, but the echo for the credit does not appear!


here is a post I found, that helped me in this matter:


Fixed the message issue: in the index.php file on line 221 change:
"<?php osc_ajax_plugin_url
("promo_codes/ajax-redeem.php"); ?>", to
"<?php echo osc_ajax_plugin_url("promo_codes/ajax-redeem.php"); ?>", (add "echo")
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on October 02, 2013, 04:30:56 am
Update:

I notice that redeem page form is calling this form action in file user_promo_code.php & promo_code.php
<form id="promo-code-form" action="ajax_promo.php" method="POST" onsubmit="return false;">

I do not see a ajax_promo.php file in any of the promo code folders?
I do see a ajax-redeem.php file?, is this a coding error or is this code correct for the redeem promo code to work?

Thanks!
AVBestDeals
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi

has anyone found a fix for the user adding the promo code in the dashbaoard and clicking the redeem button and nothing happens?,

Has anyone code or added the missing wallet.php file?
Do we need to use the paypal plugin?,
Does it not work on 3.2 with the bender theme and the payment plugin?



Please advise?
AVBestDeals

It finaly works to me too. You must have isntalled "Paypal payment plugin" , not Payments plugin or others. Payments plugin is incomlete (missing wallet.php file).

By the way, how do I translate the plugin ?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 02, 2013, 06:22:00 am
I am using the newest version of OSclass 3.2 and the Minimalist Theme and it works now, since I changed these codes.
But I am not using the Payment plugin anymore. It was not really working anyway. Since I use the PayPal Plus Plugin it works!
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on October 02, 2013, 06:29:49 am
Hi Tanjeria

Thanks for the reply!
but i have seen here in the forum that the new one to use is the payment plugin,
I think the paypal plugin is going to be phased out!

If one of the admin or plugin publisher could reply to this to clear this issue it will great help the forum/osclass users!

Thanks all for your help & support...
AVBestDeals


I am using the newest version of OSclass 3.2 and the Minimalist Theme and it works now, since I changed these codes.
But I am not using the Payment plugin anymore. It was not really working anyway. Since I use the PayPal Plus Plugin it works!
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 02, 2013, 06:41:21 am
Hey AVBestDeals,


as long as I am informed, it is true for the normal PayPal Plugin [the one that you can download from within your Admin panel from OSclass], which does not work for the 3.2 version!
But in this forum you can find the PayPal Plus Plugin, which works really great and this one supports this Promo code!

Here: http://forums.osclass.org/plugins/new-plugin-and-new-features-paypalplus!/ (http://forums.osclass.org/plugins/new-plugin-and-new-features-paypalplus!/)
This is the plugin that I am using, without any problems.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 03, 2013, 04:16:11 am
oops. without any problems, was too early to say that -.- Just had a member telling me:


So I posted the video and everything but when I click on make premium 10 days and I click on pay with my credit, it says that the page couldn't be found How can I fix this error? When I credit myself and click on that button I see the same page. A non existent page. But the wallet.php is there???
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Tanjeria on October 03, 2013, 08:00:55 am
found out, that the plugin is working, when Permalink user friendly URL's are off...


What do I need to change in order to make it work with the user friendly URL's on?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 13, 2013, 01:06:35 am
now this plugin is working fine redeem button also working  but when user click on Pay with your credit then they get error page   like that http://www.domain.com/test/index.php?page=custom&file=paypalplus/wallet.php?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 21, 2013, 10:16:00 pm
i found a little bug when permalinks if off then promo code balce work with premium ads but when permalinks on then make a premiumads button not working
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 22, 2013, 11:16:22 am
Any one have working promo code plugin with payment gateway?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 25, 2013, 10:32:06 pm
Shits no help  :(
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on October 26, 2013, 04:24:00 am
Hi Hello,

Promo codes does not yet support the payments plugin. It should work with the paypal plugin. I am planning on doing an update to this plugin within the next month or so.

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: AVBestDeals on October 26, 2013, 04:57:27 am
Hi Jay

Thanks for the update,
I will be on the lookout for this updated plugin!

As you know that the payment plugin is the newer, and what most are and will be using going forward!


Thanks,
AVBestDeals
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 26, 2013, 11:41:03 am
Hi Hello,

Promo codes does not yet support the payments plugin. It should work with the paypal plugin. I am planning on doing an update to this plugin within the next month or so.

Jay

But now all are set but when i have some $ in account and going to geting permium ads then i got errro but this is working fine when permalinks is off thanks
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on October 27, 2013, 01:57:17 am
It may not be compatible with 3.2. I have not checked yet. The next version for sure will work. :)

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on October 29, 2013, 11:10:16 pm
pls update this plugin and add indian currency thanks
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: plesk on November 10, 2013, 12:40:31 am
hi


Please update this plugin and add currency euro and add another type 'Available for (Page Ads retailer purchase) and use by all groups or hoose User Groups
  thank you ;D
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: heidenmason on February 08, 2014, 03:41:06 am
has there been any more developments on this plugin?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: pixellegolas on March 26, 2014, 01:46:40 am
Loving the idea so I am necro-ing this :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: trains58554 on March 26, 2014, 06:40:11 am
@heidenmason,

Nope not currently but it is on my list of plugins to update.

Jay
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: pixellegolas on March 26, 2014, 09:53:57 am
So I might be stupid but how would I use bender theme now to promote free ads when they normally cost something? Do I have to manuallt set stuff to 0 under a period and then change to cost? Instead of using a coupon system? It should already be a system built in for this :)
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: wan de werde on April 14, 2014, 03:52:43 pm
Any update for this plugin? Its very helpfull to start new page.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: fre2mansur on April 18, 2014, 05:39:43 pm
Helo please Help

No credit is applied when a user redeems a promo
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: Hello on August 25, 2014, 11:55:47 pm
not wotking with 3.4.1
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: ferkiscan on March 15, 2015, 11:11:25 pm
 :-\ no update?
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: mahdiagho on April 28, 2015, 07:00:04 pm
no update any more?
this plugin needs the option to send email to administrator and user when a user use some codes.
this usefull when admin wants to share some promotion codes to Attract user to send premium ads.
and no need to send codes to user. because resellers share this codes to everyone that wants to add premium ads.
Title: Re: [Plugin] Promotion codes V 2.0 compatible with 3.1.+
Post by: zovi on January 09, 2018, 07:06:17 pm
Hello
Is there no updates yet?
I know it's an old post...but I still can't find another solution for "Promo Codes" (Coupon).
Or is there any...?

Thanks in advance