Ad option "Exclude from package empty slot count" has been added as a separate checkbox row to be able to use it without having to inherit package settings. Both options will now be hidden when no package is selected.
Editing/deleting a package from ad list, will now redirect back to the ad list instead of the package list.
Bugs Fixed
Cron job query error with null values.
Using affiliate link option "Hide affiliate URL" includes link parameters.
ErrorException: [E_NOTICE] Trying to get property 'purchase' of non-object src/addons/Siropu/AdsManager/Entity/Ad.php:870
Generated by: Pete Thomas Nov 10, 2018 at 7:14 PM
Stack trace
#0 src/addons/Siropu/AdsManager/Entity/Ad.php(870): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 870, Array)
#1 src/addons/Siropu/AdsManager/Entity/Ad.php(915): Siropu\AdsManager\Entity\Ad->getCost()
#2 src/addons/Siropu/AdsManager/Pub/Controller/Ad.php(605): Siropu\AdsManager\Entity\Ad->isFree()
#3 src/XF/Mvc/FormAction.php(136): Siropu\AdsManager\Pub\Controller\Ad->Siropu\AdsManager\Pub\Controller\{closure}(Object(XF\Mvc\FormAction))
#4 src/addons/Siropu/AdsManager/Pub/Controller/Ad.php(101): XF\Mvc\FormAction->run()
#5 src/XF/Mvc/Dispatcher.php(249): Siropu\AdsManager\Pub\Controller\Ad->actionSave(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('Siropu\\AdsManag...', 'Save', 'json', Object(XF\Mvc\ParameterBag), 'siropuAdsManage...', Object(Siropu\AdsManager\Pub\Controller\Ad), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#9 src/XF.php(329): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(23) "/ads-manager/ads/0/save"
["referrer"] => string(58) "https://cafesaxophone.com/ads-manager/packages/2/create-ad"
["_GET"] => array(0) {
}
["_POST"] => array(17) {
["name"] => string(5) "perte"
["banner_url"] => array(2) {
[0] => string(64) "https://cafesaxophone.com/data/siropu/am/user/15b11217bd01c4.jpg"
[1] => string(0) ""
}
["content_2"] => string(0) ""
["target_url"] => string(30) "https://tamingthesaxophone.com"
["discount"] => string(0) ""
["purchase"] => string(3) "100"
["promo_code"] => string(7) "TIBALDI"
["alert_notification"] => string(1) "1"
["email_notification"] => string(1) "1"
["notes"] => string(0) ""
["package_id"] => string(1) "2"
["terms_agreement"] => string(1) "1"
["_xfToken"] => string(8) "********"
["save"] => string(9) "undefined"
["_xfRequestUri"] => string(33) "/ads-manager/packages/2/create-ad"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
I've sent you a PM.OK, I have had to stop the advertising as it is charging the wrong amount to advertisers.
What are you trying to do?I can't seem to get this working. I entered "amazon.com" but none of the links appear to have the parameter I specified.
What are you trying to do?
Indeed, that's the problem.In other words, 80% has been taken off total, instead of 30% off total and then a further 50% off after the 30%.
Are you using the correct option "Append parameter to affiliate website"?What am I doing wrong?
Indeed, that's the problem.
Indeed, that's the problem.
Are you using the correct option "Append parameter to affiliate website"?
We use essential cookies to make this site work, and optional cookies to enhance your experience.