@PitaJ thanks
SuperMike
Posts
-
Emoji Extended get error when clicking update files on v1.5.0 -
Emoji Extended get error when clicking update files on v1.5.0Everything goes well except emoji extended plugin.
When I clicking update files
Worse is this cause server shutdown
-
TypeError: Cannot read property 'loggedIn' of undefinedGetting
Cannot read property 'loggedIn' of undefined
error in console.I can't point out in which route page this error happens.
Can anyone give me some hints?
nodebb (err): TypeError: Cannot read property 'loggedIn' of undefined nodebb (err): at helpers.displayMenuItem (/site/www/public/src/modules/helpers.js:20:44) nodebb (err): at checkConditionalHelpers (/site/www/node_modules/templates.js/lib/templates.js:269:76) nodebb (err): at parse (/site/www/node_modules/templates.js/lib/templates.js:424:15) nodebb (err): at parseTemplate (/site/www/node_modules/templates.js/lib/templates.js:133:14) nodebb (err): at Object.templates.parse (/site/www/node_modules/templates.js/lib/templates.js:119:11) nodebb (err): at View.express [as engine] (/site/www/node_modules/templates.js/lib/templates.js:172:30) nodebb (err): at View.render (/site/www/node_modules/express/lib/view.js:126:8) nodebb (err): at tryRender (/site/www/node_modules/express/lib/application.js:639:10) nodebb (err): at EventEmitter.render (/site/www/node_modules/express/lib/application.js:591:3) nodebb (err): at /site/www/src/middleware/header.js:159:13 nodebb (err): at fireFilterHook (/site/www/src/plugins/hooks.js:103:11) nodebb (err): at Object.Plugins.fireHook (/site/www/src/plugins/hooks.js:87:5) nodebb (err): at /site/www/src/middleware/header.js:154:12 nodebb (err): at /site/www/node_modules/async/lib/async.js:726:13 nodebb (err): at /site/www/node_modules/async/lib/async.js:52:16 nodebb (err): at done (/site/www/node_modules/async/lib/async.js:246:17)
-
What's the name of this plugin ?@baris said in What's the name of this plugin ?:
Are you using persona? This is only added to persona so far.
Hi, @baris caused by my fault since I have not migrate the latest persona template. Everything works well now. thanks!
-
What's the name of this plugin ?@baris said in What's the name of this plugin ?:
It is part of core since 1.3.0
Hi @baris . This does not work on my community, quote still follow the old style. I just migrate from 1.1.2 to 1.3.0(Use nodebb upgrade). Any outstanding I need to do ?
-
What's the name of this plugin ? -
Updating to 1.3.0 - Issues@Jenkler said in Updating to 1.3.0 - Issues:
Any know issues with 1.3.0 from 1.2.x, is it safe to update!
Tell me about your issues
Everything goes well
-
What's the name of this plugin ?Just noticed this plugin in official community. I want to introduce this to my community as well.
What's the name of this plugin ? thanks
-
Volunteer for Chinese Support PortalAs Chinese Support Portal always be unavailable. Could we change the address to another host ?
I have an ECS server on aliyun(supports robust network env in China)
with 4 cores, 16GB RAM, 2Mbps. And the expiry date is 2017-06-17, so I could guarantee it could serve approximate one year at least. -
Category color is missing in Recent page@julian said in Category color is missing in Recent page:
Ok. It's WAI
(WAI stands for "Working as Intended,")
-
Category color is missing in Recent page@julian So this is a feature rather than a defect.
-
Category color is missing in Recent pageCategory color is missing in
recent
page.
-
About a plugin to clean and tidy our database@jiangcaiyang said in About a plugin to clean and tidy our database:
I could not delete certain user from our chat room whereas I can when adding user to chat room.
I faced the same problem when upgrade to 1.10. But I could delete user after create a new room. So I think it must be caused by the consistence of data in DB.
-
Status v1.1.0emoji could not active after upgrade to 1.1.0
I am upgrading from 1.0.3 to 1.1.0, everything goes well except emoji plugin. Active button is unavailable, I clicked
update files
, but it's processing with endless. -
Mathjax supportI am using https://www.npmjs.com/package/nodebb-plugin-katex
to render mathjax script. It works good so far.
-
How to waiting a plugin finish initializing in another plugin?I am writing a plugin that depends on another one.
So I have to make sure the depended plugin finish initializing(static:app.load), then I can start my init work.
Is there a way to do this ? thanks
-
Anybody using ES6 yet?Just using function syntactic sugar
var hello = (name) => {....}
And this makes code clear in
async
flowasync.waterfall([ (next) => { next(err, 'name') }, (name, next) => { next(err, 'final') } ], callback)
-
NodeBB Android AppWorks great
-
User defined navigation return 404 after press `F5`@baris Chrees! This really helps.
-
User defined navigation return 404 after press `F5`I defined a navigation in admin console named
MyView
with route/myview
Bellowed is the init code in my plugin
plugin.http = {}; plugin.http.get = function(req, res, next) { res.render('myview', {}); }; plugin.init = function(data, callback) { data.router.get('/api/myview', plugin.http.get); callback(); };
code in
plugin.json
"library": "./library.js", "hooks": [ { "hook": "static:app.load", "method": "init" } ], "staticDirs": { "static": "./static" }, "less": [ "static/myview.min.less" ], "templates": "templates"
the
templates/myview.tpl
is quite simple with static HTML 'Hello nodebb'
Works well when access the page from navigation bar. But the title is missing, it's still 'Home'
Stay here, then press 'F5' it becames 404.
Any outstanding I should do Or I did it in a wrong way?