@johnsonjohnson said in Which is better NodeBB or Discourse?:
@gotwf's claim that Ruby on Rails is somehow history is absolute nonsense. So is the claim that it's somehow hard to customize and scale.
Most people who make such claims have no idea what Rails actually is. They've never used it, or at least never developed anything substantial with it. In addition they've often spent most of their lives learning something else and is therefore reluctant to vouch for anything new regardless of what it is.
@gotwf said in Which is better NodeBB or Discourse?:
.... bunches o' snippage....
Rails vs. NodeJS: Are you kidding? Was an early adopter of Rails back, circa 2003/4 or so? It rocked at that time as an alternative to then php stuff sporting the serious security hole of the day/week. Or so it seemed - php was pretty sketchy for a while there. Fast forward a decade and a half and it's freakin' no contest! Rails is all but history/legacy, at least in my mind.
Pretty sure I was using RAILS before most people hereabouts. Used to own the first edition of "the pick axe book" before some asshat "borrowed" it from my cube and never returned. That was copyrighted 2004 and I'd been using ROR for at least several months prior. It was a dandy alternative to the php security hole of the week. Fast forward to more modern times and I'd prefer to use else. But then I have also not used ROR in a decade so.... my impression may well be outdated.
But whatever. The above was an opinion. Your mileage may vary.
But it is cool that you feel passionate enough about ROR to create an account to post a rebuttal to something I posted nearly a year prior. So, @johnsonjohnson, welcome to NodeBB. You've tried the rest and found the best (TM)
P.S.; Even recounting that history has me pissed off again because they also stole my first edition copy of "The Pragmatic Programmer". Never replaced either. Fsck'ing hate thieves.
It's been several months since our Toronto team has convened in our downtown office, and we've blogged previously about how we are spending our free time during social distancing. But of course that DOES NOT mean the team hasn't been working hard. Version 1.14.0 includes expanded documentation and improved features, as well as streamlining and security fixes. Here are some highlights...
Click here to see the full blog post
No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database.
When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.
I recently wrote a blog post which goes hand in hand with developing NodeBB plugins as of late
nodebb-plugin-cloudstorage, GitHub, NPM
nodebb-plugin-lightgallery, GitHub, NPM
In the post, I talk about my workflow and wonder what other workflows people are using for there NodeBB development. NodeBB definitely presented it's own challenges, different from other Node.js projects I've worked on.
Would to hear about what others are doing.
As the title says, I'm trying to make it so only admins/mods can upload or adjust the cover images for people's profiles. I've looked around the various hooks and what not, but I'm at a loss of how to achieve this.
I was originally thinking I could edit the function of the upload/edit buttons and check if the person has the required permissions; but I cannot seem to find where their functionality is actually defined.