I'm looking to hide or delete the counter on the favicon.
833e980a-dd22-4acf-9dab-c189ebcd04a0-image.png
I've found the code here on the nodebb core.
is there a way to update that payload updateFavicon variable to false?
updateFavicon: true,How would I make this plugin https://github.com/psychobunny/nodebb-plugin-recent-cards only display the recent topics from a specific category, so it would show the latest posts out of a news category or such.
Thanks.
What have you tried?
@BDHarrington7
I changed this code in library.js (line 32)
topics.getTopicsFromSet('topics:recent', data.req.uid, 0, 19, function(err, topics) {
to
topics.getTopicsFromSet('topics:category:1', data.req.uid, 0, 19, function(err, topics) {
But that's completely wrong I couldn't find any documentation for the API since I guess it makes requests to the API, so I really have no idea.
@Sean said:
topics.getTopicsFromSet('topics:category:1', data.req.uid, 0, 19, function(err, topics) {
Try topics.getTopicsFromSet('cid:1:tids', data.req.uid, 0, 19, function(err, topics) {
@baris said:
topics.getTopicsFromSet('cid:1:tids', data.req.uid, 0, 19, function(err, topics) {
Works, thanks alot
Sorry to activate this old post. But I need to exclude few categories from Recent Cards. How is this possible?
Thank you!