That is promising, but what about the display? Is there a setting I'm missing to display them normally? 10 banners selected,,,
View attachment 348845
/* Ads Manager - Advertisers responsive mosaic */
.samBannerUnit[data-position="advertisers"] {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
align-items: flex-start !important;
align-content: flex-start !important;
gap: 20px !important;
}
/* Each advertisement takes only the space it needs */
.samBannerUnit[data-position="advertisers"] > .samItem {
display: flex !important;
flex: 0 0 auto !important;
width: auto !important;
max-width: 100% !important;
height: auto !important;
justify-content: center !important;
margin: 0 !important;
}
/* Preserve original image proportions */
.samBannerUnit[data-position="advertisers"] .samItem img {
display: block !important;
width: auto !important;
max-width: 100% !important;
height: auto !important;
margin: 0 auto !important;
}
/* Prevent overflow on smaller screens */
@media (max-width: 650px) {
.samBannerUnit[data-position="advertisers"] {
flex-direction: column !important;
align-items: center !important;
}
.samBannerUnit[data-position="advertisers"] > .samItem {
width: 100% !important;
}
}
Yes, that makes sense, each time a page opens, ALL the banners on it register as viewed. So is this borderline messing up the stats?I would hope they are counted as it is technically a page with their advertisement. However I would mention, "Your ad is also displayed here" in the package.
It wasa bit confusing because I found that the ads are not inheriting the package settings re: alignemnt and size so have tried both auto and dimensions (1000 x 150). But I found with only one ad active it was centered, bit with two or more tin the carousel they show to the right. As it is now on my site.What happens if you do not set a custom size?
It wasa bit confusing because I found that the ads are not inheriting the package settings re: alignemnt and size so have tried both auto and dimensions (1000 x 150). But I found with only one ad active it was ceneterd, bit with two or more tin the carousel they show to the right.




No. Just two ads rotating but aligned right instead of centered. As soon as I disable all but 1 it is centeredIs this the kind of situation you encountered?

That is with the site logo on the left and space to the right of it. The Left setting should bring it to the right of the logo but it is right aligned, all the way over.Bug: Banner, Header position
Unit alignment: Left
(Left does not work, it stays on the right.)
I don't think these are fixed yet.Bug:
Text Ad with Unit Content. The unit content (text) is appearing to the right of the description in a new column, not under it, unless I choose Flexbox, then it is under the description.
Sorted now. Previous;y while trying to fix it I had put aNo. Just two ads rotating but aligned right instead of centered. As soon as I disable all but 1 it is centered
margin:auto; in the CSS. Once I took that out again it was fine.Oops! We ran into some problems.
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'cost_featured' in 'field list' in src/XF/Db/AbstractStatement.php at line 225
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 323
XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1583
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1306
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 72
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 190
XF\Mvc\FormAction->run() in src/addons/Siropu/AdsManager/Admin/Controller/Package.php at line 88
Siropu\AdsManager\Admin\Controller\Package->actionSave() in src/XF/Mvc/Dispatcher.php at line 364
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 266
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2840
XF\App->run() in src/XF.php at line 844
XF::runApp() in admin.php at line 15
Try running this sql in phpmyadmin:How to fix?
ALTER TABLE xf_siropu_ads_manager_package
ADD COLUMN cost_featured DECIMAL(10,2) NOT NULL DEFAULT 0.00;
Oops! We ran into some problems.
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'xf_siropu_ads_manager_ad_extra_Extra_2.is_featured' in 'where clause' in src/XF/Db/AbstractStatement.php at line 225
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
XF\Db\AbstractAdapter->fetchOne() in src/XF/Mvc/Entity/Finder.php at line 1423
XF\Mvc\Entity\Finder->total() in src/addons/Siropu/AdsManager/Service/Ad/Approver.php at line 247
Siropu\AdsManager\Service\Ad\Approver->verifyEmptyPromoThreadFeaturedSlots() in src/addons/Siropu/AdsManager/Pub/Controller/Ajax.php at line 131
Siropu\AdsManager\Pub\Controller\Ajax->actionVerifyEmptyPromoThreadOptionSlots() in src/XF/Mvc/Dispatcher.php at line 364
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 266
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2840
XF\App->run() in src/XF.php at line 844
XF::runApp() in index.php at line 23
We use essential cookies to make this site work, and optional cookies to enhance your experience.