Affiliates Users addon question

Hi There,

This question is about “Affiliates Users”. I couldn’t see a separate forum for it so posting it here.
Feel free to move this topic around.

Now, we purchased this addon to convert current and future users to affiliate users. We have 12000+ registered users. (of course, not all are active).

But when we run “Tools >> Import Affiliate” php backend just time-out. We have dedicated server with 32GB RAM, 8-core CPU. PHP is already given 10-minute of timeout but looks like its not enough for 12000+ users.

Looks like this plugin is not designed for big userbase like this. Ideally, there should be ajax or some process which should convert like 50 user in one go and then proceed to next.

How to solve this? As we need to convert every user to affiliate account.

We were using some legacy in-house affiliate codes and all users were already given affiliate id which are equal to their username and userid.

For username purpose, we purchased “Affiliate Username” plugin as well.

Thanks.

8 Responses to Affiliates Users addon question

  1. Rahul November 1, 2013 at 2:42 pm #

    I am afraid that I won’t be able to give much time. We are in real hurry otherwise we would have coded these 2 modules rather than buying them.

    We just need 3 things:
    1. Painlessly import 12000+ users
    2. Support username in affiliate parameter
    3. WooCommerce Support

    If these cannot be solved today only, we need to look for alternatives.

    Can you confirm when this can be solved?

  2. Rahul October 31, 2013 at 1:05 pm #

    Any update?

    • kento October 31, 2013 at 3:36 pm #

      It’s queued for review and testing, we’ll post a follow-up here.

      • Rahul October 31, 2013 at 4:48 pm #

        Thanks for update.

        I saw codes and I think problem is looping through all users in one go.

        Better approach would be to have something like ajax-based long-running process.

        http://wordpress.org/plugins/regenerate-thumbnails/ is a good example. It has bulk regenerate thumbnail option which always works no matter how many posts are there or how low PHP timeout is.

        • kento November 1, 2013 at 11:34 am #

          Thanks Rahul, yes that would be one option, or to do it as a cron job.

          • Rahul November 1, 2013 at 11:54 am #

            Cron will take longer but as of now code doesn’t look rentrant. Any update when this will be fixed as a project is stuck here!

            • kento November 1, 2013 at 12:57 pm #

              It won’t take long, basically need to fit the modification in our schedule and test it. If you’re in a real hurry, another option is to just limit it to a number of users, say 1000, and let it run several times (if I remember well, it won’t duplicate the entries).

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share