Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.4.22

No permission to buy (€49.99)
I just registered on your site to buy the AddOn and validated my XF license. My license is currently registered to the test domain per the XF admin's instructions. They said to change it to the production URL when we go live. Question for you is do I need to somehow update you when we go live and the registered URL changes in my XF customer console? We plan to keep the AddOn installed on the test site as well for future testing for upgrades/bugs/etc.
 
Siropu updated Ads Manager 2 by Siropu with a new update entry:

Improvements & Bug Fixes

Added option to append params if not found for affiliate link option "Replace parameters in affiliate URL".
Added Bank Transfer option to "Mark as paid" the invoice. This will send an alert notification to admin.
Fixed an issue in package list for advertisers where an incorrect variable name is causing an error.

NOTE: If you are already using XenForo 2.1, do not upgrade to this version. A new version will be released right after this one for XF 2.1.

Read the rest of this update entry...
 
I try to upgrade from 2.3.2 to 2.3.4 (XF2.1 final install) but I cannot disable the addon before upgrading.
Just keeps "loading" after clicking the settings button.

Clicking the upgrade button also doesn't work, just nothing happens. No server error logs too...
 
I had some errors, maybe can help you,

1. after updating, i could not delete my old bank transfer in "payment profiles" here is error i get

Code:
Server error log

    Error: Call to a member function buildLink() on null src/addons/Siropu/AdsManager/Purchasable/Advertising.php:163 

    Generated by: Admin Jan 31, 2019 at 12:27 PM 

Stack trace

#0 src/XF/Admin/Controller/PaymentProfile.php(151): Siropu\AdsManager\Purchasable\Advertising->getPurchasablesByProfileId(2)
#1 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\PaymentProfile->actionDelete(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:PaymentProfi...', 'Delete', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\PaymentProfile), NULL)
#3 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\PaymentProfile), NULL)
#4 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#6 src/XF.php(390): XF\App->run()
#7 admin.php(13): XF::runApp('XF\\Admin\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(180) "/admin.php?payment-profiles/test.2/delete&_xfRequestUri=%2Fadmin.php%3Fpayment-profiles%2F&_xfWithData=1&_xfToken=1548955663%2Cb36e8668bf7486e545ed6387dc3d6d3e&_xfResponseType=json"
  ["referrer"] => string(50) "https://mycoolforum123.com/admin.php?payment-profiles/"
  ["_GET"] => array(5) {
    ["payment-profiles/test_2/delete"] => string(0) ""
    ["_xfRequestUri"] => string(28) "/admin.php?payment-profiles/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1548955663,b36e8668bf7486e545ed6387dc3d6d3e"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}



Code:
Server error log

    ErrorException: [E_NOTICE] Undefined variable: router src/addons/Siropu/AdsManager/Purchasable/Advertising.php:163 

    Generated by: Admin Jan 31, 2019 at 12:27 PM 

Stack trace

#0 src/addons/Siropu/AdsManager/Purchasable/Advertising.php(163): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nginx/dom...', 163, Array)
#1 src/XF/Admin/Controller/PaymentProfile.php(151): Siropu\AdsManager\Purchasable\Advertising->getPurchasablesByProfileId(2)
#2 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\PaymentProfile->actionDelete(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:PaymentProfi...', 'Delete', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\PaymentProfile), NULL)
#4 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\PaymentProfile), NULL)
#5 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#7 src/XF.php(390): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(180) "/admin.php?payment-profiles/test.2/delete&_xfRequestUri=%2Fadmin.php%3Fpayment-profiles%2F&_xfWithData=1&_xfToken=1548955663%2Cb36e8668bf7486e545ed6387dc3d6d3e&_xfResponseType=json"
  ["referrer"] => string(50) "https://mycoolforum123.com/admin.php?payment-profiles/"
  ["_GET"] => array(5) {
    ["payment-profiles/test_2/delete"] => string(0) ""
    ["_xfRequestUri"] => string(28) "/admin.php?payment-profiles/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1548955663,b36e8668bf7486e545ed6387dc3d6d3e"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}





