@Michael-Pfaff I haven't been working on it recently, but I have plans to go through and finish it sometime this year. Will have a look at this while I'm at it!
am1cable
Posts
-
[nodebb-plugin-dice-and-numbers] Roll dice and generate random numbers -
failing on 1.10 to 1.11 on rebuilding assetssolution - i hadn't removed my custom theme properly. you need to reset to the default theme, remove the link, and use npm rm to completely remove your theme so it doesn't check for it.
i'm not sure why my calendar plugin broke as well, or why the bootswatch theme i was using as a base has stopped working either. but the build itself is working.
-
failing on 1.10 to 1.11 on rebuilding assetsi've tried uninstalling and reinstalling node-theme-vanilla, but no dice. rebuilding assets separately afterwards leaves layouts weird and general problems with some plugins.
2018-12-28T18:16:59.685Z [4567/3231] - error: [build] Encountered error preparing for build Error: [[error:theme-not-found]] at /var/www/nodebb/src/meta/themes.js:212:21 at nextTask (/var/www/nodebb/node_modules/async/dist/async.js:5324:14) at next (/var/www/nodebb/node_modules/async/dist/async.js:5331:9) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3888:9 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 at iterateeCallback (/var/www/nodebb/node_modules/async/dist/async.js:992:24) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3885:13 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 2018-12-28T18:16:59.685Z [4567/3231] - error: [build] Encountered error during build step Error: [[error:theme-not-found]] at /var/www/nodebb/src/meta/themes.js:212:21 at nextTask (/var/www/nodebb/node_modules/async/dist/async.js:5324:14) at next (/var/www/nodebb/node_modules/async/dist/async.js:5331:9) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3888:9 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 at iterateeCallback (/var/www/nodebb/node_modules/async/dist/async.js:992:24) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3885:13 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 Error occurred during upgrade: Error: [[error:theme-not-found]] at /var/www/nodebb/src/meta/themes.js:212:21 at nextTask (/var/www/nodebb/node_modules/async/dist/async.js:5324:14) at next (/var/www/nodebb/node_modules/async/dist/async.js:5331:9) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3888:9 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 at iterateeCallback (/var/www/nodebb/node_modules/async/dist/async.js:992:24) at /var/www/nodebb/node_modules/async/dist/async.js:969:16 at /var/www/nodebb/node_modules/async/dist/async.js:3885:13 at /var/www/nodebb/node_modules/async/dist/async.js:473:16 2018-12-28T18:16:59.686Z [4567/3231] - error: [themes] Unable to parse theme.json nodebb-theme-vanilla 2018-12-28T18:16:59.689Z [4567/3231] - error: uncaughtException: Callback was already called. Error: Callback was already called. at /var/www/nodebb/node_modules/async/dist/async.js:966:32 at /var/www/nodebb/node_modules/async/dist/async.js:1137:13 at /var/www/nodebb/src/meta/themes.js:114:7 at /var/www/nodebb/node_modules/graceful-fs/graceful-fs.js:78:16 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3) {"error":{},"stack":"Error: Callback was already called.\n at /var/www/nodebb/node_modules/async/dist/async.js:966:32\n at /var/www/nodebb/node_modules/async/dist/async.js:1137:13\n at /var/www/nodebb/src/meta/themes.js:114:7\n at /var/www/nodebb/node_modules/graceful-fs/graceful-fs.js:78:16\n at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)","exception":true,"date":"Fri Dec 28 2018 18:16:59 GMT+0000 (UTC)","process":{"pid":3231,"uid":0,"gid":0,"cwd":"/var/www/nodebb","execPath":"/usr/bin/node","version":"v8.14.0","argv":["/usr/bin/node","/var/www/nodebb/nodebb","upgrade"],"memoryUsage":{"rss":139333632,"heapTotal":105914368,"heapUsed":72311456,"external":19339472}},"os":{"loadavg":[0.47900390625,0.3271484375,0.24462890625],"uptime":3239},"trace":[{"column":32,"file":"/var/www/nodebb/node_modules/async/dist/async.js","function":null,"line":966,"method":null,"native":false},{"column":13,"file":"/var/www/nodebb/node_modules/async/dist/async.js","function":null,"line":1137,"method":null,"native":false},{"column":7,"file":"/var/www/nodebb/src/meta/themes.js","function":null,"line":114,"method":null,"native":false},{"column":16,"file":"/var/www/nodebb/node_modules/graceful-fs/graceful-fs.js","function":null,"line":78,"method":null,"native":false},{"column":3,"file":"fs.js","function":"FSReqWrap.readFileAfterClose [as oncomplete]","line":511,"method":"readFileAfterClose [as oncomplete]","native":false}]}
i have my own custom theme, but i deactivated it and removed the symlink beforehand. so i don't see how it should be affecting this
-
inheriting tag whitelist in subcategoriesi've got 20+ tags that i want to apply to every subcategory in a parent category, and i've got around 20+ subcategories that i need to put them all in (with more categories coming), this is a lot of work! i tried using copy settings from, but that isn't working with tags.
maybe if there was a toggle for each subcategory for 'use parents tag whitelist', so you can have the parent's tags, and add custom ones on for that category on top?
-
[nodebb-plugin-alignment] and [nodebb-plugin-simple-spoiler]here https://www.npmjs.com/package/nodebb-plugin-alignment
and https://www.npmjs.com/package/nodebb-plugin-simple-spoilerText and image alignment in the first one, a simple spoiler that allows you to name them and stack them inside each other in the second. Both built for default composer and super plain so you can style them as you like.
same as other plugins - they're for my personal site so no guaranteed support.
-
custom post data show in editorexcellent! thank you very much
-
custom post data show in editorIs this not a thing that's possible? It feels pretty basic.
-
[nodebb-plugin-dice-and-numbers] Roll dice and generate random numbersat npmjs.com/package/nodebb-plugin-dice-and-numbers
Built to work in the default composer. Not much css attached, but it should be pretty easy to make it look however you like.
Adds a button that opens a panel where you can select if you'd like to roll XdX dice or generate X random numbers within a range of X to X.
Results are visible in posts like this:
Results are also not editable in posts after they are rolled.Still kinda wip but no guarantee I'll work on it further, since it does what I want for my own forum.
known weirdness:
if you have a thread where the last post has a dice roll in it, and that post hasn't been edited for a few months, the value can disappear. re-editing the post makes the value appear again. -
custom post data show in editorI've got some custom fields that I have working in my composer, but I'd like to be able to show the data that was submitted when editing posts. I tried passing it in as templateData when composer.build is called, but it only seems to be called when you have the composer as a separate route, which I don't want.
tl;dr I have data in postData that I want to show/be editable by users while editing their posts, how do I get it into composerData? thanks!