Skip to content

NodeBB Plugins

Discussion regarding NodeBB Plugin development.

1.8k Topics 15.0k Posts
Most Voted Plugins

Subcategories


  • Have a question about building a plugin? Ask here
    425 Topics
    2k Posts
    barisB

    https://community.nodebb.org/post/88242 I think this answers your question. Let me know if it doesn't work.

  • Need a plugin developed? Ask here!
    222 Topics
    1k Posts
    barisB

    Plugin doesn't show usernames if they set their status to offline AFAIK

  • 0 Votes
    2 Posts
    2k Views
    P

    Depends, if you're doing largely front-end code (like embedding an iFrame to some chat application) then a widget works best. If you want to modify the API or save things into the database, then a plugin is right for you.

    I think your best bet is to figure out what you need to do, and then find a plugin that does something similar, and modify that plugin, or take code from it (it's open source afterall ;))

  • featured topics widget 4x1 not displaying

    13
    0 Votes
    13 Posts
    5k Views
    G

    @Giorgio-Chiodi OK it's been fixed now on github! Thanks @julian @baris

    yTFyGfu.png

  • Plugin-Mentions Issue

    3
    0 Votes
    3 Posts
    2k Views
    julianJ

    Yesh... that warning means NodeBB reports itself as v0.4.3 (because v0.5.0 hasn't been released yet), but the mentions requires v0.5.0 (which the latest commits do satisfy)

  • Blue Posts for NodeBB

    4
    2 Votes
    4 Posts
    3k Views
    ?
    Ran install command. Not listed in plugins. Check command - ran correctly. Anger Rage Check post "bleeding edge (v.5)" Despair.

    Can't wait to test this out!

  • 1 Votes
    8 Posts
    4k Views
    A

    @psychobunny Brilliant, works. Now for the actual theme changing part. 😆

  • Support for WebM

    6
    2 Votes
    6 Posts
    3k Views
    A

    Ok I made some progress, I'm connected to the api, however the video code doesn't work.

    The code in the templates file is

    <div class="row"> <!-- begin gfyItem --> <video width="640" height="320" poster="//thumbs.gfycat.com/{gfyItem.gfyId}-poster.jpg" style="display: block;" muted="muted" loop="" autoplay="" class="gfyVid" id="gfyVid1"> <source type="video/webm" src="{gfyItem.webmUrl}" id="webmsource"> <source type="video/mp4" src="{gfyItem.mp4Url}" id="mp4source"> Not supported, please try the URL: <a href="{gfyItem.gifUrl}">{gfyItem.gifUrl}</a>. </video> <!-- end gfyItem --> </div>

    And what comes out, is

    <div class="row"><a href="Correct URL">Correct URL</a></div>

    So it's connecting, but there seems to be an issue with running the video aspect of this, it's definitely not my browsers as I'm using Canary & Firefox 30.0. So one of the two fallbacks should work. All I get in Chrome is ::before and ::after either side of the link.

  • 0 Votes
    5 Posts
    3k Views
    fmartingrF

    Thanks for your help @julian !

  • How can I customize share menu?

    14
    0 Votes
    14 Posts
    5k Views
    fyhaoF

    Hi Admin, I found that also. I hope that NodeBB can create a plugin hook for extending the share menu, without other developers use some CSS hack to hide it or what. Good for future forum upgrades, because future upgrades may overwrite the custom changed code in the core system.

  • NodeBB swift language highlight plugin

    1
    3 Votes
    1 Posts
    958 Views
    maniM

    source

    upload-c99ba1fb-dc2d-4db2-9dee-d0056b20fabc

  • Geographic Mapping Plugin

    20
    3 Votes
    20 Posts
    9k Views
    sehS

    @Giorgio-Chiodi said:

    @seh @julian Hello guys, just stumbled into this - could it come in handy for something?

    http://cartodb.com/

    not really, that's the same functionality i'm hoping the maps + the other plugins will be able to make possible in NodeBB. without involving hosted service 😄

  • 0 Votes
    6 Posts
    3k Views
    S

    @julian I think it happens at bitbangers too. Nothing is hidden other than shoutbox but that is built in.

  • [nodebb-plugin-static-page] Static Pages

    25
    1 Votes
    25 Posts
    12k Views
    T

    @julian said:

    @Tanner Updated OP 🙂

    Thanks for that 🙂

  • 1 Votes
    2 Posts
    2k Views
    T

    Updated for nodebb 0.4.3

  • 4 Votes
    9 Posts
    4k Views
    A

    @meetdilip It allows developers to create code snippets for demo purposes without needing to create a full webpage.

    This is the jsfiddle demonstrating nodebbs new badges and what they could look like.

    Edit fiddle - JSFiddle - Code Playgroundzap

    Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.

    favicon

    (jsfiddle.net)

  • 3 Votes
    4 Posts
    3k Views
    S

    I copied and pasted their html into a widget. This seems slightly easier though.

  • 3 Votes
    3 Posts
    2k Views
    ?

    Ow, yeah Thanks 🙂

  • 2 Votes
    5 Posts
    3k Views
    maniM

    @psychobunny Yes, I have published to NPM, when will 0.5 release?

  • Some problem with plugins

    4
    0 Votes
    4 Posts
    2k Views
    markkusM

    @Loethen-Shen
    If you are using nodebb-plugin-emoji-extended then there is a 'dirty' fix for that.
    Navigate to your Emoji plugin folder and open index.js.
    Example path: /home/nodebb/node_modules/nodebb-plugin-emoji-extended/index.js.

    Once you've opened the file, find a part where it states emojiPath="http://127.0.0.1:4567/plugins/nodebb-plugin-emoji/images/".
    Set this to something like this emojiPath="http://forum.domain.com/plugins/nodebb-plugin-emoji-extended/images"

    Of course, this will only work if you are running NodeBB with nginx or Apache proxy.

  • 3 Votes
    9 Posts
    4k Views
    dibuD

    @julian said:

    @scottalanmiller How unfortunate!

    In a nutshell, perhaps something like this?

    would be great!

  • 5 Votes
    5 Posts
    3k Views
    julianJ

    @niro That's right... I encourage plugin writers to use the scripts property in plugin.json over the scripts.get hook if at all possible, as the script is then minified on production.