Ads Manager 2 Lite by Siropu

Ads Manager 2 Lite by Siropu [Paid] 1.3.5

No permission to buy (€29.99)
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.
 
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.
Page criteria (Node) setting?
 
Since updating this plugin the other day my error log is now filled with these errors. Not sure what they mean.

Code:
[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) {
  }
}
 
Siropu updated Ads Manager 2 Lite by Siropu with a new update entry:

Improvements & Bug Fixes

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.

Read the rest of this update entry...
 
I have several sponsor logos displaying in a template in a centered div tag, all displaying inline next to each other, wrapping when necessary based on screen width, in the 'container_content_below' location. I want to create ads for each of them but I don't know how I would replicate the layout using Ads Lite. 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.
 
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.

Create a new "Position" then select that new custom "Position" when creating the add..

pos1.webp

Another way is "Page Criteria" and selecting one or multiple Templates.

pc1.webp

pc2.webp
 
Last edited:
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.
 
Back
Top Bottom