Page criteria (Node) setting?Hi, I wish to insert individual banner into nodes which have been monitised as sponsor/ad spaces. How is this done? I already have the sponsors logos and banners just need to put it into their space.
Looks like controller name has been changed. Will be fixed in the next release.seems this Search result doesn't work.
Where exactly?I wish to insert individual banner into nodes which have been monitised as sponsor/ad spaces. How is this done?
ETA for the Next Release @Siropu ?Looks like controller name has been changed. Will be fixed in the next release.
Where exactly?
Added support for Mobile Detect 4.x for PHP 8.x
Fixed an issue with adblock detection.
Fixed an issue with Position criteria > Search results not working due to controller name change.
[LIST]
[*]ArgumentCountError: Too few arguments to function Detection\MobileDetect::match(), 1 passed in /home/satelliteguys/public_html/xen/src/addons/Siropu/AdsManagerLite/Criteria/Device.php on line 353 and exactly 2 expected
[*]src/addons/Siropu/AdsManagerLite/Vendor/MobileDetect/mobiledetect/mobiledetectlib/src/MobileDetect.php:1569
[*]Generated by: Unknown account
[*]Mar 13, 2025 at 9:01 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/Siropu/AdsManagerLite/Criteria/Device.php(353): Detection\MobileDetect->match('IOS|iPhone|iPad...')
#1 src/addons/Siropu/AdsManagerLite/Criteria/Device.php(131): Siropu\AdsManagerLite\Criteria\Device->matchOS()
#2 src/XF/Criteria/AbstractCriteria.php(67): Siropu\AdsManagerLite\Criteria\Device->_matchIos(Array, Object(SV\ElasticSearchEssentials\XF\Entity\User))
#3 src/addons/Siropu/AdsManagerLite/Entity/Ad.php(322): XF\Criteria\AbstractCriteria->isMatched(Object(SV\ElasticSearchEssentials\XF\Entity\User))
#4 src/addons/Siropu/AdsManagerLite/Template/Ad.php(528): Siropu\AdsManagerLite\Entity\Ad->matchesDeviceCriteria()
#5 [internal function]: Siropu\AdsManagerLite\Template\Ad->Siropu\AdsManagerLite\Template\{closure}(Object(Siropu\AdsManagerLite\Entity\Ad))
#6 src/XF/Mvc/Entity/AbstractCollection.php(248): array_filter(Array, Object(Closure))
#7 src/addons/Siropu/AdsManagerLite/Template/Ad.php(523): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure))
#8 src/addons/Siropu/AdsManagerLite/Template/Ad.php(399): Siropu\AdsManagerLite\Template\Ad->prepareAdsForDisplay()
#9 src/addons/Siropu/AdsManagerLite/Template/Ad.php(390): Siropu\AdsManagerLite\Template\Ad->setAds()
#10 src/addons/Siropu/AdsManagerLite/Listener.php(71): Siropu\AdsManagerLite\Template\Ad->__construct(Object(XF\Pub\App), Object(XF\Mvc\Reply\Redirect))
#11 src/XF/Extension.php(86): Siropu\AdsManagerLite\Listener::templaterGlobalData(Object(XF\Pub\App), Array, Object(XF\Mvc\Reply\Redirect))
#12 src/XF/App.php(3368): XF\Extension->fire('templater_globa...', Array, NULL)
#13 src/XF/App.php(2500): XF\App->fire('templater_globa...', Array)
#14 src/XF/App.php(2359): XF\App->getGlobalTemplateData(Object(XF\Mvc\Reply\Redirect))
#15 src/XF/Pub/App.php(505): XF\App->preRender(Object(XF\Mvc\Reply\Redirect), 'html')
#16 src/XF/Mvc/Dispatcher.php(407): XF\Pub\App->preRender(Object(XF\Mvc\Reply\Redirect), 'html')
#17 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Redirect), 'html')
#18 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#19 src/XF.php(806): XF\App->run()
#20 index.php(23): XF::runApp('XF\\Pub\\App')
#21 {main}
[HEADING=2]Request state[/HEADING]
array(4) {
["url"] => string(54) "/xen/threads/song-name-game-part-3.243341/post-4850492"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Looks good. No more errors. Thanks!Just downloaded it again and applied it. I will let you know. Thanks.
Added new page criteria option "User is browsing with the following style variation".
Added webm video support for banner ads.
Added affiliate disclosure notice for users for keyword and affiliate link ads. You can set a global message in the admin options and enable this individually in the ad settings.
ACP error log for mobile detect when no http user agent is provided.
Keyword and affiliate link ads not working in resource threads.
Min 7.4Does it work with PHP Version 7.3.12-1?
You need to use a package with inline display mode.If I put them in that same location, they are displayed with line breaks, which doesn't work with the layout.
Another question - is there a way to create an ad and not choose a position for it, and then embed it manually somewhere, like in a template or widget? When I try to create one and not choose a position, it tells me it's required.
This is not a dumb question... There are many options for this addon and it can be simple or complex.Thanks, and sorry for the dumb questions. I haven't used a lot of the capabilities of this add-on, but plan to moving forward. I keep trying to search before I ask, but it's not easy with common terms.
We use essential cookies to make this site work, and optional cookies to enhance your experience.