Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.5.8

No permission to buy (€49.99)
I've had adsense on my site for 10+ years.

But something is wrong and I don't know if its a setting or an issue with the software. My other adsense ad is working fine, but that is not using package manager. So, I figure the issue must lay there somewhere.
 
I think I have an idea! Maybe I have my ad set so that I see it as an administrator, but nobody else. It must be something like that. Then I think the ads are displaying, but only for me!

Edit: The settings were different for each ad. I get a bit confused on the User criteria page. It says Piviledges and status, but it is unclear what gets shown if you put a tick in the box, for say "User is a guest." Does that mean the guest doesn't get the ad shown because they have that priviledge? Or the opposite?

Same for the User groups. If you put a tick in teh box for say Administrator, does that mean the ads will display or won't? It is not clear on that page. It would be helpful to have a ? with a popup explaining it.
 
Last edited:
Or the opposite?
The opposite. It will only show for guests.

Same for the User groups. If you put a tick in teh box for say Administrator, does that mean the ads will display or won't?
For user groups there are two options: "User is a member of any of the selected user groups" which means that only the users in the selected user groups will see the ads. And "User is NOT a member of any of the selected user groups" which means that only the users that are not in the selected user groups will see the ads.

It is not clear on that page. It would be helpful to have a ? with a popup explaining it.
User criteria is part of the XF's Notice system, is not a built in Ads Manager feature. Some options like "User is a guest and accepted cookies" are added by the add-on.

Btw, criteria is optional.
 
I'm getting some error logs in my Xenforo control panel. Any ideas on the cause?

1580486360195.png

1580486451998.png

Code:
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1213, '40001')
#1 src/XF/Db/Mysqli/Statement.php(78): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1213, '40001')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/addons/SV/UserActivity/Repository/UserActivity.php(286): XF\Db\AbstractAdapter->query('-- XFDB=noForce...', Array)
#4 src/addons/SV/UserActivity/Repository/UserActivity.php(370): SV\UserActivity\Repository\UserActivity->_updateSessionActivityFallback(Array, 1580484360)
#5 src/addons/SV/UserActivity/Repository/UserActivity.php(764): SV\UserActivity\Repository\UserActivity->updateSessionActivity(Array)
#6 src/addons/SV/UserActivity/XF/Repository/SessionActivity.php(33): SV\UserActivity\Repository\UserActivity->flushTrackViewerUsageBuffer('54.39.177.48', '', Object(Siropu\AdsManager\XF\Entity\User))
#7 src/XF/Pub/Controller/AbstractController.php(82): SV\UserActivity\XF\Repository\SessionActivity->updateSessionActivity(0, '54.39.177.48', 'XF\\Pub\\Controll...', 'Index', Array, 'valid', '')
#8 src/XF/Pub/Controller/AbstractController.php(41): XF\Pub\Controller\AbstractController->updateSessionActivity('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#9 src/addons/SV/UserActivity/UserCountActivityInjector.php(19): XF\Pub\Controller\AbstractController->postDispatchType('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Controller.php(284): SV\UserActivity\XF\Pub\Controller\Thread->postDispatchType('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#11 src/addons/SV/UserActivity/UserActivityInjector.php(69): XF\Mvc\Controller->postDispatch('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(383): SV\UserActivity\XF\Pub\Controller\Thread->postDispatch('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(262): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'index', Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL)
#14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL)
#15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#17 src/XF.php(391): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}
 
Code:
#6 src/addons/SV/UserActivity/XF/Repository/SessionActivity.php(33): SV\UserActivity\Repository\UserActivity->flushTrackViewerUsageBuffer('54.39.177.48', '', Object(Siropu\AdsManager\XF\Entity\User))

I will contact them. I forgot I had a plugin called UserActivity. I just noticed AdsManager mentioned.
 
Quick question: if I set up no user criteria at all, does this mean the ads will show to everybody or nobody?
 
It will show to everybody. Criteria is optional. If you have user groups that you want to exclude globally, set the user group permission "View ads" instead.
 
Within the options there is the option to replace an ad with a backup should adblocking be detected.

I have set the html code for the image I want to use which is within our website in the advert 'Backup Ad:' field, and set the option to replace with a backup ad but it does not display when using Chrome Adblock Plus

I can see the image within the source code of the page but the browser isn't rendering it.

Any suggestions?

The option 'Display a dismissable notice' works though

1580650195528.webp
 
I can see the image within the source code of the page but the browser isn't rendering it.

Your backup image is still being recognized as an ad. This is likely the result of the name of the backup image or the coding it is contained within. You can try changing the image name to something different, especially if you have "ad" in it. Other than that there isn't much you can do.
 
Hi Siropu, Ive reverted back to our previous setting.
I'm out at the moment but will add it back when I return and post the relevant source code here
 
You don't have to post anything here. I want to take a look at it myself, live, so I can see where the issue is.
 
I think the issue is this part of the code: <div style="height:95px">...</div>
Do not wrap the ad code with that div and see how that works.
 
Back
Top Bottom