Seems like a bug, I will take a look at this.
<baris>
Posts
-
Image and File Upload not showing in Composer -
NPM error after upgradenode 0.10 and npm 1.3 are not supported anymore, you should at least upgrade to node 6+ and npm3+
-
stick html tag or widget on sidebarTake a look here https://community.nodebb.org/topic/10794/sticky-sidebar-widgets
-
1.8.0 Breaking Changes@jw-sbat Always make sure the plugins you are using are working fine before deploying to production. Even if the plugin doesn't specify compatibility directly it could still work. That property specifies a minimum nodebb version.
-
Array buffer allocation failedYeah uploading as image may resize the image depending on size and the ACP setting https://github.com/NodeBB/NodeBB/blob/master/src/controllers/uploads.js#L70-L74
-
Array buffer allocation failedOn this forum? Can you upload the image somewhere so we can give it shot?
-
Custom template for a particular topicActually my previous method won't work, that method either renders the template or does
res.json(data)
so the callback won't be called. However you can still call the topic route server side via request.function render(req, res, next) { request(nconf.get('url') + '/api/topic/' + topicId, { json: true}, function (err, res, data) { // This is the path to your template without the .tpl, relative to the templates directory in plugin.json var template = 'my-custom-page' // Send the page to the user. res.render(template, data); }); }
-
Custom template for a particular topic@aneeeshp You can call https://github.com/NodeBB/NodeBB/blob/master/src/controllers/topics.js#L19 and get the topic data. It would look something like this
function render(req, res, next) { req.params.topic_id = "123"; // id of topic to load res.locals.isAPI = true; // so the function below returns json data instead of rendering the template topicsController.get(req, res, function (err, data) { // This is the path to your template without the .tpl, relative to the templates directory in plugin.json var template = 'my-custom-page' // Send the page to the user. res.render(template, data); }); }
-
Define a widget area in a partial templateWidgets are only rendered on the page itself right now https://github.com/NodeBB/NodeBB/blob/master/src/middleware/render.js#L53. We would have to add support so they are rendered in
renderHeader
method as well. Open an issue on our github it could be a nice addition. -
Email notifications@h7 said in Email notifications:
enable email notifications
The system for notification settings changed in the latest version of nodebb, the default values are added to the ACP in 1.8.0 https://github.com/NodeBB/NodeBB/issues/6323
-
Cant setup or build on new Ubuntu 16.04 serverTry setting some swap, the build process can consume more than 512mb memory and that would cause the process to be killed.
-
Cant setup or build on new Ubuntu 16.04 serverHow much memory does your server have? Do you have swap setup?
-
The masonry.js not loaded if page refreshes directlyIt is in nodebb-theme-lavender but I am not 100% sure if thats the problem, you can find it here https://github.com/NodeBB/nodebb-theme-lavender/blob/master/static/lib/lavender.js#L69
-
The masonry.js not loaded if page refreshes directlyI think the theme wasn't updated to handle the changes to the script load order, so it is not calling
doMasonry
when the page is cold loaded. Will work on a fix, thanks for reporting. -
nodebb-widget-essentials translationThis is fixed, will be available in 1.8.0. Thanks for reporting.
-
Topics in ignored categories are shown in recent pageMaybe check this setting at
/admin/settings/post
-
Recreating nodeBB forum on new serverYou don't have to worry if you installed them through the ACP page, just copy your files to the new server and it should work. I was referring to plugins that might be sysmlinked into the node_modules folder. Your keys and secrets are stored in the database for the plugins so copying the plugin will bring those back as well.
-
Authentication FailedDoes your config.json have a database username and password?
-
Recreating nodeBB forum on new serverYou will need the
public/uploads
folder for uploaded files. If you installed plugins into node_modules without adding them to package.json you will have to reinstall those as well. -
[Solve] Skins don't loadDo you have any errors in your browser console?