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.

Remove Voting Bars in Top Posters Widget?

4 posters

Go down

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

Post by KemicalCandy Wed Sep 06 2017, 23:46

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/
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by skouliki Wed Sep 06 2017, 23:58

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
skouliki
skouliki
Manager
Manager

Female Posts : 15027
Reputation : 1680
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

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

Post by KemicalCandy Thu Sep 07 2017, 04:57

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
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by Draxion Thu Sep 07 2017, 06:58

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.
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

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

Post by KemicalCandy Fri Sep 08 2017, 07:00

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.
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by Draxion Fri Sep 08 2017, 07:02

You're very welcome.

I can already see the voting bars removed though.
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

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

Post by KemicalCandy Fri Sep 08 2017, 07:05

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!
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by Draxion Fri Sep 08 2017, 07:07

By "table", you mean the alignment?
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

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

Post by KemicalCandy Fri Sep 08 2017, 07:13

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

Remove Voting Bars in Top Posters Widget? Help210
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by skouliki Fri Sep 08 2017, 08:30

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?
skouliki
skouliki
Manager
Manager

Female Posts : 15027
Reputation : 1680
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

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

Post by KemicalCandy Fri Sep 08 2017, 08:46

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.
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by skouliki Fri Sep 08 2017, 12:26

can you post here your template mod_top_posters
skouliki
skouliki
Manager
Manager

Female Posts : 15027
Reputation : 1680
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

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

Post by KemicalCandy Sat Sep 09 2017, 00:28

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>
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by SLGray Sat Sep 09 2017, 00:32

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by KemicalCandy Sat Sep 09 2017, 00:47

I tried it -- unfortunately all it did was remove the voting bar images.
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

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

Post by SLGray Sat Sep 09 2017, 00:50

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 : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by SLGray Sat Sep 09 2017, 01:18

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum