This is a Donate Bar for Discourse Official Advertising Plugin House ad function. You have to install the plugin first.
I was thinking a lot…how could I make the donation more attention-grabbing to our Members. The problem is the donation are not continuous. First time we used a banner in all topic top and bottom but our Members are used to it and no longer noticed it. So I made it more dynamic. Now we use a donation bar between posts. We use a donation goal and when someone donate we update the current price.
- Go to admin > Plugins > House Ads
- Create a new house ad.
- Paste the following
<a class="donate-bar" rel="noopener" href="paste here the link of your donate page"> <div class="ad-container"> <span class="label-strong">Support your favourite Forum... (replace this text)</span> <br> <span>Donations received in this month! (replace this text)</span> <div class="goal-container"> <div class="goal-container__current"></div> <div class="goal-container__bar"> <span class="goal-bar__total"></span> </div> <div class="goal-container__progress"></div> </div> </div> </a>
- Add this to Between posts or Topic above suggested or Topic above post stream.
Hope you find it useful!