I'm 100% sure you can, as long as your not copying open source code from other plugins that don't allow for building off of them with a commercialized product.
SOLVED How to obtain current opening topic's slug in plugin?
Jam last edited by Jam
Hi, i want to make a plugin that displaying some suggested topics on the bottom of the topic, but the suggested topics should not contain current browsing topic,
so, i want to know how to obtain current opening topic's slug or id in this plugin, and exclude current browsing topic, many thanks~~
@Jam you can already do that using widgets. Just add the "Suggested Topics" widget to "Topic Footer" in topic.tpl under ACP -> Extend -> Widgets.
@pichalite in my nodebb topic.tpl dose not have "topic footer" only has sidebar.
I'm using nodebb 1.1.0 with lavender Them!
@sanatisharif lavender theme doesn't have the widget placeholder in footer for topic.tpl
I was talking about persona.
Jam last edited by
@pichalite thanks, i've got it~