Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. am1cable
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 10
    • Best 2
    • Groups 0

    am1cable

    @am1cable

    4
    Reputation
    101
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    am1cable Follow

    Best posts made by am1cable

    • [nodebb-plugin-dice-and-numbers] Roll dice and generate random numbers

      at 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:
      0_1538760035350_cd180e08-611b-4d5e-be2b-9d9beefcfed8-image.png
      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.

      posted in NodeBB Plugins
      am1cable
      am1cable
    • [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-spoiler

      Text 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.

      posted in NodeBB Plugins
      am1cable
      am1cable

    Latest posts made by am1cable

    • RE: [nodebb-plugin-dice-and-numbers] Roll dice and generate random numbers

      @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!

      posted in NodeBB Plugins
      am1cable
      am1cable
    • RE: failing on 1.10 to 1.11 on rebuilding assets

      solution - 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.

      posted in Technical Support
      am1cable
      am1cable
    • failing on 1.10 to 1.11 on rebuilding assets

      i'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

      posted in Technical Support
      am1cable
      am1cable
    • inheriting tag whitelist in subcategories

      i'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?

      posted in Feature Requests
      am1cable
      am1cable
    • [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-spoiler

      Text 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.

      posted in NodeBB Plugins
      am1cable
      am1cable
    • RE: custom post data show in editor

      excellent! thank you very much

      posted in Plugin Development
      am1cable
      am1cable
    • RE: custom post data show in editor

      Is this not a thing that's possible? It feels pretty basic.

      posted in Plugin Development
      am1cable
      am1cable
    • [nodebb-plugin-dice-and-numbers] Roll dice and generate random numbers

      at 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:
      0_1538760035350_cd180e08-611b-4d5e-be2b-9d9beefcfed8-image.png
      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.

      posted in NodeBB Plugins
      am1cable
      am1cable
    • custom post data show in editor

      I'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!

      posted in Plugin Development
      am1cable
      am1cable