Posts made by rod
RE: Upgrading from version 1.4.5 to 1.11.2 / Unable to Save General Settings
Thanks @julian, that solved that issue.
Additional details. The problem may be the way that I have my S3 content bucket locked down such that my dev forum cannot access the files (different subdomain).
Upgrading from version 1.4.5 to 1.11.2 / Unable to Save General Settings
I have upgraded my dev forum from NodeBB v
1.11.2and have run into a few issues. The first is that I am unable to save changes to the
Settings > Generaltab. When I click the save icon I get the following error:
"Changes Not Saved
NodeBB encountered a problem
saving your changes. (Input file is
Which input file may be missing?
RE: nodebb v1.1.1 installation
@PitaJ I downgraded to Node 10 (dumped and rebuilt the server actually) and am still getting an error. This is it:
./nodebb start Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb restart" to restart NodeBB child_process.js:422 throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string. Received type function at normalizeSpawnArguments (child_process.js:422:11) at Object.spawn (child_process.js:532:38) at Function.module.exports.daemon (/usr/share/nodebb/devforum/node_modules/daemon/index.js:50:31) at module.exports (/usr/share/nodebb/devforum/node_modules/daemon/index.js:25:20) at /usr/share/nodebb/devforum/loader.js:221:21 at FSReqWrap.oncomplete (fs.js:141:20)
$ node -v v10.15.1 $ npm -v 6.4.1 Nodebb: 1.4.5
RE: push notifications
Try Pushbullet. I use it on my forum.
Also search here for pushbullet, there are a number of threads for it.
RE: nodebb v1.1.1 installation
When I go to start up the NodeBB I get the following:
$ ./nodebb start Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb restart" to restart NodeBB child_process.js:438 throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string. Received type function at normalizeSpawnArguments (child_process.js:438:11) at Object.spawn (child_process.js:553:16) at Function.module.exports.daemon (/usr/share/nodebb/devforum/node_modules/daemon/index.js:50:31) at module.exports (/usr/share/nodebb/devforum/node_modules/daemon/index.js:25:20) at /usr/share/nodebb/devforum/loader.js:221:21
My Node and NPM versions are:
$ node -v v11.10.0 $ npm -v 6.7.0
NodeBB version is
1.4.5. Yes, that is correct, 1.4.5. I apologize for hijacking this thread.
RE: The masonry.js not loaded if page refreshes directly
I’ve had this problem for quite some time so happy to see a fix may occur. Thanks!
RE: Help! Invalid CSRF token after upgrading to v1.5.1
@btw6391 Post your config.json, I think this has something to do with the URL and port. I think.
RE: Can I shorten the URL?
If your end goal was to create shortlinks for easier social media, etc., distribution you may be interested in a thread I created some time ago in which I ended up creating short links with the YOURLS short link system.
If you are curious, this is the thread: https://community.nodebb.org/topic/9712/post-tools-how-to-add-a-new-item
RE: First release pass nodebb-plugin-fileownership
I must get this installed on my test system and check this out. I hope it works with plugins like the S3 storage one.
@Giggiux That does not work. Nothing is displayed.
While looking at my "browser console" I see this error:
TypeError: document.write is not a function[Learn More] show.php:2:3
So it seems that
show.phpis forcing a document.write also.
I sent off a support request to the ad publisher system and am hoping they will offer their ad code that is better suited for NodeBB.
document.writeelement which I know does not behave with NodeBB.
Would someone be willing to take a crack at tweaking the following ad code to work with this software?
I think the
document.writeline and reformat it to use, let's say,
document.getElementById(or some other tag).
All help is greatly appreciated.
Thanks in advance.
RE: Pushbullet Config
@MBFTOM Aside from different URLS and the fact that you have your forum under "/forum" the setup looks the same.
Have you tested this from your profile in your NodeBB forum?
Profile > More (or the dots or whatever it is for your theme) > Pushbullet and then click on "Send Test Notification". What happens?
RE: Keeps losing connection
Change your URL to the domain it is running on. Something like:
It is a good idea to add the following entry to allow traffic to NodeBB only from your localhost, that being your webserver.
Let your webserver control the traffic to NodeBB.