@julian nice that would really be a very nice way to do it - so i don't have to watch trello - it would trigger nodebb
Thomas Krickl
Posts
-
API -
Using category specific conditionals on templatenot to sure about that - i think it depends on what you are doing or you want to achieve.
in flask you are loading for example a bunch of data as json dicts and pass them like the are on to the template - there you have a for loop which extracts the fields you need for every entry and generate the template. i think that this is a very fast way to do it and it's very easy and simple to write the template.
otherwise you would have to make a template sigular for one db entry and open it for every entry you want to display and fetch it into the main layout...but to be honest - i haven't jet read your source because i'm very new to this forum and node... maybe i'm wrong
-
wildcards for member search for manage groupit would be awesome if there would be a some thing like show all users * or show all that are not in this group ^
some kind of regexp / wildcard search thing
just a thought -
Using category specific conditionals on template@trevor maybe this could be for interest: post indivual layout with {{cid}}
-
Using category specific conditionals on template@julian said:
Hm... we don't support evaluation of conditionals in our templating engine, and I think you'd be hard pressed to find it in any others (though I could be wrong!)
hey julian - jinja templates for python are making extensive use of conditions, loops, exeptions...
maybe as an inspiration
jinja templating engine -
API@frissdiegurke
hey and thanks for the quick respondsja you are totally correct - that would be the right way to do it
the only thing i'm concerned about right know is, that i'm in a hurry and never have worked with node.js before. i have my knowledge and tools together in python, flask, mongodb
but as i wanted to have a look at metor as well this might be a nice challange for me to get into node.js and write a nice plugin for your awesome forumi'll come back to you and let you know whats going on.
cheers ToM -
APIhey Friends
We are using nodebb as an internal communication tool. we would like to be able to send infos from our trello board to the forum, when tickets have been set up, changed or finished.
Is there anything planed to integrate something like a REST api?
If not right now, i think i will try to establish some tool that writes directly to the db (mongodb in my case)cheers
ToM -
[Solved] get a lot of ERR! during installation from npmYo yo yo
You are the man - works
i've never worked with node.js before so i didn't know about the npm i -g npm update procedure.
after i did that, i cloned the latest build from githubnpm install ran without any error
nodebb setup - without error
[SOLVED]
thank you very much again - now i can configure this beautiful virgin forum
cheers
ToMPS: I'm going to sleep now as well...
-
[Solved] get a lot of ERR! during installation from npm@psychobunny said:
npm i -g npm
first - thanks for the quick replay
thanks just tryed it but it still gives me the same error during setup - error: Cannot read property 'sockets' of undefinedi'll run the whole installation again... coming back to you once that is done
cheers
ToM -
[Solved] get a lot of ERR! during installation from npmhey friends
i try now for a couple of hours to install nodebb but i always get a lot of errors.
i got it running once but without setting admin password during setup so it was worthless.
i already now get to the point to be able to set a admin password but then setup stops with:
error: Cannot read property 'sockets' of undefinedduring npm install i get a lot of this messages (most of them i could handle by manually installing packages):
npm ERR! Error: No compatible version found: npm@'^1.4.6'
npm ERR! Valid install targets:
npm ERR! ["1.1.25","1.2.32","1.3.2","1.3.4","1.2.20","1.2.21","1.2.22","1.2.23","1.2.24","1.2.25","1.2.27","1.2.28","1.2.30","1.2.31","1.3.0","1.3.1","1.2.19","1.1.70","1.1.71","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.3.10","1.3.11","1.3.12","1.3.13","1.3.14","1.3.15","1.3.16","1.3.17","1.3.18","1.3.20","1.3.21","1.3.22","1.3.23","1.3.24","1.3.25","1.3.26","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:709:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:631:10
npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]npm ERR! System Linux 3.8.0-35-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /var/www/nodebb
npm ERR! node -v v0.10.9
npm ERR! npm -v 1.2.24
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/nodebb/npm-debug.log
npm ERR! not ok code 0