Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.4.19

No permission to buy (€49.99)
I have error, when i try to update

ParseError: syntax error, unexpected identifier "interval" src/addons/Siropu/AdsManager/Setup.php:61
Generiert von: admin10. Dezember 2021 um 15:16
#0 src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('sr...')
#1 src/XF/AddOn/AddOn.php(455): Composer\Autoload\ClassLoader->loadClass('Siropu\\AdsManag...')
#2 src/XF/Job/AddOnInstallBatch.php(236): XF\AddOn\AddOn->checkRequirements(Array, Array)
#3 src/XF/Job/AddOnInstallBatch.php(87): XF\Job\AddOnInstallBatch->stepPreAction(Object(XF\Timer))
#4 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#13 src/XF.php(517): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
Only errors when updating from 2.4.6 to 2.4.7:

ParseError: syntax error, unexpected 'interval' (T_STRING) in src/addons/Siropu/AdsManager/Setup.php at line 61
  1. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
  2. Composer\Autoload\ClassLoader->loadClass()
  3. spl_autoload_call() in src/XF/AddOn/AddOn.php at line 455
  4. XF\AddOn\AddOn->checkRequirements() in src/XF/Job/AddOnInstallBatch.php at line 236
  5. XF\Job\AddOnInstallBatch->stepPreAction() in src/XF/Job/AddOnInstallBatch.php at line 87
  6. XF\Job\AddOnInstallBatch->run() in src/XF/Job/Manager.php at line 260
  7. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  8. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
  9. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
  10. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
  15. XF\App->run() in src/XF.php at line 517
  16. XF::runApp() in admin.php at line 13
Somehow, some unwanted data (text) ended up in the setup file when I updated it. I have re-uploaded the file and should be ok now if you re-download it.
That's the admin option for banner images. I'm talking about the code ad setting when you create/edit a code ad. If you don't have it, you are using an older version.
So you mean for every ad position I should add the lazy loading feature?
Enable it for each ad. It looks like this:

View attachment 261770
I have enabled it now for all the ad position.
However banners after 1st post, second and third now are NOT showing anymore

I think I have just found out a bug!
Lazy loading if enable don't work for ad position in between posts
Last edited:
However banners after 1st post, second and third now are NOT showing anymore
The ad content is loaded into the page but you have a global JS script in the head of the page that executes before that. You can try loading both the script and the ad element in the same ad, using lazy loading.
Top Bottom