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

  • [nodebb-plugin-events]

    3
    0 Votes
    3 Posts
    1k Views
    P

    @psychobunny You make me sad all the time. 😞

  • redirect post to url

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    @chrismccoy you'd have to make a plugin and override the express route to be a redirect.

  • Gallery Plugin.. How to Use it?

    2
    0 Votes
    2 Posts
    1k Views
    Muchsin AssegafM

    Re: [nodebb-plugin-gallery] Lightbox Gallery Plugin

    It seems the plugin is not working for me.
    So when creating new topic/reply and I click "picture" in the composer, the image will not open in a lightbox.. I need to go back and forth to see another image
    And if by "upload image", the image will open in a lightbox, but at first it will open in a new tab.

    I install the plugin via ACP.

    Thanks

  • invalid csrf token

    6
    0 Votes
    6 Posts
    2k Views
    Bruce LeeB

    Thanks @yariplus and @julian for the help, I made a careless mistake.
    The button was requesting using wrong method, ie. PUT instead of POST.

  • Google SSO issues - invalid username

    7
    0 Votes
    7 Posts
    2k Views
    JenklerJ

    Cool 😉 Must have been a hick up here then 😛

  • 0 Votes
    2 Posts
    1k Views
    yariplusY

    Looking at the code, it appears the plugin will not automatically associate your token's id with an existing user's uid when they overlap (likely for security reasons). It checks the database hash 'appId:uid' for the association. The hash fields are your app's id and the value is the associated uid. You should be able to manually create an association with an existing user by editing that hash.

    I think the mongo command would be like this:
    db.objects.update({ _key: "appId:uid" }, { $set: { "13": "13" } })

  • 0 Votes
    6 Posts
    2k Views
    barisB

    Should be fixed on master.

  • Creating a more advanced plugin!

    5
    0 Votes
    5 Posts
    1k Views
    JenklerJ

    sure, I will speak with my customer and fix a spec of what should be done 🙂

  • [nodebb-widget-lunbo] hello nodebb ~

    5
    3 Votes
    5 Posts
    3k Views
    刘开

    @psychobunny i have changed the theme a lot since then, check careerfore to visit our site.

  • About a plugin to clean and tidy our database

    8
    1 Votes
    8 Posts
    3k Views
    SuperMikeS

    @jiangcaiyang said in About a plugin to clean and tidy our database:

    I could not delete certain user from our chat room whereas I can when adding user to chat room.

    I faced the same problem when upgrade to 1.10. But I could delete user after create a new room. So I think it must be caused by the consistence of data in DB.

  • 3 Votes
    10 Posts
    5k Views
    JenklerJ

    Here is my version of it. Check out the result on UEX start page. Feel free to use Google translate

    <style> #nyheter .date { float: right; } #nyheter img { display: block; height: auto; margin: 10px 0px; max-width: 100%; } #nyheter iframe { max-width: 100%; } </style> <table id="nyheter" class="table table-striped"></table> <script type="text/javascript"> var rss_urls = [ 'http://www.fz.se/core/rss/fznews_rss20.xml', 'http://loading.se/rss.php?type=news', 'http://www.eurogamer.se/?format=rss&type=news', 'http://www.gamereactor.se/rss/rss.php?texttype=4' ]; var news_items = []; var protocol = document.location.protocol === "file:" ? "http:" : document.location.protocol; for (var i = 0; i < rss_urls.length; i++) { var rss_url = rss_urls[i]; jQuery.ajax({ type: "GET", url: protocol+'//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + encodeURIComponent(rss_url), dataType: 'json', success: function(data) { values = data.responseData.feed.entries; var list = '', count = 0; jQuery.each(values, function(index, item) { if (count >= 5) { return; } var news_item = {}; var pubDate = item.publishedDate; var date = new Date(pubDate); var month = date.getMonth < 10 ? date.getMonth() : "0" + date.getMonth(); news_item.date = date.getFullYear() + "-" + month + "-" + date.getDate() + " " + date.getHours() + ":" + date.getHours(); news_item.datetime = date.getTime(); news_item.link = item.link; news_item.title = item.title; news_item.content = item.content; news_items.push(news_item); count++; }); update_table(); } }); } function update_table() { news_items.sort(function(a, b) { var keyA = new Date(a.datetime), keyB = new Date(b.datetime); // Compare the 2 dates if (keyA < keyB) return 1; if (keyA > keyB) return -1; return 0; }); var list = ""; for (var i = 0; i < news_items.length; i++) { var item = news_items[i]; list += "<tr><td><a href='" + item.link + "' target='_blank'>" + item.title + "</a><span class='date'''>" + item.date + "</span> <br/> <span>" + item.content + "</span><br/></td></tr>"; } jQuery('#nyheter').html(list); } </script>

    Sharing is caring ....

  • Adsence

    12
    0 Votes
    12 Posts
    3k Views
    A

    @Jenkler still with DFP you also can use AdSense and later on even more platforms.
    So basically you benefit from:

    Higher scalability Update independence

    😄

  • Q&A plugin quesion

    Unsolved
    3
    1 Votes
    3 Posts
    1k Views
    J

    🌕 🐮

  • 5 Votes
    18 Posts
    10k Views
    fyhaoF

    Hi All,

    I just made an update to the plugin in order to compatible with latest version v1.0.3 and with the following new updates.

    20160706:

    Added preview feature Added some grouping for the features Added geolocation capability. If your nodebb served via HTTPS and your user was using Chrome or any browser support geolocation, you can auto fill in latitude, longitude to some feature like map, weather. FIX some UI overlapping issue under v1.0.3 Compatible up to nodebb v1.0.3
  • Is there a local directory for nodebb plugins

    4
    0 Votes
    4 Posts
    2k Views
    L

    Oh I just realized, I can make a plugin that loads plugins from another directory

  • [nodebb-plugin-youtube-embed] Forked

    12
    1 Votes
    12 Posts
    4k Views
    PitaJP

    @teh_g you can use n to install a later version of Node if you want. Look up "n install NodeJS" it's super easy.

  • Wordpress Blog Posts not Importing in NODEBB

    1
    0 Votes
    1 Posts
    851 Views
    Pramvir RatheeP

    Hello everyone,
    I tried to import my worpress database in nodebb (i want wordpress Posts To be imported in NodeBB), But sadly it import users, categories, not the posts, what i am doing wrong ?

  • 11 Votes
    76 Posts
    41k Views
    Bruce LeeB

    I also think Nodebb need a redactor editor because basic users may not be custom to markup language.

    The issue now is that the default composer and redactor composer are incompatible, several plugins that was developed for the default composer will not work for redactor. I hope Nodebb can standardize the composer for both expert and novice users.

  • 0 Votes
    5 Posts
    2k Views
    J

    @yariplus Thanks! That's very helpful.

  • 4 Votes
    4 Posts
    3k Views
    J

    Finaly managed to fix 502, needed to use node v4 instead of v6.

    Still having an issue with this plugin when i try to login :

    Registration Error int-steam-unexpected-error