so i fix this problem, i exported my ads, then i uninstalled the add-on, and then i installed the add-on again,


now the problem is gone,





but i ran into a second problem


i tired importing my old packages, but i can't import my ads, i gives me errors



Code:
Server error log

    InvalidArgumentException: Attempted to convert string to JSON array [position] src/XF/Mvc/Entity/Entity.php:740 

    Generated by: Admin Jan 31, 2019 at 4:13 PM 

Stack trace

#0 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType('a:1:{i:0;s:16:"...', 'position', 65552, Array)
#1 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('position', 'a:1:{i:0;s:16:"...', Array)
#2 src/addons/Siropu/AdsManager/Service/Package/Import.php(43): XF\Mvc\Entity\Entity->bulkSet(Array)
#3 src/XF/ControllerPlugin/Xml.php(64): Siropu\AdsManager\Service\Package\Import->import(Object(SimpleXMLElement))
#4 src/addons/Siropu/AdsManager/Admin/Controller/Package.php(266): XF\ControllerPlugin\Xml->actionImport('ads-manager/pac...', 'ads_manager', 'Siropu\\AdsManag...')
#5 src/XF/Mvc/Dispatcher.php(321): Siropu\AdsManager\Admin\Controller\Package->actionImport(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('Siropu\\AdsManag...', 'Import', Object(XF\Mvc\RouteMatch), Object(Siropu\AdsManager\Admin\Controller\Package), NULL)
#7 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\AdsManager\Admin\Controller\Package), NULL)
#8 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#10 src/XF.php(390): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}

-------------

Previous InvalidArgumentException: Attempted to convert string to JSON array - src/XF/Mvc/Entity/ValueFormatter.php:157
#0 src/XF/Mvc/Entity/Entity.php(736): XF\Mvc\Entity\ValueFormatter->castValueToType('a:1:{i:0;s:16:"...', 65552, Array)
#1 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType('a:1:{i:0;s:16:"...', 'position', 65552, Array)
#2 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('position', 'a:1:{i:0;s:16:"...', Array)
#3 src/addons/Siropu/AdsManager/Service/Package/Import.php(43): XF\Mvc\Entity\Entity->bulkSet(Array)
#4 src/XF/ControllerPlugin/Xml.php(64): Siropu\AdsManager\Service\Package\Import->import(Object(SimpleXMLElement))
#5 src/addons/Siropu/AdsManager/Admin/Controller/Package.php(266): XF\ControllerPlugin\Xml->actionImport('ads-manager/pac...', 'ads_manager', 'Siropu\\AdsManag...')
#6 src/XF/Mvc/Dispatcher.php(321): Siropu\AdsManager\Admin\Controller\Package->actionImport(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('Siropu\\AdsManag...', 'Import', Object(XF\Mvc\RouteMatch), Object(Siropu\AdsManager\Admin\Controller\Package), NULL)
#8 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\AdsManager\Admin\Controller\Package), NULL)
#9 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#11 src/XF.php(390): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(38) "/admin.php?ads-manager/packages/import"
  ["referrer"] => string(54) "https://myforum123.com/admin.php?ads-manager/packages/"
  ["_GET"] => array(1) {
    ["ads-manager/packages/import"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["on_duplicate"] => string(6) "insert"
    ["_xfToken"] => string(8) "********"
  }
}








so i make my ads manually, and now everything is working fine,

i will continue testing





.



.
 
au lait is unwell and no longer selling his add-ons. We are using his Keyword Management add-on to replace text in posts with links to merchants, and now need a suitable replacement in order to upgrade to XF2.1.

I noticed an option for keyword ads in Ads Manager 2 but the screenshot only shows the first tab/page of settings. Would someone be kind enough to screenshot the other tabs so I can see what the additional options are please?

194251

Thanks.
 
I cannot disable the addon before upgrading.
I'm new to XF. What is the process to upgrade an AddOn? I was under the impression that you just uploaded the new files, overwriting the old ones. Then go to AddOns CP and an upgrade link will appear.
 
Top Bottom