Oh, i like the custom hook idea, thx
APXEOLOG
Posts
-
Share information between plugins -
Share information between pluginsHi! How can i share information between plugins? I've made BBCode plugin and now i want to create extension plugin to support new feature with new bb codem so i need to somehow inject this information into the first plugin. Do you have any mechanics for this?
-
Plugins not displaying in Admin console@snodejoke got exactly same problem, thx for the answer. it is enough to specify name and version in package.json, but version should always have x.y.z format
-
Embed blogHi! Checked lots of plugins but cannot determine if there is such plugin for 0.7x
The only way i see is to integrate it with WordPress (http://burnaftercompiling.com/nodebb/wordpress-integration-is-finally-here/). Any other variants?
-
Crash after 0.6.4 -> 0.7.0Ok i've fixed this with npm install cookie-signature
-
Crash after 0.6.4 -> 0.7.0Launching NodeBB in "development" mode.
To run the production build of NodeBB, please use "forever".
More Information: https://docs.nodebb.org/en/latest/running/index.htmlNodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.htmlClustering enabled: Spinning up 1 process(es).
24/5 07:46 [14580] - info: Time: Sun May 24 2015 07:46:42 GMT-0400 (EDT)
24/5 07:46 [14580] - info: Initializing NodeBB v0.7.0
24/5 07:46 [14580] - verbose: * using configuration stored in: /usr/nodebb/config.json
24/5 07:46 [14580] - verbose: * using redis store at 127.0.0.1:6379
24/5 07:46 [14580] - verbose: * using themes stored in: /usr/nodebb/node_modules
24/5 07:46 [14580] - verbose: [notifications.init] Registering jobs.
24/5 07:46 [14580] - error: Error: Cannot find module 'cookie-signature'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/nodebb/node_modules/csurf/index.js:16:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
Error: Cannot find module 'cookie-signature'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/nodebb/node_modules/csurf/index.js:16:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
24/5 07:46 [14580] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
24/5 07:46 [14580] - info: [app] Database connection closed.net.js:1233
throw new Error('Not running');
^
Error: Not running
at Server.close (net.js:1233:11)
at shutdown (/usr/nodebb/app.js:374:36)
at process.<anonymous> (/usr/nodebb/app.js:174:3)
at process.EventEmitter.emit (events.js:95:17)
at process._fatalException (node.js:272:26)
[cluster] Child Process (14580) has exited (code: 7, signal: null)I assume some plugin cause this error, how can i disable them without running application?
EDIT: Ok i've disabled plugins with ./nodebb reset plugins but still have this error
-
Crash after 0.6.4 -> 0.7.0Got error while while upgrading, sadly didn't log it.
Later when i tryied to start i go error in log:net.js:1233
throw new Error('Not running');
^
Error: Not running
at Server.close (net.js:1233:11)
at shutdown (/usr/nodebb/app.js:374:36)
at process.<anonymous> (/usr/nodebb/app.js:174:3)
at process.EventEmitter.emit (events.js:95:17)
at process._fatalException (node.js:272:26)
3 restarts in 10 seconds, most likely an error on startup. Halting.