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

Gift Upgrades [Paid] 1.4.4a

No permission to buy ($20.00)
Allow users to gift user upgrades to each other.

NixFifty

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

Gift Upgrades - Allow users to gift user upgrades to each other.

Gift Upgrades allows your members to easily and quickly purchase upgrades for other members.

Features:
  • Integrates in to the default XenForo User Upgrade system allowing upgrades and downgrades to be handled by XF itself.
  • Integrates with XenForo's statistics system giving you a daily, weekly and monthly breakdown of gifts purchased.
  • Alert users when they receive a gift.
  • These alerts can indicate who sent the gift or optionally, the gifter can choose to remain...
Read more about this resource...
 

AzzidReign

Well-known member
#2
This is a must have for anyone with paid subscription memberships. People love to help other people and what better way to allow them to gift a subscription to a friend or fellow member who helped them out with something? Our users absolutely love it and this can pay for itself within the first month.
 

Mike Edge

Formerly Da Bookie Mon
#7
Just tested it. Needed one fix but other than that you can gift as normal with that add-on installed, but only with default PayPal. I will, however, look at integrating other payment processors installed with the Paygates since it seems like a pretty good idea.
Will be purchasing as soon as you do! Stripe is a must.
 

Anthony Parsons

Well-known member
#10
I'm getting an error with your 1.1.0 version. Seems like a clash between your add-on and XF's daily stats counter.

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'time' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 11:30 AM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT?????...')
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT?????...')
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT?????...')
#3 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(808): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)
#4 /home/ptsdforu/public_html/c/library/NixFifty/GiftUpgrades/StatsHandler/GiftUpgrade.php(17): Zend_Db_Adapter_Abstract->fetchPairs('????SELECT?????...', Array)
#5 /home/ptsdforu/public_html/c/library/XenForo/Model/Stats.php(335): NixFifty_GiftUpgrades_StatsHandler_GiftUpgrade->getData(1414281600, 1414368000)
#6 /home/ptsdforu/public_html/c/library/XenForo/CronEntry/Counters.php(26): XenForo_Model_Stats->buildStatsData(1414281600, 1414368000)
#7 [internal function]: XenForo_CronEntry_Counters::recordDailyStats(Array)
#8 /home/ptsdforu/public_html/c/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#9 /home/ptsdforu/public_html/c/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#10 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.99999785423, '')
#11 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#12 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#13 /home/ptsdforu/public_html/c/deferred.php(23): XenForo_Model_Deferred->run(false)
#14 {main}
Request State
array(3) {
  ["url"] => string(37) "https://www.myptsd.com/c/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/c/forums/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

kontrabass

Well-known member
#11
I'm getting an error with your 1.1.0 version. Seems like a clash between your add-on and XF's daily stats counter.

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'time' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 11:30 AM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT?????...')
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT?????...')
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT?????...')
#3 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(808): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)
#4 /home/ptsdforu/public_html/c/library/NixFifty/GiftUpgrades/StatsHandler/GiftUpgrade.php(17): Zend_Db_Adapter_Abstract->fetchPairs('????SELECT?????...', Array)
#5 /home/ptsdforu/public_html/c/library/XenForo/Model/Stats.php(335): NixFifty_GiftUpgrades_StatsHandler_GiftUpgrade->getData(1414281600, 1414368000)
#6 /home/ptsdforu/public_html/c/library/XenForo/CronEntry/Counters.php(26): XenForo_Model_Stats->buildStatsData(1414281600, 1414368000)
#7 [internal function]: XenForo_CronEntry_Counters::recordDailyStats(Array)
#8 /home/ptsdforu/public_html/c/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#9 /home/ptsdforu/public_html/c/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#10 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.99999785423, '')
#11 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#12 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#13 /home/ptsdforu/public_html/c/deferred.php(23): XenForo_Model_Deferred->run(false)
#14 {main}
Request State
array(3) {
  ["url"] => string(37) "https://www.myptsd.com/c/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/c/forums/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
I'm getting the exact same error, FYI.
 

NixFifty

Well-known member
#12
I'm getting an error with your 1.1.0 version. Seems like a clash between your add-on and XF's daily stats counter.

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'time' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 11:30 AM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT?????...')
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT?????...')
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT?????...')
#3 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(808): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)
#4 /home/ptsdforu/public_html/c/library/NixFifty/GiftUpgrades/StatsHandler/GiftUpgrade.php(17): Zend_Db_Adapter_Abstract->fetchPairs('????SELECT?????...', Array)
#5 /home/ptsdforu/public_html/c/library/XenForo/Model/Stats.php(335): NixFifty_GiftUpgrades_StatsHandler_GiftUpgrade->getData(1414281600, 1414368000)
#6 /home/ptsdforu/public_html/c/library/XenForo/CronEntry/Counters.php(26): XenForo_Model_Stats->buildStatsData(1414281600, 1414368000)
#7 [internal function]: XenForo_CronEntry_Counters::recordDailyStats(Array)
#8 /home/ptsdforu/public_html/c/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#9 /home/ptsdforu/public_html/c/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#10 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.99999785423, '')
#11 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#12 /home/ptsdforu/public_html/c/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#13 /home/ptsdforu/public_html/c/deferred.php(23): XenForo_Model_Deferred->run(false)
#14 {main}
Request State
array(3) {
  ["url"] => string(37) "https://www.myptsd.com/c/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/c/forums/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
I'm getting the exact same error, FYI.
Thanks. I've fixed it. I updated the field name of the stats table and must've missed to change it in one area, which causes that. I'll push the fix to you guys shortly.