• Plugin & Theme Dev

    Maybe It's another problem related to redis?
    Number of records extracted correctly (you have 2 grants in user's profile), but there is no payload/data for this records:

    • no award data
    • no grant data
    • no awarded by data

    Do you have access to NodeBB console logs?
    Try to visit account page, and check in this moment - logs. Do you have any errors or warnings?
    As a second option, try NodeBB setup with MongoDB. Will you have all these issues with mongo also?

  • Hi @Nicolas , awesome plugin as I'm sure this is something people have been looking for.

    Question: is it possible to make this display using the Lavender theme by just adding <!-- IMPORT partials/awards_profile.tpl --> to Lavender's profile.tpl?

    Thanks 🙂

  • Plugin & Theme Dev

    @ExperienceOz yes. Lavender is based on Vanilla. Most template changes in Vanilla, will be reflected in Lavender 😉

  • @Nicolas said:

    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.

  • @Xiph said:

    Is this compatible with 0.7? Both /admin/plugins/awards and /awards are empty pages.

    Had the same issue when i installed it today, the pages appear after i deactivated some other plugins, but not sure which plugin clashed with this 😄

  • GNU/Linux

    @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

  • Plugin & Theme Dev

    @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?

  • GNU/Linux

    @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"/>

    Could possibly be why ? nothing in src 😄

  • GNU/Linux

    i see redis database and the image is stored as a hash

    should 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.. ...

  • Plugin & Theme Dev

    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:

    1. I an not using DB classes properly.
    2. Issue in Redis/Mongo db-agnostic class.
  • GNU/Linux

    @Nicolas will give mongodb a shot then 👍

  • GNU/Linux

    @Nicolas installed mongo to test, exact same html as above no award showing in topic view , and I presume profile view.

    Mongo version 3.0.4 installed w/ ubuntu on digital ocean

    So concluding this is not a database issue..

  • Plugin & Theme Dev

    Version of NodeBB?

  • GNU/Linux

    @Nicolas said:

    Version of NodeBB?

    @Nicolas v0.7.0

  • @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.

  • @Nicolas I'm having a similar issue with Safari, I cannot select the user at all, a fix please?

  • Plugin & Theme Dev

    Yes, Combobox should be improved, I have made very basic version of it.

  • Plugin & Theme Dev

    Version 1.3.0

    New version is available.

    • Improved Autocomplete widget, selection should be easier (up/down arrows, enter key, mouse selection)
    • Small UI adaptation for NodeBB v0.8: colors, layout
    • Added notifications, when award is granted

    @Xiph @mao 😉

  • Plugin & Theme Dev

    Version 1.3.1

    Patch version is released. It should remove problems with award uploads.

    @AOKP try, does it work for you now 😉

  • @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

Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.