Reputation system no longer displaying count Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Reputation system no longer displaying count

    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Reputation system no longer displaying count

    Post by BarrileteCosmico February 4th 2023, 4:59 pm

    Technical Details


    Forum version : #phpBB3
    Position : Administrator
    Concerned browser(s) : Mozilla Firefox, Google Chrome
    Screenshot of problem : https://i.imgur.com/NINHQ63.png
    Who the problem concerns : All members
    When the problem appeared : The problem started occuring about a month and a half ago. I had only updated the header image and due to a weird bug this caused a number of changes in the forum (the custom display css disappeared and this thumbs up issue appeared)
    Forum link : https://goallegacy.forumotion.com

    Description of problem

    Hello,

    Our forum has a reputation system. I was not the one to implement it but I believe it's based off this tutorial: Improve the reputation system so it counts votes

    Implemented code:

    The issue is that recently the count has disappeared. It first started happening when I pushed through an image update and somehow the CSS was cleared. I added the relevant CSS again as per the instructions in the guide but it doesn't seem to have added the count back in. It now looks like this:

    Reputation system no longer displaying count R6EgaKy
    Note that this post has a positive reaction but does not show the number 1 next to it.

    Any suggestions on how to get the count to display again?


    Last edited by BarrileteCosmico on February 5th 2023, 7:07 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Reputation system no longer displaying count

    Post by SLGray February 4th 2023, 9:50 pm

    Somewhere in the CSS is this:
    Code:
    ul.profile-icons li span {
      display: none;
    }

    It is what has removed the count.



    Reputation system no longer displaying count Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

    Niko, TonnyKamper, كونان2000 and BarrileteCosmico like this post

    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Re: Reputation system no longer displaying count

    Post by BarrileteCosmico February 5th 2023, 1:11 am

    Thank you!

    When I look at Display > Colors & CSS > CSS Stylesheets this is what I see:

    CSS:

    I don't see that code snippet in there. Is there anywhere else I should be looking at?
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Reputation system no longer displaying count

    Post by skouliki February 5th 2023, 8:42 am

    hello

    add this code to your css style sheet

    Code:

    ul.profile-icons li span {
        display: inline-block !important;
    }

    TonnyKamper and كونان2000 like this post

    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Re: Reputation system no longer displaying count

    Post by BarrileteCosmico February 5th 2023, 5:38 pm

    Thank you for the response! I followed the above steps and unfortunately the issue is still present.
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3283
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: Reputation system no longer displaying count

    Post by Niko February 5th 2023, 6:15 pm

    Add this css
    Code:
    span.fa_count {
        display: inline-table!important;
    }

    and if you want the number to be inline, add this as well:
    Code:
    ul.profile-icons li a {
        display: inline!important;
    }

    Reputation system no longer displaying count Screen82
    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Re: Reputation system no longer displaying count

    Post by BarrileteCosmico February 5th 2023, 6:36 pm

    Thanks! Unfortunately that doesn't seem to have done the trick either :/
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3283
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: Reputation system no longer displaying count

    Post by Niko February 5th 2023, 6:39 pm

    @BarrileteCosmico are you sure you are saving the edits?
    because I don't see any of the codes we gave you installed on the forum Embarassed

    I have the doubt that you just copy them inside and then close the page without saving.
    Otherwise, can you leave the codes in - so we can check live why they do not work?
    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Re: Reputation system no longer displaying count

    Post by BarrileteCosmico February 5th 2023, 6:55 pm

    @niko Sorry could you check again? I briefly commented them out when I was trying things out, but they should be there now

    Just to be sure though, I am meant to be saving them in Dispaly > Pictures & Colors > Colors & CSS > CSS Stylesheet, correct?

    This is what's currently saved there:

    CSS:
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3283
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: Reputation system no longer displaying count

    Post by Niko February 5th 2023, 7:01 pm

    Can you replace it with this?
    You don't comment CSS using
    Code:
    --
    , maybe it causes the problem.
    if a comment is inline you prepend
    Code:
    //
    , if a code is on multiple lines you wrap it inside
    Code:
    /* CODE */

    also, is the forum the one you have in your profile?

    Code:

    span.fa_count {
    display: inline-table!important;
    }

    ul.profile-icons li a {
    display: inline!important;
    }
    .fa_vote, .fa_voted, .fa_count {
    font-size:12px;
    font-family:Verdana, Arial, Helvetica, Sans-serif;
    display:inline-block!important;
    width:auto !important;
    float:none !important;
    transition:300ms;
    }

    .fa_voted, .fa_vote:hover { opacity:0.4; }
    .fa_voted { cursor:default; }

    .fa_count {
    font-weight: bold;
    margin:0 3px;
    cursor: default;
    }

    .fa_positive { color:#4A0; }
    .fa_negative { color:#A44; }

    .fa_votebar, .fa_votebar_inner {
    background:#C44;
    height:3px;
    }

    .fa_votebar_inner {
    background:#4A0;
    transition:300ms;
    }




    body {
    background-Image: url(https://i.imgur.com/jwgql4H.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position:center;
    }
    BarrileteCosmico
    BarrileteCosmico
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    Solved Re: Reputation system no longer displaying count

    Post by BarrileteCosmico February 5th 2023, 7:06 pm

    That did it, thank you very much! I appreciate the help everyone did getting this sorted

    And yes that's the forum

    Niko likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3283
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: Reputation system no longer displaying count

    Post by Niko February 5th 2023, 7:07 pm

    Great!
    just remember coding has specific rules, and you cannot comment codes using
    Code:
    --
    if in future you want to comment a code, you can keep an eye on this guideline: https://blog.hubspot.com/website/comment-out-in-css

    Glad that problem is solved then! :rose:

    skouliki and TonnyKamper like this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Reputation system no longer displaying count

    Post by skouliki February 5th 2023, 7:41 pm

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules