Not Feasible Premium Time Limit

Basti

Administrator
Staff member
There is nothing like that included, but as some workaround you could open premium_form.html
At the top you see a bunch of javascript code.
within there find
Code:
    if (d_qty_03 > 0 && total_w.value >= d_qty_03)
      {
        discount_line = d_v_03;
      }
On a new line below add
Code:
    if (total_w.value > 10)
      {
        alert ('Too many weeks!!!');
        ok_calc = false;
      }
This should ( untested ) alter "Too many weeks" if the number of weeks if 11 or bigger and form not beeing submitted
 

Mark

Administrator
Staff member
marking this "non feasible" as it wont be added to the core.

Eventually, with a new premium payment system admins will have more control, but for now the need to restrict how much premium time a user can purchase will not be implemented.
 
Top