The CSS can be added to either your site’s active theme, or to a theme component that you include on all of your site’s active themes.
What are the chances of this ‘ad after the first post then every N posts’ checkbox becoming a reality? Would be very useful, especially for quieter forums where some topics do not reach N posts!
Is it possible to get delivery statistics on House Ads? I’m not sure that they are saved, but it would be good to be able to find this for my advertisers.
I’ve got a (hopefully not too dumb) question about how to test a prospective advert
What is the best way to trial a House Ad without displaying it to the whole Forum?
While they can be restricted by category and group, it is tricky to use this for testing purposes.
If I restrict it to just my private admin Category, it still shows up on
If I restrict it for
everyone, nothing happens and everyone can see it.
If I restrict it for
trust_level_0, I can’t see it but
The only three ways that I can see to do my testing of the Ads, and I don’t like any of them:
- Do it late at night when nobody is using the site (ugggh)
- Make a group which is everyone except me and restrict it from them (ok for a once-off but quite an admin burden) and still visible to
- Use a staging instance to test it on (overkill)
Am I missing something?
Sounds like what you want is a staging site for testing.
I see how a staging site will resolve all the needs here, but your comment also hints at a possible feature for previewing ads which may or may not be on the roadmap yet. Good stuff!
I’m often guilty of treating #feature as #support. I don’t know a lot about that code, but a version of the way that we can test plugins seems like it would be hard to do for ads. It would be cool though!
Should I put in a separate feature request?
Sure thing! It would be helpful to have that as a tracking tool, I can’t speak to if it will be developed though as it may be harder to implement.
Do you plan to include an option for adding ad banners in the sidebar inside the topics and everywhere?
Is there a way that I can show only in-house ads to logged in users? I’ve excluded logged-in users from google ads, but I’d like to still show in-house ads to logged in users.
Additionally I’d like to hide in house ads from subscribers, but that can wait until I implement subscriptions
Can we have a section in house ads for showing ads on the sidebar inside topics?
Just a heads up, it seems that the ad rotations aren’t evenly rotated. The first four ads (and particularly the first two) seem to consistently get significantly more impressions. With ad five and onward getting a fairly even split.
Ad 1 will get double the impressions of ad 5. Ad 5 and onward will get impressions evenly.
So for example, say you add 10 banners to all house ad slots. The first 4 assigned to the empty slot will get more impressions than any additional banners. Second slot seems to get ~75% of slot 1. Slot 3 gets ~65%, slot 4 gets ~60% and slot 5 and onward get roughly 50% of slot 1.
Ads.txt operates at the domain level. If you are running Discourse on a subdomain - e.g. forum.example.com - and you have a main website example.com / www.example.com, ads.txt for the entire domain should be at example.com/ads.txt
I think you would only need a subdomain specific ads.txt file if the content would be different to to the main one.
3 posts were split to a new topic: Plugin page not accessible when adplugin is enabled
Could anybody confirm if
<script> tags are allowed in a House Ad?
They still seem to be not allowed. It’s a pity, since there is no other plugin which has capability to show custom stuff for custom groups.
Feature Request, possibility to enable script inside House Ad. I understand, for security reasons not be able put JS in Posts, but for Plugins → I mean the config can only modify admin, so its safe.
I think I found a bug when removing a house ad. I had
ad2 defined as house ads to display an image with some simple HTML, and they were selected for “Between topics”. But then I deleted
ad1 from the list of available house ads, and that appears to have made it automatically disappear from the “Between topics”. But it acts as though it’s still expecting
ad1 to exist, because it started randomly sometimes not showing any ad in the topic list after the defined number of N posts. Then I re-created
ad1 by copying the HTML from
ad2 into it and it re-appeared in the “Between topics” selection, and everything is back to normal.