1.13.0 Breaking Changes

NodeBB Development

Suggested Topics

  • 9 Votes
    10 Posts

    @pitaj said in NodeBB v1.6.0 has been released!:

    I suggest you try it. It has been tested with Gmail, but we haven't been able to test other providers there.

    The switch offers no explanation and seems not to do anything.

    The switch enables that configuration, but it only applies if an emailer plugin isn't activated.

    OK, thanks for the explanation.

    I think I will stick to the external SES plugin since, as far as I understand, this whole section is about using SMTP for sending e-mails which requires storing credentials in database. We use IAM roles to grant implicit permissions to use SES on instances that run our Forums - and nodebb-plugin-emailer-ses is able to pick that up.

  • 0 Votes
    1 Posts

    I'm trying to integrate angular 1.3 with NodeBB as we need are looking for options to integrate it with our angular application with some customization. However, angular controller objects are not recognized in tpl files and I'm guessing that it's looking for those objects in respective js files instead of looking at angular scopes.
    I've included angular in header.tpl and tried to initialized ng-app on a div tag.

    How to achieve this?

    Code snippet -

    <head> <title>{browserTitle}</title> <!-- BEGIN metaTags -->{function.buildMetaTag}<!-- END metaTags --> <link rel="stylesheet" type="text/css" href="{relative_path}/assets/stylesheet.css?{config.cache-buster}" /> <!-- IF bootswatchCSS --><link id="bootswatchCSS" href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS --> <!-- BEGIN linkTags -->{function.buildLinkTag}<!-- END linkTags --> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script> <script> var RELATIVE_PATH = "{relative_path}"; var config = JSON.parse('{{configJSON}}'); var app = { template: "{template.name}", user: JSON.parse('{{userJSON}}') }; var myApp = angular.module('spicyApp1', []); myApp.controller('SpicyController', ['$scope', function($scope) { $scope.spice = 'very'; $scope.chiliSpicy = function() { $scope.spice = 'chili'; }; $scope.jalapenoSpicy = function() { $scope.spice = 'jalapeño'; }; }]); </script> <script src="{relative_path}/assets/nodebb.min.js?{config.cache-buster}"></script> <!-- BEGIN scripts --> <script type="text/javascript" src="{scripts.src}"></script> <!-- END scripts --> <!-- IF useCustomJS --> {{customJS}} <!-- ENDIF useCustomJS --> <!-- IF useCustomCSS --> <style type="text/css">{{customCSS}}</style> <!-- ENDIF useCustomCSS --> </head> <body class="{bodyClass} skin-{config.bootswatchSkin}" ng-app="spicyApp1"> <div> <div ng-controller="SpicyController"> {{SpicyController}} </div> </div>
  • 1 Votes
    9 Posts

    @julian Thanks for the update 🙂

  • 3 Votes
    10 Posts


    No announcement thread in the announcements section?

    Congratulations, guys! NodeBB has come a long way.

  • 0 Votes
    8 Posts

    Sorry for necromancy but I have exactly the same problem as @shri to change sidebar bootstrap properties...

    With the latest nodebb version, do I need to do the same hack modifying directly the widget.js code ?