Very great 😉
Custom Board Stats Widget
-
This post is deleted!
-
Mark hi i istalled and added the stats but in english language. How can i change it in turkish one?
-
@cagatay that’s a question for the NodeBB devs I think. You could perhaps use the
nodebb-plugin-customize
to do the translations.Not sure if they exist in Transiflex either, so you may need to add these manually.
-
@cagatay if you can share the github page of the plugin, I can send Turkish translation as “pull request” …
-
@crazycells that would be very useful
-
-
I asked @barisusakli to add multi-language support to this plugin… I will send an update after him…
As an alternative (but more laborious) method, you can fork the plugin to your github profile and change the translation here on this page:
and then, install the plugin from your github page to the forum instead of the regular plugin…
-
if i can found where is this plugin saved in my files of nodebb, i can edit byself but cant found in modules files or plugin files …
-
@cagatay is it’s installed, it’ll be there. Sometimes they aren’t necessarily in the order you’d expect.
-
@cagatay yes, that is also good idea, but I do not know if it stays overwritten all the time (does doing “plugin reset” reset the files? I do not know)
-
@crazycells it’ll be overwritten. My recommendation here in the absence of Transiflex would be to use the customize plugin
-
@phenomlab @barisusakli updated the plugin but with another name.
so could you please update your edit code also on it?new plugin name;
@nodebb/nodebb-widget-board-stats@2.0.0
-
@cagatay there’s no chages needed?
-
No just css maybe @phenomlab
I have installed the plugin and ask modification to @barisusakli
see here, here and [here](https://community.nodebb.org/post/97623
With no bugs, i can use it, and even combined with the other plugin
-
@DownPW thanks. I think any changes will be minor. I’ll install the updated version and also update the original post.
-
@phenomlab said in Custom Board Stats Widget:
there’s no chages needed?
Mark i want to delete black colored border line and there are space between border and words, want to left and right pull line
-
@cagatay said in Custom Board Stats Widget:
Mark i want to delete black colored border line
Just put transparent border on element :
.border-secondary { --bs-border-opacity: 1; border-color: rgba(0,0,0,0) !important; }
Or remove border opacity
.border-secondary { --bs-border-opacity: 0; }
I don’t know why you have this, (seems you have a custom code for this widget/plugin) maybe Mark have another solution but you can play with
margin-top margin-left margin-right
:.widget-board-stats { margin-bottom: -20px !important; }
-
.widget-board-stats { margin-bottom: -20px !important;}
this one is not working.
-
Strange
And yet. I just did it again live
Clear cache, ctrl+F5, etc.
-
@cagatay my guess is that you have other CSS further down that is overriding.