Hi guys,
I would like to hide the subcategories of a particular category on the main page (there are many subcategories and the list is long).
Is there a way to do this in NodeBB?
Thanks,
Josh
Hi guys,
I would like to hide the subcategories of a particular category on the main page (there are many subcategories and the list is long).
Is there a way to do this in NodeBB?
Thanks,
Josh
@pichalite Hmm, is there a way to hide a particular category by modifying the template file?
Here's what I'm doing now, but I was wondering if there is a better way:
$('.categories li div:has(h2 a[href$="CATEGORY-NAME"]) .category-children').addClass("hidden");
Hi guys,
I would like to hide the subcategories of a particular category on the main page (there are many subcategories and the list is long).
Is there a way to do this in NodeBB?
Thanks,
Josh
@pichalite Sigh alright, thanks for the help.
@pichalite I tried using http://localhost:4567/images/logo.png to test it out, but it didn't work.
@pichalite Hmm, alright. Is there another hook that I can use to update a user's profile picture?
Haven't been able to find documentation for the hooks.
Hi,
I am trying to update a user's profile picture using the Write API.
Here's what I have so far, but it isn't working:
var image = {
name: "profileCover",
path: "test.png",
uid: 1
};
socket.emit('user.updateProfile', image, function(err, data) {
console.log(data);
});
Can anyone provide some help?
Thanks!
Hi,
I am in the process of developing a NodeBB theme, and was wondering if it is possible to get the current URL in a .tpl file. Maybe something like {current_url}
?
Thanks for the help!
I'm trying to pass server-side data into the client side JavaScript file. Is there a way I can do this (maybe using a hook)?
Sorry, I am new to NodeBB.
We are working on a project that uses Angular and would like to use NodeBB for our forum. We tried importing Angular and it completely broke NodeBB.
Not sure if the two are compatible. Any help would be appreciated!