Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Allow customizing Carbon Ads format #249

Closed
wants to merge 3 commits into from

Conversation

barreeeiroo
Copy link
Contributor

@barreeeiroo barreeeiroo commented Jul 2, 2025

Carbon Ads now supports a new Cover format, which can be forced using an extra query parameter.

  • Added support for passing format parameter.
  • Does not apply custom CSS when format is passed.
  • Introduced remaining two locations for Carbon Ads.

PD: It's been a while since I last coded Ruby in Discourse, so please make sure the code looks correct and it does not introduce any breaking change.

Carbon Ads now supports a new Cover format, which can be forced using an extra query parameter.
@barreeeiroo barreeeiroo marked this pull request as draft July 2, 2025 23:50
@barreeeiroo
Copy link
Contributor Author

TODO: Run modified plugin locally, and check the style of the placements in Cover format. Maybe the custom CSS has to be removed for Cover formats...

@barreeeiroo barreeeiroo marked this pull request as ready for review July 3, 2025 22:36
@davidtaylorhq
Copy link
Member

Plugin moving to core

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants