You can.Can I put adsense ads in between posts with this? Thanks!
Hello @SiropuHello @Siropu
Our marketing team requested we add a close button to the ads, just as thefooter_fixedposition has.
It seemed quite simple- just change the relevant macro in thesiropu_ads_manager_ad_macrostemplate
(basically make it appear in all positions)HTML:<xf:macro name="close_button" arg-position=""> <xf:if is="$position"> <a role="button" class="samCloseButton" data-xf-click="sam-close"><xf:fa icon="fas fa-times-square" /></a> </xf:if> ...
Since I could not see the close button in all the positions- I tried adding position: relative; to the ad, but then- the ad views were not registered at all!
So I added an else condition with specific positions that the close button appeared well in them:
HTML:<xf:elseif is="$position == 'big_main_banner' OR $position == 'right_of_page_body' OR $position == 'left_of_page_body'" /> <a role="button" class="samCloseButton" data-xf-click="sam-close" style="margin: 0; left: 0;"> <xf:fa icon="fas fa-times-square" /> </a>
This works. But I would still like the close button on other ads.
Did you notice this issue?
Thanks
Not supported yet.Just checking in to see if HTML5 is being supported now.
It is possible. I will consider it.Is it possible to add a close button to all the ad positions?
I don't see any issues with it. Advertiser is added to the user group when the ad is active and removed when inactive.I just did some testing and advertiser is not getting added to the secondary user group specified in the Advertising settings.
Haven't seen this issue but I'm not planing to make changes to the notices page.Is it possible the errror can be removed?
That's fine, I can ignore the warning banner. I'm just waiting for the update with the Max Value field for promo codes, so I can send one to a client.Haven't seen this issue but I'm not planing to make changes to the notices page.
Added keyword and affiliate link ad type support for Bob's Classifieds add-on.
Added new position criteria for Bob's Classifieds add-on: "Item ID is" and "Item ID is Not".
Added ad setting to display a close button for users to hide the ad.
Added widget option for featured threads to select which ad type to display: sticky, promo or both.
Added "Notes" tab to ads where you can keep notes regarding the changes you have made.
Added "Max invoice amount" option to promo codes.
Fixed an issue...
Has this been removed? Latest version doesn't allow me to edit samBannerUnit to a bypassable type.ACP > Setup > Options > Ads Manager [General]
Scroll at the end of the list and you will find the options.
Not actually a bug. That's how number box works in XF. Do you really need a decimal in this case?Bug: Min and Max Invoice and Discount values will not allow decimals. Example: Enter $37.50 and you are prompted to use a value between 37 and 38.
Will look into it.We’re sorry, this promo code is not applicable to purchases over $0.00
I do yes. I noticed when inspecting the elements the "step" was 1. I edited it to .5 in the browser inspector and was able to save the discount to $37.50 (shows as 37.5). I'd love to not have to hack this. Many max invoices or discount amounts may be 19.99, 25.50, etc.Not actually a bug. That's how number box works in XF. Do you really need a decimal in this case?
Is it from a custom add-on that can be purchased here? If you use "Enable page info" in admin options and view that thread it should tell you the name of the template and I can add it.I have a custom thread type which contains affiliate link ads but they are not being processed,
Where can I add the template name to the code? It's a custom addon and if I release it, i'll let you know!Is it from a custom add-on that can be purchased here? If you use "Enable page info" in admin options and view that thread it should tell you the name of the template and I can add it.
Where can I add the template name to the code?
AdsManager/Listener.php$threadTypes and your content type to $contentTypeMapWe use essential cookies to make this site work, and optional cookies to enhance your experience.