Skip to content

NodeBB Plugins

Discussion regarding NodeBB Plugin development.

1.8k Topics 15.2k Posts
Most Voted Plugins

Subcategories


  • Have a question about building a plugin? Ask here
    440 Topics
    2k Posts
    barisB
    You could use the below custom javascript, it will open the last chat if there is no open chat. $(window).on('action:ajaxify.end', async () => { const { data } = ajaxify; if (data.template.chats && !data.template.roomId && data.rooms.length) { const Chats = await app.require('forum/chats'); Chats.switchChat(data.rooms[0].roomId); } });
  • Need a plugin developed? Ask here!
    223 Topics
    1k Posts
    Silver.meS
    I am willing to pay whatever it takes, $30 max.
  • [nodebb-plugin-secure-images] Always use secure images in posts

    9
    3 Votes
    9 Posts
    3k Views
    BriB
    The camo one is badass
  • Any efficient way on plugin development?

    3
    0 Votes
    3 Posts
    1k Views
    Bruce LeeB
    Thank @yariplus, learn something new today.
  • Write a plugin that call new restful API on server

    4
    1 Votes
    4 Posts
    2k Views
    yariplusY
    @Zinca-Bruce No problem! Let me know if you any additional help.
  • HTML in Newsletter?

    4
    2 Votes
    4 Posts
    2k Views
    yariplusY
    Updated
  • [nodebb-plugin-write-api] How to post HTML content ?

    6
    0 Votes
    6 Posts
    4k Views
    assameseA
    I installed and activated the plugin-sanitizehtml , restarted NodeBB as instructed, saved the default plug-in settings from ACP. But, now all my HTML tags have been stripped off (I can tell by looking at the source) What am I missing ? BTW, I uninstalled the Markdown-plugIn before installing the sanitizehtml plugIn.
  • "nodebb-plugin-bnch-cards" doesn't work on v.1.0.3?

    6
    0 Votes
    6 Posts
    2k Views
    BlueMoonlightB
    @pichalite Sorry I think I did not do enough work just now. I tried another several times and finally it succeeded with nodebb-plugin-recent-cards after restarting the forum instead of reloading it. Thanks for the help.
  • writing plugins with angular integration

    1
    0 Votes
    1 Posts
    1k Views
    Bruce LeeB
    hi, first of all, I love this forum software. Good job and sharing. Currently, I'm trying to learn how to write plugins. I have read around and understand that the frontend is using jquery. However, imo, jquery is "dirty" due to DOM manipulation and thus difficult to maintenance. I am wondering if there is any basic example on plugin that uses angularjs framework? If yes, can you please point me to it. Thanks in advance!
  • nodebb-plugin-custom-pages don't work in v1.0.3!

    4
    1 Votes
    4 Posts
    1k Views
    JenklerJ
    ahh, good to know. Thanks!
  • Any Good Guides on saving User Settings for a Plugin?

    4
    1 Votes
    4 Posts
    2k Views
    B
    @yariplus Thanks, that was perfect!
  • [nodebb-plugin-unresponsive] Unresponsive design

    10
    2 Votes
    10 Posts
    4k Views
    B
    This is growing and becoming a stylish front end. v0.3.0: [image: afM5yZ5.png]
  • Compatibility issue NodeBB 1.x.x??

    5
    1 Votes
    5 Posts
    2k Views
    E
    @yariplus Thank you.
  • [slush-nodebb-plugin] NodeBB New Plugin Generator - Request for feedback

    20
    8 Votes
    20 Posts
    7k Views
    J
    @lulzdev Sorry for the late reply, but I just ran into a javascript/css inclusion case where I wanted both included as static files for dev. I think just overriding the header.tpl and then linking to static js/css files in your plugin can be good for dev purposes.
  • [nodebb-plugin-audioplayer] time bubble missing z-index

    1
    0 Votes
    1 Posts
    757 Views
    A
    Hi, the sliding time bubble is cut of in FF.. probably due to incorrect z-index. It's not showing at all in Chrome.
  • Nodebb Badges plugin

    2
    0 Votes
    2 Posts
    1k Views
    yariplusY
    I recommend nodebb-plugin-ns-awards. It works well for giving badges. It can't do anything automatic yet, but I think that might be planned for the future.
  • Can't send email from AWS host

    3
    0 Votes
    3 Posts
    2k Views
    julianJ
    @Felipe-Reis In my case, sendmail could not be executed because it was located in /usr/sbin, which wasn't in my $PATH variable. export PATH=$PATH:/usr/sbin did the trick. You'll probably want to add it to your init script, or if you're running NodeBB manually, then add it to your bash script or run it by hand before starting NodeBB.
  • nodebb-plugin-wechat-share

    2
    1 Votes
    2 Posts
    2k Views
    yariplusY
    Guessing it shares posts on wechat, the Chinese messaging app.
  • Generate Thumbnail For Any File Upload

    9
    0 Votes
    9 Posts
    3k Views
    yariplusY
    @Kolluri-Suneel Glad to hear. I'll gladly help out if you have any other issues.
  • How to add a flag or what plugin can do it

    3
    0 Votes
    3 Posts
    2k Views
    H
    Thanks, I'll try it
  • JWT Authentication for Write API from Mobile App / Web App

    6
    0 Votes
    6 Posts
    4k Views
    SamuraisS
    Even use cookie is possible to make an mobile application, but the server should provide api to verify username and password and return cookie value for this session. And the mobile then set the cookie for following requests. I give it a sample for iOS platform. // set cookie storage NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways]; CDVPluginResult * result = nil; NSString *appUrl = [command.arguments objectAtIndex:0]; NSString *appCookie = [command.arguments objectAtIndex:1]; if (appUrl != nil && [appUrl length] > 0 && appCookie != nil && [appCookie length] > 0) { NSArray *cookieArray = [appCookie componentsSeparatedByString:@";"]; for (NSString *cookieItem in cookieArray) { NSMutableDictionary *cookieDict = [NSMutableDictionary dictionary]; NSRange range = [cookieItem rangeOfString:@"connect.sid="]; if (range.location != NSNotFound){ NSString *cookieValue = [cookieItem substringFromIndex:(range.location + range.length)]; //domainCookie = [cookieItem stringByAppendingString:domainRapidApps]; //[cookieDict setObject:domainCookie forKey:NSHTTPCookieValue]; NSURL *url = [NSURL URLWithString:[appUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; NSString *domain = [url host]; // set cookie [cookieDict setObject:@"connect.sid" forKey:NSHTTPCookieName]; [cookieDict setObject:cookieValue forKey:NSHTTPCookieValue]; [cookieDict setObject:domain forKey:NSHTTPCookieDomain]; [cookieDict setObject:@"/" forKey:NSHTTPCookiePath]; [cookieDict setObject:@"0" forKey:NSHTTPCookieVersion]; NSHTTPCookie *cookie = [NSHTTPCookie cookieWithProperties:cookieDict]; [cookieStorage setCookie:cookie]; } }
  • how to enable search features in nodebb for Chinese

    3
    0 Votes
    3 Posts
    2k Views
    julianJ
    The underlying dependency makes it difficult to support Chinese. Looks like you have it working with the Solr plugin now.