the widgets guide is especially scant 😞
video tuts are really very good; screen capture walkthrough of a plugin from birth to running. 😄
Your fix works for me. Thank you!
How come it won't show the category images only colours?
I have uploaded images for my categories but only see the colours I have set?
@baris is this the same issue as above? - thanks
apologies for being pushy, is there any reason why this is happening?
Plugin needs updating to use category images if available. Right now it only uses color/icon.
@baris Thanks for getting back.
So this can be done?
Yes it can be done
@baris That's great, so it just needs updating by yourself?
I don't have time but anyone can do it and send a PR.
@baris realistically how easy is this to do?
It was fairly simple I added this in 2.0.8, https://github.com/NodeBB-Community/nodebb-plugin-recent-cards/commit/82830b904ab4feb2526a106743ab4b7380ea33e9
@baris there is a bug in the console when upgrading
SyntaxError: await is only valid in async functions and the top level bodies of modules at compileFunction (<anonymous>) at Object.compileFunction (node:vm:355:18) at wrapSafe (node:internal/modules/cjs/loader:1039:15) at Module._compile (node:internal/modules/cjs/loader:1073:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10) at Module.load (node:internal/modules/cjs/loader:989:32) at Function.Module._load (node:internal/modules/cjs/loader:829:14) at Module.require (node:internal/modules/cjs/loader:1013:19) at require (node:internal/modules/cjs/helpers:93:18) at Object.Plugins.requireLibrary (/home/phenomlab/nodebb/src/plugins/index.js:81:39)
Thanks for reporting, this is fixed in 2.0.19.
@phenomlab yeah this commit broke it https://github.com/NodeBB-Community/nodebb-plugin-recent-cards/commit/ff3722e475a716116b827085aeaccad2a0c303c1 because of a missing async on renderExternal @baris