• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

User Upgrades by Waindigo [Deleted]

Jon W

Well-known member
#1
Waindigo submitted a new resource:

More Advanced Upgrades by Waindigo (version 1.0.0) - Adds an option to add an initial fee or free trial period to any user upgrade.

Description:

This add-on adds an option to add an initial fee or free trial period to any user upgrade.

This add-on also works in conjunction with the Advanced User Upgrades add-on, but does not require you to have this add-on installed.

Installation:
  • Upload contents of upload folder to root directory, overwriting any existing files.
  • Install...
Read more about this resource...
 

Jon W

Well-known member
#2
#3
We are having an issue where we are being required to enter a dollar amount for the trial. We would like the trial to be free and at the end of the time the user just gets charged the annual upgrade. Is there something I am missing?
Form that I submit:
1.PNG
Error:
2.PNG

Any help would be greatly appreciated.
 

Jon W

Well-known member
#5
Waindigo updated User Upgrades by Waindigo with a new update entry:

Version 1.2.0 released

New features:
  • Allow for certain upgrades to be purchased more than once.
  • Add an agreement/terms to be agreed to before purchasing an upgrade.
  • Add an alternative page to redirect to once an upgrade has been successfully purchased.
  • Use a different PayPal account for different upgrades.
  • Support for XenForo 1.2.
Installing this add-on will uninstall the More Advanced User Upgrades by Waindigo and...
Read the rest of this update entry...
 

Jon W

Well-known member
#6
We are having an issue where we are being required to enter a dollar amount for the trial. We would like the trial to be free and at the end of the time the user just gets charged the annual upgrade. Is there something I am missing?
Form that I submit:
View attachment 40608
Error:
View attachment 40609

Any help would be greatly appreciated.
The javascript file in version 1.1.0 was in the wrong folder, which may have been causing you a problem. This should now work in the latest update.
 

Jon W

Well-known member
#10
I got this error when I tried to add an agreement.

View attachment 49967
In library/Waindigo/UserUpgrades/Extend/XenForo/ControllerAdmin/UserUpgrade.php, move the closing brace on line 135 above line 134.

In other words, replace:
PHP:
            }
            unset($input['length_amount_trial'], $input['length_unit_trial']);
        }
with:
PHP:
            }
        }
        unset($input['length_amount_trial'], $input['length_unit_trial']);
 
#11
In library/Waindigo/UserUpgrades/Extend/XenForo/ControllerAdmin/UserUpgrade.php, move the closing brace on line 135 above line 134.

In other words, replace:
PHP:
            }
            unset($input['length_amount_trial'], $input['length_unit_trial']);
        }
with:
PHP:
            }
        }
        unset($input['length_amount_trial'], $input['length_unit_trial']);
Thanks! (y)