Skip to content

Custom Board Stats Widget

Moved Let's Build It
28 4 10.1k 1
  • Mark hi i istalled and added the stats but in english language. How can i change it in turkish one?

    wrote on last edited by
    #10

    @cagatay if you can share the github page of the plugin, I can send Turkish translation as “pull request” …

  • @cagatay if you can share the github page of the plugin, I can send Turkish translation as “pull request” …

    wrote on last edited by
    #11

    @crazycells that would be very useful

  • wrote on last edited by
    #12
  • wrote on last edited by
    #13

    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:

    https://github.com/psychobunny/nodebb-widget-board-stats/blob/master/public/templates/widgets/board-stats.tpl

    and then, install the plugin from your github page to the forum instead of the regular plugin…

  • wrote on last edited by
    #14

    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 …

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

    wrote on last edited by
    #15

    @cagatay is it’s installed, it’ll be there. Sometimes they aren’t necessarily in the order you’d expect.

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

    wrote on last edited by
    #16

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

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

    wrote on last edited by
    #17

    @crazycells it’ll be overwritten. My recommendation here in the absence of Transiflex would be to use the customize plugin

  • wrote on last edited by
    #18

    @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
    
  • @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
    
    wrote on last edited by
    #19

    @cagatay there’s no chages needed?

  • wrote on last edited by DownPW
    #20

    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

    🙂

  • 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

    🙂

    wrote on last edited by
    #21

    @DownPW thanks. I think any changes will be minor. I’ll install the updated version and also update the original post.

  • @cagatay there’s no chages needed?

    wrote on last edited by cagatay
    #22

    @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

    d62ce8be-0768-4d94-9b84-c14c8c92433a-image.png

  • wrote on last edited by DownPW
    #23

    @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;
    }
    

    970fa482-1d12-4924-ad89-cf8f76e2fb38-image.png

  • wrote on last edited by
    #24
    .widget-board-stats {    margin-bottom: -20px !important;}
    

    this one is not working.

  • wrote on last edited by DownPW
    #25

    Strange

    And yet. I just did it again live

    Clear cache, ctrl+F5, etc.

    image.png

  • .widget-board-stats {    margin-bottom: -20px !important;}
    

    this one is not working.

    wrote on last edited by
    #26

    @cagatay my guess is that you have other CSS further down that is overriding.

  • wrote on last edited by phenomlab
    #27

    @cagatay @DownPW I’ve just installed the latest version of this plugin, and the custom CSS is this post works fine - the only amendment is below to remove a superfluous border

    .widget-board-stats {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-around;
        border: none !important;
    }
    

    4ea05698-4fee-462f-ab34-b5c48b7909e7-image.png

  • wrote on last edited by cagatay
    #28

    thanks Mark.


Related Topics