The .travis.yml for each branch should be a good indicator of compatibility in general.
File not found · NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found · NodeBB/NodeBB
GitHub (github.com)
The .travis.yml for each branch should be a good indicator of compatibility in general.
Node.js based forum software built for the modern web - File not found · NodeBB/NodeBB
GitHub (github.com)
Mine is attack helicopter
$(window).on('action:ajaxify.end', function(event, data) {
console.log(data); // to inspect what is passed back by NodeBB
});
require uses a callback.
require(['benchpress'], function (benchpress) {
// code that uses benchpress
});
@MJ Nah, still does it on desktop.
Not to be picky, but request
is not a Promise. async
is doing nothing.
It speaks volumes about Discourse's userbase if the default concern of PMs is pedo rings.
Please try now.
I'm not sure if this is exactly what OP needs though. It adds a permission for a user to create a group and assign it to a category. Not exactly the same thing as approval.
Yeah, it is broken, I will fix tonight.
Your negative margin pushes the bar into the content above. Apply it only to the first bar.
ul .post-bar {
background-color: #1d1f21;
margin-left: -10px;
margin-top: -20px;
margin-right: -10px;
}
@MJ It depends on your registrar.
I don't think this is possible without a plugin. Just adding a new template won't work. You need something to add an express.js route.
It defaults to using this file because it is the first server block.
Anyway, it looks like something changed on your DNS. It no longer responds to wildcard subdomains.
See if there is anything in the /etc/nginx/conf.d/
directory.
@karthiks It sounds like one of your other scripts is failing. This one of the reasons Google recommends it go in the head
section. It's less likely another script failing will cause GA not to load properly.
post nginx.conf
Hey there,
You can do this already in core, without an extra plugin, using the recent topics
widget. Make a category or subcategory with just the topics you want pinned. Then place the widget into the category.tpl
template and set the category in the settings. You can change the look of the topic list in the node_modules/nodebb-widget-essentials/public/templates
If you want more customization, there are a few plugins that do this too.
nodebb-plugin-featured-threads
nodebb-plugin-featured-topics-extended
lib
in the root is server code, static/lib
is client scripts.
After much searching, there does not appear to be even the slightest semblance of any standard in the node world.
@julian oh, dang. you're right. That's the only one I've ever used.
@Jenkler rainbows uses it.
https://github.com/yariplus/nodebb-plugin-rainbows/blob/master/public/templates/admin/plugins/rainbows.tpl#L144-L154
https://github.com/yariplus/nodebb-plugin-rainbows/blob/master/library.js#L61-L72
It is more complicated, but you don't need a separate file. Most of my plugins use something like this:
<script>
require(['settings'], function (settings) {
settings.sync('pluginname', $('form'))
$('#save').click(function(event) {
settings.persist('pluginname', $('form'))
})
})
</script>
You need to make a settings object in your init. As well as use the data-key=name
property in your inputs.