Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dandylee

    (@dandylee)

    Maybe for more of a breakdown, I’ll give a better example.

    Firstly, I am building this lottery system for a non-profit organization as a way for them to get donations towards a new venture they are working on. They will use the lottery system as an incentive for people’s donations through this system by choosing monthly winners with x payout amount.

    I have two products

    Monthly Lottery

    1. There is a cap of 3300 tickets that can be sold monthly.
    2. This product is set up perfectly with the cap.

    Annual Lottery

    1. There is a cap of 40000 tickets that can be sold annually, this needs to take count of monthly tickets sold as this cap is for any/all tickets sold for the year.
    2. I am not sure if there is a way to develop that the annual bulk purchase of this product can update the monthly tickets sold in the other product so that the cap doesn’t go over?
    • This reply was modified 1 year, 8 months ago by dandylee.

    Do you mean for older submissions? Are new submissions still showing the garbled numbers?

    Unfortunately I don’t see a way to fix older submissions – but the above has the links working for new submissions for me.

    Hopefully they update soon so it’ll be sorted.

    If you haven’t already seen it, there’s a fix to this in a thread started by: Crescendo
    Subject: Uploaded files trough CF7 not working anymore in ACF7DB

    Edit the file in the below location:
    /wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php

    Add the below to Line 132:
    if (gettype($v) == ‘array’) {$v = reset($v);}

    So lines Lines 131, 132 and 133 should be:
    //Get file name
    if (gettype($v) == ‘array’) { $v = reset($v); }
    $file_name = basename($v);

    If you haven’t already seen it, there’s a fix to this in a thread started by: Crescendo
    Subject: Uploaded files trough CF7 not working anymore in ACF7DB

    Edit the file in the below location:
    /wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php

    Add the below to Line 132:
    if (gettype($v) == ‘array’) {$v = reset($v);}

    So lines Lines 131, 132 and 133 should be:
    //Get file name
    if (gettype($v) == ‘array’) { $v = reset($v); }
    $file_name = basename($v);

    If you haven’t already seen it, there’s a fix to this in a thread started by: Crescendo
    Subject: Uploaded files trough CF7 not working anymore in ACF7DB

    Edit the file in the below location:
    /wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php

    Add the below to Line 132:
    if (gettype($v) == ‘array’) {$v = reset($v);}

    So lines Lines 131, 132 and 133 should be:
    //Get file name
    if (gettype($v) == ‘array’) { $v = reset($v); }
    $file_name = basename($v);

    Thank you guys for this. Worked 100%

Viewing 6 replies - 1 through 6 (of 6 total)