
EisFrei
Posts
-
I have no idea where bodyClass comes into play, but maybe this will help:
var async = require('async'); var total = ['a', 'b']; async.waterfall([function(called) { var arr = [1, 2]; async.forEach(total, function(item, callback) { arr = arr.concat(item); callback(); }, function(error) { called(null, arr); }); }], function(err, elem) { console.log(err, elem); // Output: null [ 1, 2, 'a', 'b' ] });
-
@baris when opening the topic directly, the title now is correct. When opening the topic using ajax the title is html-escaped
<!-- IF...
. -
I think you just discovered a bug in the title handling.
When visiting this topic directly without involving ajax, the title tag gets corrupted and the HTML looks like this:<title>Template conditional rel="icon" type="image/x-icon" href="/favicon.ico" />
Can't help you on your initial question, though. Sorry.
-
@trevor it basically removes the overlay-behaviour of the composer if your screen is very small. It keeps the textarea's height at a usable value (squished down to 2-3px isn't very useful) and you can look at the other posts to check something, too
-
I had this problem too and put this in the custom css. It's kind of hacky but the users in my forum like it better this way:
@media (max-height: 500px) { .composer { position: static; min-height:9em; padding-top:1em; } .composer .write-preview-container { min-height: 5em; } body { margin-bottom:0!important; } }
-
Depends on what you want.
If you want the file to be downloadable you can place it in public/ -
Let's try to break this down
Take a look at the directory running
ls -l /nodebb/directory
. It should look like this:-rw-r----- 1 a_5mith a_5mith [...] drwxr-x--- 10 a_5mith a_5mith [...]
If you see a lot more dashes in the first few rows, running
chmod
probably messed up the file permissions.---------- 1 a_5mith a_5mith [...] d--------- 10 a_5mith a_5mith [...]
Running
chmod 770 -R /nodebb/directory
should reenable your user's access to the files. The command is a bit broad and will make all files executable but it should do the trick.-rwxrwx--- 1 a_5mith a_5mith [...] drwxrwx--- 10 a_5mith a_5mith [...]
-
try
chown
instead ofchmod
and you need to run it as root -
@Florian hast du den nodebb prozess am laufen?
./nodebb setup ./nodebb start
nodebb arbeitet übrigens nicht mit port 80, sondern 4567
du müsstest also hier schauen ob es läuft: http://62.141.39.60:4567
-
This is quite an intersting read on sorting by popularity: http://scienceblogs.com/builtonfacts/2013/01/16/the-mathematics-of-reddit-rankings-or-how-upvotes-are-time-travel/
The trick is to let the votes' influence degrade over time.
-
@julian the settings page is working, but I still don't receive notifications.
I think I have narrowed the problem down.
The enabled check is looking for a numerical value:
parseInt(results.settings[index]['pushbullet:enabled'], 10) === 1
The data from the db contains a string value (I disabled and enabled notifications multiple times to make sure it's always a string):
settings: [ { 'pushbullet:enabled': 'true', 'pushbullet:target': '' } ]
-
@julian I can associate my pushbullet account but get an error when opening or trying to save my settings on https://community.nodebb.org/pushbullet/settings
Uncaught TypeError: undefined is not a function
-
@Ted I actually added two hooks (action:groups.join and action:groups.leave) to my local repo yesterday. I'll refactor a little and do a pr in the next 24h.
Do you need any more hooks regarding groups while I'm at it? -
@julian Glad to hear that it is working again.
You can see the version next to the extension title:
chrome://extensions/?id=ooeikplgcjeeggiopajfhmadglhjhcco -
@julian Do you have v0.0.6 installed?
I previously used topics[X].teaser which was removed from the JSON, causing an "undefined variable" error which in turn halted the refreshGUI function. -
@psychobunny thank you
If you have any suggestions or improvements I'd be happy to implement them.I currently check
/api/unread
and/api/chats
for updates. Do you think another call could be useful? -
@main this one
-
did you try running
npm install
without parameters?
-
Yes, it can.
You can add as many instances to the list as you like.Copy/paste the link to the start page into the input field on the bottom, click add and you are set.
I don't do a lot of input sanitation yet, so there has to be a trailing slash after the domain name for it to be accepted.While typing I saw your edit. You are correct
RE: NodeBB 0.9.4 to 1.0.0 changes and how to upgrade ?
RE: How can I handle two one async.each into async.waterfall....Cannot read property 'bodyClass' of undefined
RE: Template conditional <!-- IF x=y --> possible?
RE: Template conditional <!-- IF x=y --> possible?
RE: Mobile view and post reply
RE: Mobile view and post reply
RE: where is the root directory of website?
RE: Markdown hast vanished.
RE: Markdown hast vanished.
RE: German Installation on Vserver
RE: Topic Sorting Feature Required under Categories
RE: [nodebb-plugin-pushbullet] Push Notifications for NodeBB
RE: [nodebb-plugin-pushbullet] Push Notifications for NodeBB
RE: Spot the irony in this screenshot.
RE: Chrome notification extension
RE: Chrome notification extension
RE: Chrome notification extension
RE: nodebb-plugin-audio simple music player
RE: Can't Install Fresh
RE: Chrome notification extension