@andre-mosin ok... thanks for all the help... I probably will need more help though... lol I think I have all that I need now and I decided to change the route... I was trying to utilize existing plugins but I am having to make so many changes to the existing ones that I decided to start a new one from scratch that will include everything I need. I learned a lot from looking and trying to modify other plugins that I think it makes more sense to write from scratch.
[nodebb-plugin-ns-awards] NS Awards, Give Medals!
-
Did you activate it?
I have developed this plugin on 0.7-dev -
@Nicolas said:
Did you activate it?
I have developed this plugin on 0.7-devI have activated it and the routes are there. Aside from the header, sidebar, breadcrumb etc. there's just nothing there. Not a single error showing up in the logs or the browser's console.
I'm currently running 0.7 Stable.
-
Update: /awards does have the
<div id="awards">
in it, but its only child is the breadcrumb.@Nicolas The ACP page being empty may be a result of the script in https://github.com/NicolasSiver/nodebb-plugin-ns-awards/blob/master/public/templates/admin/plugins/awards.tpl being commented out?
-
-
I have installed stable 0.7
I can not send a reward. Not found user.
-
Did a clean
npm install
again and re-installed/activated the plugin. /admin/plugins/awards still empty. Changed the plugin load order to load this plugin first instead of last. Still nothing.The network tab in the inspector shows a file with the URL /src/admin/plugins/awards.js is requested but completely empty (not 404, just empty and 200 OK), does that have anything to do with it?
-
-
@Nicolas A pop-up window does not appear. The number at the end of the name think it's ID.
-
@1Smert1
Plugin uses internal search mechanism.
Do you have success here, on your board? -/users/search
-
-
@Nicolas the numbers denote that user's ID in the system, in the order they're created.
-
Found a solution to my error, I need to update redis to version 2.8.9 how to do this?
-
You should use general section for such questions
$ sudo apt-get install -y python-software-properties $ sudo add-apt-repository -y ppa:rwky/redis $ sudo apt-get update $ sudo apt-get install -y redis-server
If you have Ubuntu, It will update to latest redis.
-
Why do my profile? All is correctly inserted.
-
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
-
@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.
-
@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
-
@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