Commission: Update Plugin to 1.5 and Tweak

Plugin Development
  • Gamers
    #1

    I was using a dice roller plugin that has now since caused issues with posting in 1.5. I need the plugin updated to work with 1.5 and also I need a few tweaks made to the plugin while it's being updated.

    Please PM me if interested and I can send you more details so you can send me a quote.

    Thanks.

  • Gamers
    #2

    FYI, Still looking for someone to help with this. Thanks!

  • Gamers
    #4

    @pichalite said in Commission: Update Plugin to 1.5 and Tweak:

    @Michael-Pfaff you should probably contact [email protected]

    Just shot them an email.

  • Gamers
    #5

    Can't afford Official NodeBB design! So, I'm going to post the error code here. Maybe a small tweak will fix?

    31/5 17:13:51 [7244] - error: TypeError: Cannot read property 'replace' of undefined
    at Object.Dicebot.postDice [as method] (/var/www/html/community/node_modules/nodebb-plugin-dice-bot/src/dice.js:84:33)
    at /var/www/html/community/src/plugins/hooks.js:143:12
    at /var/www/html/community/node_modules/async/dist/async.js:3060:16
    at eachOfArrayLike (/var/www/html/community/node_modules/async/dist/async.js:1003:9)
    at eachOf (/var/www/html/community/node_modules/async/dist/async.js:1051:5)
    at Object.eachLimit (/var/www/html/community/node_modules/async/dist/async.js:3122:5)
    at fireActionHook (/var/www/html/community/src/plugins/hooks.js:135:9)
    at Object.Plugins.fireHook (/var/www/html/community/src/plugins/hooks.js:97:4)
    at /var/www/html/community/src/posts/create.js:113:13
    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5273:14)
    at next (/var/www/html/community/node_modules/async/dist/async.js:5280:9)
    at /var/www/html/community/node_modules/async/dist/async.js:906:16
    at fireFilterHook (/var/www/html/community/src/plugins/hooks.js:110:11)
    at Object.Plugins.fireHook (/var/www/html/community/src/plugins/hooks.js:94:4)
    at async.waterfall.data.post.isMain (/var/www/html/community/src/posts/create.js:109:13)
    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5273:14)

  • Gamers
    #6

    Still looking if anyone can help! Official NodeBB folks were out of my budget.

  • #7

    @Michael-Pfaff I have no clue on how the plugin works, but from the error stack-trace you're trying to use a method .replace on an undefined object, in the file nodebb-plugin-dice-bot/src/dice.js at line 84. Try to see if .replace() is called there, and check with the debugger why the object it's been called on doesn't exist.

    Edit: I think it has something to do with the "create post hook", or something like that.

  • Gamers
    #8

    @Giggiux said in Commission: Update Plugin to 1.5 and Tweak:

    @Michael-Pfaff I have no clue on how the plugin works, but from the error stack-trace you're trying to use a method .replace on an undefined object, in the file nodebb-plugin-dice-bot/src/dice.js at line 84. Try to see if .replace() is called there, and check with the debugger why the object it's been called on doesn't exist.
    Edit: I think it has something to do with the "create post hook", or something like that.

    Thanks! This gives me a lead at least. I'll take a look and see if I can figure some shit out. 👍


Suggested Topics


  • 0 Votes
    6 Posts
    489 Views

  • 0 Votes
    8 Posts
    1516 Views

  • 3 Votes
    8 Posts
    2496 Views

  • 2 Votes
    7 Posts
    2729 Views

  • 0 Votes
    3 Posts
    1968 Views

| | | |