Carbon Ads is now available at Advertisement Plugin!

סיכום מבוסס בינה מלאכותית

barreeeiroo has enhanced the Discourse Ad Plugin to support Carbon Ads, an ad network focused on value over clickbait, used by sites like @codinghorror’s blog, GetBootstrap, and Font Awesome. Carbon Ads is invite-only and targets developers, artists, and business audiences; interested users must email hello@carbonads.net to apply. The plugin allows easy integration via Admin settings, with default ad styling shown in screenshots. Ads are fully customizable via CSS using the provided HTML structure. barreeeiroo initially considered a custom theme but opted for a public plugin to promote open-source sharing. neil adds that users must add https://srv.carbonads.net to their Content Security Policy script-src setting for the ads to function properly.

Hello :slightly_smiling_face:

I have modified “a little bit” the Discourse Ad Plugin, so now a new ad network is available to use:

Carbon Ads is an ad network focused on ad value instead of the “Click here! Click here!” ethos of other ad networks. Taken from About Carbon Ads | The Independent Web's Ad Network | Carbon Ads
It is being used by top-level websites, such us @codinghorror’s blog, GetBootstrap, Font Awesome, etc.

That ad network works only by invite, and they are looking for sites focused for developers, artists and business people, mainly. In order to apply, you have to send an email to hello@carbonads.net.


How to use

Customize the ads

By default, your ads will look like this:

However, it is fully customizable. Carbon Ads generate an element with the following structure:

<div id="carbonads">
  <span>
    <span class="carbon-wrap">
      <a href="[link]" class="carbon-img" target="_blank">
        <img src="[image]" alt="" border="0" height="100" width="130" style="max-width:130px;">
      </a>
      <a href="[link]" class="carbon-text" target="_blank">[text]</a>
    </span>
    <a href="http://carbonads.net/" class="carbon-poweredby" target="_blank">ads via Carbon</a>
  </span>
</div>

So, in Admin>Customize>Custom CSS, you can alter those classes to make it look as it best fits you.


Before I had the idea of creating a custom theme, but later I decided to make a plugin only for my community
But what is better than open source? So that’s why I finally made it public :smile:

As you pointed out in the PR, people will need to add https://srv.carbonads.net to their content security policy script src setting.