To give you a little bit of history...
@youhosi -- no, we explicitly made the decision to not use a framework for our frontend because we as developers were trained in an era when client-side frameworks did not exist.
However, in hindsight this decision ended up being quite advantageous for the following reasons:
Speed at the expense of convenience
You will always find that framework-less websites and web apps are much faster than ones using frameworks. My belief is that this is the case because frameworks need to broadly apply to as many use cases as possible, and this necessitates a significant amount of excess code that slows down the application.
We use BenchpressJS for our front-end templates, which is highly optimized and efficient, against at the expense of more esoteric logic. However, we find this is a good balance of speed vs. convenience. Thanks to @PitaJ and @psychobunny for putting in the legwork to create our templating system!
We also use jQuery to ease client-side development.
There will always be developers who can code in a framework-less style, and we do not see this going away any time soon.
Frameworks come and go, but our code will always be more-or-less up to date and supported.
For example, could you imagine if we wrote our app in Angular 1 (which was all the rage at the time)? We also considered using MooTools instead of jQuery, which is pretty much defunct now. Every time a dependent framework goes, the developers leave for greener pastures (see point 2), and you'll be stuck with a codebase that needs rewriting.
All of the above points are open for debate (and I do encourage it here), but this is our thinking as of this moment
Hello, I have imported database from the mybb using importer tool, then upgraded nodebb forum to newest one (1.13.2)
I wanted to make a category become subcategory of another. But like image shows,
Nothing is shown (but I can still select any of those blank fields).
How do I fix this?
@Daniel-Furth Yes and no. The cookie consent banner is still purely informational, but we no longer store cookies for anonymous users except for one case:
If an anonymous user stumbles onto a restricted page (e.g. /unread), they will be redirected to the login page. This saves their previous page so they we can re-direct them back to that page when they complete a login.
@rdomzim Short answer, yes, you can delete those keys with impunity. You can also delete sess:* keys older than 14 days, but I think those automatically expire.
Long answer -- ask @baris why it was removed?
NodeBB is designed to work best under a virtual private server. Using a traditional hosting service is not recommended as they do not have the capabilities to power NodeBB effectively.
The code and instructions can be found here at our project repository
Full instructions can be found in our Documentation Portal
We recommend DigitalOcean to host your NodeBB, you'll get a month free just by registering with this link. You can also try applying the 10TOSHIP coupon to get another two months free, and as an added bonus, you'll be helping us out too!
Thank you for your interest in NodeBB!
Running ./nodebb upgrade I get the following:
Dependencies outdated or not yet installed.
Installing them now...
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/thomaspark/bootswatch.git /root/.npm/_cacache/tmp/git-clone-969f95f2/.git
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-969f95f2/.git'
I'm aware of the following issue and did try the suggested workaround in this comment: https://github.com/NodeBB/NodeBB/issues/7967#issuecomment-541572134
To no avail.
So the hash doesn't work for me despite https://github.com/thomaspark/bootswatch/pull/916#issuecomment-540655426
Is there a way to circumvent this and upgrade to the latest?
Any pointers highly appreciated, thanks in advance!
PostMidnight created this issue in NodeBB/NodeBB
npm upgrade stuck: bootswatch
tomyam1 created this issue in thomaspark/bootswatch
fix remote font imports for less 3 again
@PitaJ said in New Install, Logins And Registrations Failing:
Have you tried on different computers / browsers?
Just got it working. Or seems to be. Been stable for a bit now and the admin page is back.
Had to replace the URL of the site, with localhost:localport
@wayne-workman that is actually a very good idea that we can also use...
We do sometimes give people 1 week or 2 weeks "temporary" bans, which would look better if not tagged as "banned", so it is more obvious for all the users...
it would be good to have options such as "inactive" , "frozen" , "penalized" etc.
Short of using OAuth2, you could write your own app component to tie NodeBB into MySQL. One of the issues is that MySQL is a generic database so the format of your authentication easily won't match in some obvious way, so needs a customer connectors no matter what. Just adding another DB source for authentication would not solve your problem. It would have to be something that connects to your database and has the ability to understand your schema and has the ability to store all necessary additional schema changes there.
Right... in that settings/email page, there should be a big black text box for you to customize the template.
Use the dropdown to change the template to the digest template, and then revert it back to the default template... I'm thinking there might be a custom template set.