Ads Manager 2 Lite by Siropu

Ads Manager 2 Lite by Siropu [Paid] 1.2.13

No permission to buy (€29.99)
added this code

in page_container
Code:
<!-- Start of Stadeo Web Widget script -->
<script id="stadeo-widget" src="https://widget.stadeo.live/embed.js">

</script>
<!-- End of Stadeo Web Widget script -->

and this one in 'CODE' HTML
<script src="[URL]https://widget.stadeo.live/static/embed.js[/URL]"></script>

and set it would show only for moderators, but this settings does not work

Why?
 
They have a live demo on their site that you can look at, and a free (lite) version to try.

I have the paid version and love it. Does everything to manage my paid banners from collecting payment, randomizing them, letting the advertisers manage their own banners and see their stats, etc. Good stuff!
 
Siropu updated Ads Manager 2 Lite by Siropu with a new update entry:

Improvements & Bug Fixes

Added two new positions for Conversation list page:
  1. Above conversation list item x container
  2. Below conversation list item x container
Added two new Position criteria options or AMS:
  1. Article ID is
  2. Article ID is NOT
Added support for mp4 banner files.
Improved performance for Geo criteria where the visitor country code is stored in the user session.

Bugs FIxed
JS error due to AdBlock detection option "AdBlock notice display after".

Read the rest of this update entry...
 
Hi there,

The affiliate ads (replacing domain) dont work correctly.

When you open a page, it does not replace, and when you just reload the same page, it IS replaced.

Then you return and it again not replace.

This is a bug?
 
When you open a page, it does not replace, and when you just reload the same page, it IS replaced.
Cannot reproduce it. The code it is applied when the page loads so I don't see how it can work in one instance and not in another.
 
Hi, Just updated to 1.2.11 and got these errors:

screenshot-www.marineaquariumsa.com-2023.01.11-11_44_54.jpg

Forum is down, I had to disable the add-on to bring the forum back online.

An exception occurred: [ParseError] syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in src/addons/Siropu/AdsManagerLite/Vendor/MobileDetect/MobileDetect.php on line 249

  1. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
  2. Composer\Autoload\ClassLoader->loadClass()
  3. spl_autoload_call()
  4. class_exists() in src/addons/Siropu/AdsManagerLite/Listener.php at line 19
  5. Siropu\AdsManagerLite\Listener::Siropu\AdsManagerLite\{closure}() in src/XF/Container.php at line 31
  6. XF\Container->offsetGet() in src/addons/Siropu/AdsManagerLite/Entity/Package.php at line 164
  7. Siropu\AdsManagerLite\Entity\Package->isCarousel() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 549
  8. Siropu\AdsManagerLite\Template\Ad->prepareAdsForDisplay() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 379
  9. Siropu\AdsManagerLite\Template\Ad->setAds() in src/addons/Siropu/AdsManagerLite/Template/Ad.php at line 370
  10. Siropu\AdsManagerLite\Template\Ad->__construct() in src/addons/Siropu/AdsManagerLite/Listener.php at line 48
  11. Siropu\AdsManagerLite\Listener::templaterGlobalData() in src/XF/Extension.php at line 69
  12. XF\Extension->fire() in src/XF/App.php at line 2990
  13. XF\App->fire() in src/XF/App.php at line 2208
  14. XF\App->getGlobalTemplateData() in src/XF/App.php at line 2077
  15. XF\App->preRender() in src/XF/Pub/App.php at line 451
  16. XF\Pub\App->preRender() in src/XF/Mvc/Dispatcher.php at line 397
  17. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 60
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
  19. XF\App->run() in src/XF.php at line 524
  20. XF::runApp() in index.php at line 20
 
Last edited:
I have updated the mobile detect script to latest version and it requires at least 7.4. Should have mentioned that.
 
Hey @Siropu, love this addon. Just wondering if there's a way to make an ad sticky/floating?

I use this addon to create my own navigation buttons:

screenshot-4144.jpg


Is there a way to have those buttons float/stick just under the Xenforo navigation when a user scrolls down the page?

 
Hey @Siropu, love this addon. Just wondering if there's a way to make an ad sticky/floating?

I use this addon to create my own navigation buttons:

screenshot-4144.jpg


Is there a way to have those buttons float/stick just under the Xenforo navigation when a user scrolls down the page?


There is only for footer called "Footer fixed".

Does anyone know how I can move the "Footer Fixed" so it sits underneath the navigation bar at the top and stays there when a user scrolls down the page?

EDIT: Or make the Above Content position fixed?
 
Last edited:
Or make the Above Content position fixed?
Try this code:

JavaScript:
<xf:js>
$(function()
{
     var unit = $('div[data-position="container_content_above"]');
     var stickyPoint = 0;

     if (unit.length)
     {
          $(window).scroll(function()
          {
               var unitScrollOffset = unit.offset().top;
               var scrollTop = $(document).scrollTop();

               if (unitScrollOffset - scrollTop <= 0 && stickyPoint == 0)
               {
                    unit.css({position: 'fixed', top: $('.p-nav').height() + 10, width: 'auto', 'z-index': 99});
                stickyPoint = scrollTop;
               }
               else if (stickyPoint >= scrollTop)
               {
                    unit.css({position: '', top: '', width: ''});
                stickyPoint = 0;
               }
          });
     }

     $(window).resize(function()
     {
           unit.css({position: '', top: '', width: ''});
     });
});
</xf:js>

It is based on the sidebar fixed code here: https://xenforo.com/community/resources/ads-manager-2-by-siropu.6153/field?field=faq
 
Top Bottom