Generate funding through CodeFund - now integrated into the discourse-adplugin

AI-generated summary

The discussion centers around integrating CodeFund, an ethical, open-source advertising platform for developers, into the discourse-adplugin. coderberry introduces the plugin, highlighting its privacy-respecting features: no cookies, no profiling, and unobtrusive ads. Developer communities are encouraged to register as publishers to monetize via eCPM (earnings per 1,000 impressions), with payouts monthly and a $20 minimum 19.

Early adopters like bartv report technical issues, including unnecessary requests to CodeFund’s server, which coderberry promptly addresses via PRs. Another user, barreeeiroo, encounters a validation error with property IDs; coderberry confirms the ID format changed to integers and submits a fix 10. Despite updates, blank ad spaces persist, prompting another fix scheduled for release 12.

neil notes that only CodeFund ads appear on meta.discourse.org, and questions the mismatched README instructions — coderberry clarifies the correct ID format and confirms revenue generation. sam reports repetitive blockchain ads; coderberry removes the keyword and promises fresh ad batches. A fallback ad suggestion by neil — promoting the ad plugin itself — is implemented 28.

UI jank due to variable ad heights is addressed with CSS: .codefund-wrapper { min-height: 43px; } 34. PaigeLynn asks about adult site eligibility; coderberry confirms CodeFund does not allow them.

The thread concludes with rishabh announcing CodeFund’s shutdown and removal of support from the plugin, thanking coderberry for their contributions.

When you install or update the discourse-adplugin, you will see a new advertising option.

CodeFund (formerly Code Sponsor) is an ethical advertising platform for the developer community. What does this mean?

  • Relevant, unobtrusive ads
  • No cookies
  • No remarketing
  • No profiling
  • 100% open source

We have always been huge fans of Discourse and recognize that their communities are often developer-based. We invite all developer-based installs of Discourse to sign up for CodeFund and try this plugin out. Together we can continue to help open source thrive.

You can register your Discourse community here: https://codefund.io/register/publisher

17 likes

That sounds really interesting, I’ll definitely take a look at their site.

In the mean time, I’m using AdSense only, but the plugin is still making requests to the codefund website. Here’s what I see in my console:

image

Can you please investigate? Thanks!

1 like

Thank you for sharing this. I submitted a PR for the fix (/cc @neil)

https://github.com/discourse/discourse-adplugin/pull/66

3 likes

This is now resolved. Thanks again for letting us know @bartv!

1 like

Thanks a bunch Eric & co. at CodeFund! I really hope to see this plugin enabled on a multitude of OSS forums!

4 likes

I’m inputting my property id (168), but it sais:

codefund_property_id: Value doesn’t match the required format.

What am I doing wrong?

image


@coderberry

Property ID looks like a UUID using hexa symbols:

2 likes

Yeah, I’ve already checked the file
However, the property ID we got is just an integer

We migrated it to use integers. I will submit a PR to this plugin.

4 likes

@barreeeiroo, I have submitted a PR to the project:

5 likes

@coderberry I have just updated the plugin
However, I don’t think ads are working properly:

As you can see, there’s a big blank space there

Hi Diego,

We are working on a fix for this which will be released next week.

Thanks!

Eric

3 likes

Perfect!
Thank you so much :+1:

@barreeeiroo We submitted a PR that should solve these issues:

https://github.com/discourse/discourse-adplugin/pull/72

4 likes

Perfect, I’ll update it as soon as possible :+1:

1 like

@coderberry We’ve been showing CodeFund ads here on meta for a day now, but they always show ads for CodeFund.

Will we start seeing other ads soon?

Also the instructions in the ad plugin README don’t match what I’m seeing in the CodeFund instructions. I don’t have a long hex number like the example. Mine is only 3 digits, so I entered that into the “codefund property id” field.

6 likes

Hi @neil, I’m excited you added it to meta! I have set the property to active. All traffic should be generating revenue for you.

We will update the bad instructions on the README. You used the correct ID.

Please reach out to me anytime

5 likes

How do you earn money from CodeFund? Pay per click? Pay per view/1000 views?

Hi @nexo, the money is earned via eCPM. Every impression will earn the publisher some funds.

We are open source. Please feel free to dig into the code. The parts where we determine the % of earnings is handled here.

We pay out monthly with a $20 minimum amount. Each month the funds roll over.

7 likes

I keep getting this ad over and over again:

If I reload https://meta.discourse.org/t/events-plugin-calendar/69776/500 10 out of 10 times I get this ad.

I am in Australia. Is there anything we can do to get a bit less blockchain and a bit more ad diversity here?

3 likes