NodeBB on top coder


  • Community Rep

    Have you guys seen this?

    "Project Overview
    Our topcoder platform is looking for new forum software to replace current jive forum (the one we're using now).

    Competition Task Overview
    For this contest, we want to try NodeBB (https://www.github.com/designcreateplay/NodeBB) and build and PoC to see how well it suits our needs."


  • GNU/Linux Admin

    Hahah... oooh yes, yes we have. It's great seeing NodeBB pop up completely unannounced in other places on the web 🙂



  • Hi,

    I am from topcoder, i have some newbie questions.

    1, We are using auth0 for login, if we want to hook up auth0 in NodeBB, is that through plugin? Any docs you have regarding your authentication?
    2, If we use your hosting, how do we apply/deploy our customization (authentication, theme, etc), through git push?
    3 Do you have APIs we can pull data?

    Thanks
    Shannon


  • GNU/Linux Admin

    @mashannon168 Welcome!

    1. Take a look at this documentation from the Auth0 team. Then take a look at the SSO plugins we use here. You'll have to create a plugin for Auth0 (and we'd encourage you to share it when you're done!)
    2. You would have to make this apparent to the hosting team, but your hosted NodeBB can be arranged to track a remote repository instead of the repository for other hosted NodeBBs. We would push changes on-demand (via support ticket system), although we do not take responsibility for any errors that may appear due to it not being a NodeBB maintained fork.
    3. Every page here has an API feeding it data, give it a try here! http://community.nodebb.org/api/topic/660/nodebb-on-top-coder


  • Thanks for the quick response, may have more questions later.

    Shannon



  • Can i subscribe or watch this thread so it emails me any new posts?


  • GNU/Linux Admin

    Not yet, in the meantime, you can follow the post by clicking on the ...

    ... oh, I guess you can't follow posts on this theme... @psychobunny ?


  • Plugin & Theme Dev

    @julian said:

    Not yet, in the meantime, you can follow the post by clicking on the ...

    ... oh, I guess you can't follow posts on this theme... @psychobunny ?

    @mashannon168
    When clicking on the heart of the first post there's a "Watch" option.


  • GNU/Linux Admin

    @Mr_Waffle said:

    When clicking on the heart of the first post there's a "Watch" option.

    D'oh! Thanks for that @Mr_Waffle 🙂



  • Thanks, now a follow up question, can i reply from the email?


  • Plugin & Theme Dev

    @mashannon168 said:

    Thanks, now a follow up question, can i reply from the email?

    As far as I know, you get no email notifications -- yet! You get a notification about replies when you open the site though.
    Theoretically email notifications can be build as a plugin. Would be better in core imo though.


  • Plugin & Theme Dev

    ^ I agree, core, and fire hooks for the nodebb-plugin-emailer-* just like registration, password reset, etc.

    But about replies? that gets a little tricky, each "plugin" would either have to poll from it's service provider, not sure if that's possible on all, then theoretically, Topic.reply to the target topic.


  • Plugin & Theme Dev

    @bentael said:

    ^ I agree, core, and fire hooks for the nodebb-plugin-emailer-* just like registration, password reset, etc.

    But about replies? that gets a little tricky, each "plugin" would either have to poll from it's service provider, not sure if that's possible on all, then theoretically, Topic.reply to the target topic.

    Looks like there's a ThreadTools.getFollowers available though. Insert tid, get uids back 🙂


  • Plugin & Theme Dev

    let the spamming begin !



  • Do you support windows? I tried to setup node on windows, but I got some path issue in some plugin. I solved this issue, by coping some files from one folder to other. Application was working correct yesterday for me, but I get this error today:

    D:\topcoder\tc_node_bb\poc\nodebb\src\logger.js:41
    Logger.setup_one('loggerPath', meta.config.loggerPath);
    ^
    TypeError: Cannot read property 'loggerPath' of undefined
    at Object.Logger.setup (D:\topcoder\tc_node_bb\poc\nodebb\src\logger.js:41:45)
    at Object.Logger.init (D:\topcoder\tc_node_bb\poc\nodebb\src\logger.js:36:10)
    at async.series.async.parallel.db.getObjectFields.themeId (D:\topcoder\tc_node_bb\poc\nodebb\src\webserver.js:171:12)
    at D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:551:21
    at D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:227:13
    at iterate (D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:134:13)
    at async.eachSeries (D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:150:9)
    at _asyncMap (D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:226:9)
    at Object.mapSeries (D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:216:23)
    at Object.async.series (D:\topcoder\tc_node_bb\poc\nodebb\node_modules\async\lib\async.js:549:19)

    Any idea?


    edit

    I forgot to run redis. Anyway this error is not meaningful.

    The first error is

    Error: ENOENT, no such file or directory 'd:\topcoder\tc_node_bb\poc\nodebb\node_modules\nodebb-plugin-mentions\static\plugins\nodebb-plugin-mentions\autofill.js'

    but the real path is D:\topcoder\tc_node_bb\poc\nodebb\node_modules\nodebb-plugin-mentions\static\autofill.js



  • @sky

    I had a similar issue when i installed it on windows. All i did was copy the files from the actual path into the one NodeBB wants. Had no problems since then but it might be worth raising an issue on Github.

    I had to create

    \static\plugins\nodebb-plugin-mentions\     
    

    and copy everything from

    nodebb\node_modules\nodebb-plugin-mentions\static\    
    

    into there. I can get the exact files for you when I get home, if you want?



  • @Scuzz

    Yes, I did that and it worked. Anyway someone should fixed it


  • Plugin & Theme Dev

    Weird... I'm on Windows and I'm not getting that.


  • GNU/Linux Admin

    Anyway someone should fixed it

    (chuckle)

    That style of script injection doesn't seem ideal anyhow -- may refactor it so that they can be defined straight in plugin.json



  • @Mr_Waffle I think this was in a fresh install with a

    npm install
    

    It happened when i deleted nodebb and re-installed it.


Log in to reply
 

Suggested Topics

  • 3
  • 16
  • 10
  • 3
  • 6
| |