[nodebb-plugin-ns-awards] NS Awards, Give Medals!
-
@ExperienceOz yes. Lavender is based on Vanilla. Most template changes in Vanilla, will be reflected in Lavender
-
@Nicolas said:
@1Smert1
Something weird, why do users have the Number at the end of their name?
Also, when you are entering name of the user, dtopdown menu should pop-up, select user from this pop-up window.@Xiph
For now, I don't have ideas, I will do clean install to find problem.Number at the end in the above screen shot is that users uid. Not part of the username.
-
-
@Nicolas i've added the topic view to topic.tpl in lavender but images just don't show up below the user's avatar in topics at all. I've disabled and enabled numerous css styling , tried .gif .jpg .png and nothing will make the image appear. Why? you can see the div is there but image remains blank
-
@Codejet did you activate Topic rendering in settings? If Yes, does it work for you in profile views?
Also, could you inspect image in html layout, maybe link is incorrect. Do you host NodeBB under domain/subdomain or subfolder? -
@Nicolas said:
@Codejet did you activate Topic rendering in settings? If Yes, does it work for you in profile views?
Also, could you inspect image in html layout, maybe link is incorrect. Do you host NodeBB under domain/subdomain or subfolder?<div class="awards-item"> <img class="awards-image" src="" alt="" title="" data-toggle="awards-tooltip" data-placement="top"/> </div>
Could possibly be why ? nothing in src
-
i see redis database and the image is stored as a hash
119834da7e5b6b87d6fa64b30a09f38e.pngshould i be able to find this image somewhere uploaded to the server ?
not that it would matter if the src="" is not filled by the appropriate image path
seems like its a problem with some variable not passing the image path to src.. ...
-
Problem could be in Redis.
I'm developing plugins under Mongo, but I use db-agnostic class from NodeBB.Yes, you can find image under
/public/uploads/awards/
.First thoughts:
- I an not using DB classes properly.
- Issue in Redis/Mongo db-agnostic class.
-
-
Version of NodeBB?
-
@Nicolas did another fresh install and updated to the latest 0.7.x branch (not the 0.7.0 tag), all the pages are showing now
Though to be able to actually grant awards I need to tab to the user in the autocomplete form. Clicking on it just causes the autocomplete thingy to disappear and doesn't actually select the user. The trick with the tabbing only works in Chrome, so I cannot grant awards at all from Firefox.
-
Yes, Combobox should be improved, I have made very basic version of it.
-
-
@Nicolas Kinda hyped about this!
Though i seem to have a problem.
22/9 06:11 [6714] - info: Initializing NodeBB v0.8.2 22/9 06:12 [6714] - error: Error: Cannot find module './src/postTools' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at /home/atrius/nodebb/node_modules/nodebb-plugin-ns-awards/app/nodebb.js:11:31 at Object.<anonymous> (/home/atrius/nodebb/node_modules/nodebb-plugin-ns-awards/app/nodebb.js:41:3) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) 22/9 06:12 [6714] - warn: [plugins] Unable to parse library for: nodebb-plugin-ns-awards
NodeBB v0.8.2 as you can see, and ns-awards v1.3.1
-
It can't include NodeBB module.
Is your NodeBB forum properly installed? -
It's running fine. Everything else works just fine. That is strange..