Regarding nodebb-plugin-category-notifications

NodeBB Plugins

Suggested Topics


  • Discord OAuth Plugin

    NodeBB Plugins
    11
    1 Votes
    11 Posts
    738 Views

    @phenomlab gh#10474 👍

  • 0 Votes
    1 Posts
    617 Views

    Hello,

    I am attempting to use the nodebb-plugin-sso-oauth plugin to implement SSO with CAS into my forum.

    My CAS is using Oauth2. I have POST methods with urls for request code (authorization), request access token, and request profile.

    I have installed the plugin and set up nconf to use my constants.

    I activated the plugin and refreshed my nodebb forum.

    It is now crashing upon starting and I get the following error.

    24/7 00:37:39 [29650] - error: message=Cannot read property 'length' of undefined, stack=TypeError: Cannot read property 'length' of undefined
    at pathtoRegexp (/root/nodebb/node_modules/path-to-regexp/index.js:63:49)
    at new Layer (/root/nodebb/node_modules/express/lib/router/layer.js:45:17)
    at Function.use (/root/nodebb/node_modules/express/lib/router/index.js:464:17)
    at Function.<anonymous> (/root/nodebb/node_modules/express/lib/application.js:220:21)
    at Array.forEach (<anonymous>)
    at Function.use (/root/nodebb/node_modules/express/lib/application.js:217:7)
    at module.exports (/root/nodebb/src/routes/index.js:139:7)
    at /root/nodebb/src/webserver.js:99:4
    at fn (/root/nodebb/node_modules/async/lib/async.js:746:34)
    at /root/nodebb/node_modules/async/lib/async.js:1213:16
    at /root/nodebb/node_modules/async/lib/async.js:166:37
    at /root/nodebb/node_modules/async/lib/async.js:706:43
    at /root/nodebb/node_modules/async/lib/async.js:167:37
    at Immediate._onImmediate (/root/nodebb/node_modules/async/lib/async.js:1206:34)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)

    My guess is that for some reason, path is being passed as undefined.

    I am stuck and in need of help.

    Please provide feedback or recommendations for how I can implement CAS Single Sign On into my nodebb forum.

    Thank you,
    Abraham

  • 0 Votes
    1 Posts
    952 Views

    I've noticed a wee problem with Wordpress/blog comments.

    At first I was being hit by a 503 error - which turned out it was Akismet blocking the publishing of a post as it was being flagged as spam in NodeBB. Deactivate that, it's fine.

    The post in question was just a YouTube video.

    You see, when I publish a post, the social sharing links (the exact ones i'm using on Wordpress for now are the Jetpack ones) are also posted in the forum topic.

    Now - is there any way of filtering these out? It will take two minutes to edit the thing, but just wondered if anyone else came across the same.

    Here's the original post: http://www.onlyanexcuse.com/2015/12/21/goals-morton-vs-raith-rovers/#nodebb/comments

    And here's the NodeBB topic for the comments: http://spflforum.com/topic/696/goals-morton-vs-raith-rovers

    What I will do (later) is just remove the social links which have appeared and put the video in there instead, it's not a massive issue, just adds a little more housekeeping when posting things later.

  • 0 Votes
    8 Posts
    4k Views

    For anyone else that may find this post and is struggling, this step by step walkthrough really helped me out (at least regarding the php oauth2 server) http://bshaffer.github.io/oauth2-server-php-docs/cookbook/

  • PLUGIN WEEKEND v2

    NodeBB Plugins
    23
    0 Votes
    23 Posts
    7k Views

    Paypal plx. And only issuing after video chat is released 😄