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.
The forum of the forums
4 posters

    Remove Voting Bars in Top Posters Widget?

    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 6th 2017, 10:46 pm

    I find the voting bars extremely unnecessary in the top posters widget and would rather it just show usernames and post counts.

    Is there any way I can remove the voting bar from the top posters widget? If this isn't possible, could I instead use the create a new widget function to have an automatic-updating list of the top ten posters and their post count?

    If we cannot do the first option yet the second option is possible, I would need assistance with the coding for that.

    Thank you for anyone's help!

    My forum link: http://websoup.forumotion.com/
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15321
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by skouliki September 6th 2017, 10:58 pm

    hello

    go to your templates / portal 
    modify the top posters ..in the code find this and delete it  {POSTER.BARRE}

    dont forget to publish it

    Remove Voting Bars in Top Posters Widget? Scree131

    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 7th 2017, 3:57 am

    Remove Voting Bars in Top Posters Widget? Help10

    Thanks, that worked! Would you be able to help me with this issue of my forum widgets colliding with the side of my forum?

    Also, there was a "table" in this widget before, the usernames and post count in () being in the left column, and the voting bar being in the right column. How could I keep this table but move the post count over in place of the voting bar that was originally in the right column? (I can revert the template back to normal if needed, that way we can start with the base.)

    Please and thank you! I tried fiddling around in the ACP to fix these issues on my own, but ultimately could not find a solution! Crying
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by Draxion September 7th 2017, 5:58 am

    Add this to your CSS.
    Code:
    #content-container > table > tbody > tr > td:nth-child(3) > table:nth-child(3),
    #content-container > table > tbody > tr > td:nth-child(3) > table:nth-child(5) {
      margin-left: 8px;
    }

    That should fix the issue with it touching the other element.
    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 6:00 am

    Draxion wrote:Add this to your CSS.
    Code:
    #content-container > table > tbody > tr > td:nth-child(3) > table:nth-child(3),
    #content-container > table > tbody > tr > td:nth-child(3) > table:nth-child(5) {
      margin-left: 8px;
    }

    That should fix the issue with it touching the other element.

    Ugh thank you so much! It looks so much better now! Good

    Still needing some advice on the table formatting for the "top posters" widget -- I would like to keep the table format, but remove the voting bars and replace them with the # of posts the user has! This would require moving the number over from column 1 to column 2.
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by Draxion September 8th 2017, 6:02 am

    You're very welcome.

    I can already see the voting bars removed though.
    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 6:05 am

    The voting bars are removed, yes, somebody helped me with that! It unfortunately removed the table though, too, and I decided I'd like to keep that and just move the post number over in place of where the voting bar originally was. If it can be done, at least!
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by Draxion September 8th 2017, 6:07 am

    By "table", you mean the alignment?
    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 6:13 am

    Nope, I mean the table that's given in the default value:

    Remove Voting Bars in Top Posters Widget? Help210
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15321
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by skouliki September 8th 2017, 7:30 am

    put again the default template to have the widget as it was ..and then remove the section i mentioned above to remove the bars

    now you want to delete the numbers?

    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 7:46 am

    I reset it to default value.

    What I want is to keep the table: I want usernames in the left column, as they already are, but I want the post count moved to the right column in place of the voting bars. And obviously remove the parentheses that are around the post count if possible.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15321
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by skouliki September 8th 2017, 11:26 am

    can you post here your template mod_top_posters

    KemicalCandy
    KemicalCandy
    Forumember


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 11:28 pm

    It's the default value:

    Code:
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
       <tr>
          <td class="catLeft" height="25"><span class="genmed module-title">{L_TOP_POSTERS}</span></td>
       </tr>
       <tr>
          <td>
             <table summary="{L_TOP_POSTERS}" width="100%">
                <!-- BEGIN POSTER -->
                <tr>
                   <td class="{POSTER.ROW_CLASS} genmed" width="1%">{POSTER.NAME}</td>
                   <td class="{POSTER.ROW_CLASS}" nowrap="nowrap" title="{POSTER.NB_POSTS}">{POSTER.BARRE}</td>
                </tr>
                <!-- END POSTER -->
             </table>
          </td>
       </tr>
    </table>
    SLGray
    SLGray
    Administrator
    Administrator


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

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by SLGray September 8th 2017, 11:32 pm

    Try this:
    Code:

    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
     Â         <tr>
     Â            <td class="catLeft" height="25"><span class="genmed module-title">{L_TOP_POSTERS}</span></td>
     Â         </tr>
     Â         <tr>
     Â            <td>
     Â               <table summary="{L_TOP_POSTERS}" width="100%">
     Â                  <!-- BEGIN POSTER -->
     Â                  <tr>
     Â                     <td class="{POSTER.ROW_CLASS} genmed" width="1%">{POSTER.NAME}</td>
     Â                     <td class="{POSTER.ROW_CLASS}" nowrap="nowrap" title="{POSTER.NB_POSTS}"></td>
     Â                  </tr>
     Â                  <!-- END POSTER -->
     Â               </table>
     Â            </td>
     Â         </tr>
     Â      </table>



    Remove Voting Bars in Top Posters Widget? Slgray10

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


    Posts : 54
    Reputation : 2
    Language : English

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by KemicalCandy September 8th 2017, 11:47 pm

    I tried it -- unfortunately all it did was remove the voting bar images.
    SLGray
    SLGray
    Administrator
    Administrator


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

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by SLGray September 8th 2017, 11:50 pm

    Did the table remain?



    Remove Voting Bars in Top Posters Widget? Slgray10

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


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

    Remove Voting Bars in Top Posters Widget? Empty Re: Remove Voting Bars in Top Posters Widget?

    Post by SLGray September 9th 2017, 12:18 am

    After testing somethings out, I believe the username and number is combined into one variable. They are not separate variables.



    Remove Voting Bars in Top Posters Widget? Slgray10

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

      Current date/time is September 23rd 2024, 9:19 pm