Integrate adbutler / Java script with the adplugin

AI-generated summary

A discussion is underway to integrate AdButler with the Discourse ad plugin using JavaScript. Jeremie_Leroy initially requested this integration and offered a budget of £200. sfoster also expressed interest in this feature, as the regular advertising plugin doesn’t support custom JavaScript for ad platforms other than Google.

neil stated that AdButler is not on the roadmap, but asked for details on how adding JavaScript to the ad plugin could work. sfoster suggested that allowing JavaScript in house ads could be a solution, as it would work with nearly all ad networks.

However, neil mentioned that this idea has already been discussed and is unlikely to be implemented due to compatibility issues with single-page apps. He suggested using theme components instead, but sfoster argued that the ad plugin has useful functionality not available in theme components.

sfoster later found a potential solution using theme components, thanks to neil’s provided link.

What would you like done?
I would like to integrate js in the way that i could add the ad server js with the adplugin → GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub

When do you need it done?
Not so much in a hurry, but the sooner the better

What is your budget, in $ USD that you can offer for this task?
£200 ( negotiable )

2 Likes

We also have an urgent need for this type of plugin, and would pay for it. We also use Adbutler. The regular advertising plugin doesn’t allow for custom javascript for ad platforms other than Google. It would be great if the Official Plugin simply added a choice to serve custom javascript for ads from any custom service. Thanks.

1 Like

Hi @neil is this on your road map guys ? Many thanks,

No, Ad Butler is not on our roadmap.

and the possibility of adding Javascript ?

Can you give details about how this would look and how it would work? Mock-ups of a UI? What solution would cover all arbitrary ad network javascript?

2 Likes

The issue appears to be that the House ads only accepts HTML. If it would also accept JS it would work with nearly all ad networks. jS in house ads, Seems to be mentioned as a possibility on the repo, but not implemented yet. This would be a very useful feature.

Already been discussed. Very unlikely that the ad networks’ js covers single-page apps correctly. Otherwise you don’t need the ad plugin at all. Just use theme components.

3 Likes

The ad plugin contains functionality not available in theme components, that is very useful. Just using theme components would not work. Dropping JS from our ad partner in the HTML box for house ads would certainly display the ads correctly in the application. It’s just that the box only accepts Html

Sorry missed your link above. I think I see how this can be done with components. Thanks for quick response

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.