Loading

Author Topic: [New Plugin] Promotion codes  (Read 4100 times)

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [New Plugin] Promotion codes
« Reply #90 on: January 25, 2012, 06:24:36 pm »
Hi oneway,

I updated the zip in the first post.

Jay

oneway

  • Newbie
  • *
  • Posts: 3
Re: [New Plugin] Promotion codes
« Reply #91 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......

« Last Edit: January 26, 2012, 02:08:54 am by oneway »

maicoboston

  • Newbie
  • *
  • Posts: 5
Re: [New Plugin] Promotion codes
« Reply #92 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.

smartsiam

  • Newbie
  • *
  • Posts: 9
Re: [New Plugin] Promotion codes
« Reply #93 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.
  • Advanced Ad Management
  • Bread crumbs    
  • Google Maps    
  • IP Blocker    
  • More edit    
  • Terms and Conditions
  • Paypal payment
  • Promo Codes
  • Real state attributes
  • Social bookmarks

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...

« Last Edit: March 02, 2012, 11:23:05 am by smartsiam »

Cris

  • Jr. Member
  • **
  • Posts: 77
Re: [New Plugin] Promotion codes
« Reply #94 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)

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [New Plugin] Promotion codes
« Reply #95 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

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [New Plugin] Promotion codes
« Reply #96 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

Cris

  • Jr. Member
  • **
  • Posts: 77
Re: [New Plugin] Promotion codes
« Reply #97 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       


dtcllc

  • Newbie
  • *
  • Posts: 8
Re: [New Plugin] Promotion codes
« Reply #98 on: May 02, 2012, 02:50:14 am »
Where is the plug in for coupons?

dtcllc

  • Newbie
  • *
  • Posts: 8
Re: [New Plugin] Promotion codes
« Reply #99 on: May 02, 2012, 04:33:29 am »
where is the plugin?

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [New Plugin] Promotion codes
« Reply #100 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