Patreon Plugin: Become a Patreon link does not work?

Hello,

I have the patreon plugin installed and configured. All the hooks are working. However, the “donation prompt” setting doesn’t quite work.

The user is show a “become a patreon” prompt. However, when I click on the prompt, it just scrolls back to the top of the page.

The href of the button is # so I assume it is using javascript to handle the button. Does anyone know what am I missing to make it work?

3 Likes

Looks like this is a new feature contributed by @mbcahyono, which comes disabled by default.

Looks like it expects you to edit the text in the key js.patreon.donation_prompt.body using Admin > Customize > Text after enabling it, so you can add the link to your Patreon page.

@mbcahyono could we add a site setting with the Patreon campaign URL and make it required before turning on this banner?

5 Likes

Sure thing. Let me take care of it this weekend :slight_smile:

5 Likes

Pull request:
https://github.com/discourse/discourse-patreon/pull/31

5 Likes