@pasib when you concatenated the object, it got stringified.
Try console.log('test', postData); 🙂
Okay, i've been running NodeBB at my site for a couple of months now and really like it. However, Ghost (the blogging platform) doesn't really offer what I need to expand my site to serve other content, such as news articles and blogs, so i'm looking to add Wordpress to the mix.
My setup: Ubuntu, Nginx, Redis, NodeJS (all updated as of today)
I have also installed PHP-5 and MySQL to use for Wordpress. Neither are in use for anything else at the minute.
My problem is, while I was fine with Apache, i'm not too great with Nginx.
Currently, the forum runs on http://www.onlyanexcuse.com - i'd like to move it to a subfolder or subdomain (the latter I believe is the better option?).
So to do this, what:
The last option is one which has been ticking over in my mind, to keep things tidy I thought keeping them separate may be the best option. Linking the two and making them work together with blog commenting are my main concerns. I don't mind spending a couple of quid a month more for a more flexible system if it works better.
What kind of specs are you using right now for the NodeBB install?
From what I know, the blog comments plugin should work fine with Wordpress. Let us (@psychobunny specifically) know if you run into troubles.
@julian - 1GB memory, single core, 30GB SSD & 2TB transfer. I don't think I'd have problems with them running on the same server but if there's the increase in traffic I hope for from adding Wordpress I realise the strain it may cause.
NodeBB is fairly resource light, although memory is the limiting factor, for both Redis and MongoDB, since:
With 1 core, you'll see issues where registrations and logins will lock up the server (for 1-2 seconds at a time), since the CPU is tied up in hashing the user's password. For low traffic forums, this is a non-issue.
Thanks @Julian - i've set up a separate droplet on DO so that will alleviate any problems that may cause; and if either side of the site needs more resources it's a case of increasing as required.
Any ideas on how best to configure the domain to run the Wordpress install at it, and use a subdomain to point to the forum?
Bear in mind the droplets have different IP addresses, would this cause any problems if I set up the blog comments plugin?
As far as subdomain goes you will need to change DNS settings withing digital ocean cpanel and then edit nginx config file.
@Bobber thanks, that looks pretty cool! I'll have to give this a try.
Edit: scratch all above. I've managed to sort it. Must have been DNS taking its time.
Hi @Danny-McWilliams I had a look at your Scottish football forums and NodeBB is working well and looking good.
I saw that you switched from Vanill and that it caused you problems. I only came across NodeBB this evening and until then had been considering switching from BBPress in my WordPress site to either Vanilla/Discourse/VB (though I'm considering NodeBB now too).
May I ask what issues you had with Vanilla?
@WhichInv thank you, it's working well for us - the problems I had with Vanilla were accumulated over time through my own faults and inexperience, other were ongoing issues with the software. I first installed Version 2.0 and instead of a stable version, opted for the latest development builds which I updated regularly. I was an early adopter of 2.1 and the dev builds of that version.
My main issues came with the database. A couple of times the normal upgrade method wouldn't quite cut it, so it was just as simple to install a fresh forum and hook up the database. Other times I used importer to fill the database. Over time, things went missing and sections of the database became corrupt and in trying to install the latest stable version, I'd somehow messed up the database trying to alter things and it was a lost cause.
The other main issue was a combination of spam and registrations. Vanilla is a magnet for spambots, and numerous measures need to be taken to ensure that they're kept at bay. Spammers 90% of the time were registering, flooding the activity feed (which they can access if you don't set permissions properly) and going, even before confirming registration.
There are detailed methods to prevent spam outlined in the forum at vanilla, but it eventually got so unwieldy that it put off registrations. For example, to register we had a "are you human" question (a sum), a recaptcha, username, password and "why do you want to join" question, on top of email validation, Stop forum spam, Akismet... so either new users were put off (unless they used SSO) or locked out of using the forum.
Then, for almost 5 months last year we were unaware people couldn't register because there was an issue with recaptcha; it didn't show on the registration page (that was a theming issue), I thought there wasn't one there and no-one could register because they couldn't see it to fill it in!
That's not to say I wouldn't recommend Vanilla - it is excellent, and has a wealth of plugins to get things done, with a busy support community - if you set it up properly.
I am enjoying NodeBB and though I promised I wouldn't use something in development again, I have been pleased with both its features and ease of use for our users - I wanted something similar enough to Vanilla for them to adopt.
@DevPre I don't mind that there aren't many plugins because plugins are the main reason BBPress is so bad. Many of them are abandoned and forgotten by their creators. As a result when WordPress or a plugin is updated there are frequent problems caused by something to do with BBPress that takes ages to pin down.
NodeBB's large number of Plugins worry me, especially because I can find no reference to plugin quality control.
@Danny-McWilliams Wow wee bit of a journey you had there. looks like you managed to retain enough of your community though to keep your forums viable which is good going.
I'm not a football fan (though I pretend to support Motherwell/Arsenal - won't catch me watching them play) but there are a healthy variety of topics with active conversations on your forum.
Have you had a look for a Wordpress theme centred around forums? I haven't either but there are all sorts of themes on Themeforest, and they rarely cost more than USD $50.