As themes grow more powerful, there’s more to remember about how they work. We have loads of detailed documentation under #howto / #themes, but if you just need something to jog your memory, this guide may help. General Resources 📜 Beginner’s guide 📜 Designer’s guide 📜 Developer’s guide 🖌 Theme Creator 🖥 Theme CLI 📔 Theme Directory 🧩 Component Directory File/Folder Structure read more about.json s...
Modal window - a modal window style plugin for Discourse - plugin - Discourse Meta
#modal-window _Repo: https://github.com/AlexRabolin/modal-window.git_ A modal window style plugin for Discourse. Hello, this plugin will open a modal window from a forum post. But, You don’t need this plugin to open a modal window outside the forum, in this case, just copy the HTML and CSS code in your forum. Demo ###Modal window with contents : Installation _Everything is explained in the read-me here : https://github.com/AlexRabolin/modal-window_ Edit your web template (
Hey guys, I’ve created a plugin for Discourse, which adds additional code fences and syntax highlighting buttons to the composer toolbar. The plugin, documentation and all future updates can be found here: https://github.com/ThomDietrich/discourse-plugin-code-fences-buttons The available buttons in your toolbar are configured through the plugin settings. Currently there is one javascript option and one with free to choose syntax highlighting. Options are easily extendable, just duplicate o...
Add a button at the bottom of a topic, visible to a specific group: discourse-topic-group-button
Summary: This plugin adds a custom button at the bottom of a topic, visible only to staff or members of a specific group. 🔗 GitHub: https://github.com/discourse/discourse-topic-group-button ➡ Install: Follow the plugin installation guide. Features Configuration From Admin Site Settings Plugin, modify topic_group_button_url topic_group_button_title topic_group_button_label topic_group_button_allowed_group Note: For button to be visible to everyone, see: CHANG...
Add a button at the bottom of a topic, visible to everyone: discourse-custom-topic-button
Summary: This plugin adds a custom button at the bottom of a topic, visible to everyone (who is logged in). 🔗 GitHub: https://github.com/techapj/discourse-custom-topic-button ➡ Install: Follow the plugin installation guide. Features Configuration From Admin Site Settings Plugin, modify custom_topic_button_url custom_topic_button_title custom_topic_button_label Note: For button to be visible only to staff or members of a specific group, see: CHANGELOG TODO
Compact view of topics - plugin / extras - Discourse Meta
discourse-compact-topic-view Purpose Compact view of topics. Description To get an overview of a topic, a compact view of all posts can be helpful. Standard GUI: Compact GUI: How-to If the source data (posts) are available, there is a lot of freedom to transform the data. Procedure: Load discourse data on local computer (via discourse-reader). Transform discourse data (via Go templates and dagote). Display the transformed data in the browser. Concept: Via Go template you defi...
A Discourse plugin that lets you use topics to rate things! Features Rate topics by a star rating system in the composer. Enable different rating types on a per-category or per-tag basis. Toggle rating count and average rating per rating type. Toggle visibility of ratings, counts and averages based on user roles. Bulk actions including rating type migration 📄 Get the code 🐛 Report a bug Lost? Not sure how to install a plugin? Follow the steps here. Make sure you...
techAPJ/discourse-topic-group-button at 815d8246c28182c2f2f1ec44770b3aa999400446
Adds a custom button at the bottom of a topic, visible only to staff or members of a specific group - techAPJ/discourse-topic-group-button at 815d8246c28182c2f2f1ec44770b3aa999400446
Developer’s guide to Discourse Themes - howto / developers - Discourse Meta
So, you want to create Discourse themes? Not sure where to start? Or maybe you have created Discourse themes before, but want to learn how to do even more cool things. Well, you’ve come to the right place 😉 Developer’s guide to Discourse Themes Subjects include a general overview of Discourse themes, creating and sharing Discourse themes, theme development examples, searching for and finding information / examples in the Discourse repository, and best practices. Prerequisites: ...
H0ly cr@p - what is this highlighter stickynote thingy on meta? - site feedback - Discourse Meta
Am I dreaming? I found this highlighter/stickynote notation tool on this page (select some text on that page to see it for yourself): Where can I get this for testing on my self-hosted discourse?
How to make the CSS apply to ONLY the modified forum homepage?
// This is the plugin outlet, followed by a custom name for the component api.registerConnectorClass("below-site-header", "custom-homepage", { // Setting up our component setupComponent(args, component) { // Next we're getting the site setting 'top_menu', // splitting the values into an array, // and adding a leading slash var topMenuRoutes = component.siteSettings.top_menu.split('|') .map(fu...
With javascript I removed the element from the page on page load and I added an anchor link to the header after the logo to return back to the forum. window.addEventListener('load', function() { var header = document.querySelector('.published-page-content-header'); if (header) { header.parentNode.removeChild(header); } }); window.addEventListener('load', function() { var headerWrapper = document.querySelector('.published-page-header-wr...
Hello, After weeks of tinkering, I finally managed to set up an AI bot, similar to discobot but one that learns and is more responsive. Here is how I did it for anyone interested in setting it up. There is quite a few steps, but once you get it all set up, the result is amazing. Install the hubot plugin for discourse Hubot Adapter for Discourse, to install hubot on your discourse, the hubot variables like HUBOT_DISCOURSE_USERNAME are entered into (yourhubotfolder)/bin/hubot file, just nano...