1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove Discussion and Message Count

Discussion in 'Styling and Customization Questions' started by Gabby, Apr 16, 2013.

  1. Gabby

    Gabby Well-Known Member

    How to remove the discussion and message count from forum list?

    Thanks
     
  2. Shelley

    Shelley Well-Known Member

    Try adding the following in the EXTRA.css template if i understood the part you want to hide.

    Code:
    .forum_list .nodeText .pairsInline dd {display:none;}
     
    Gabby and borbole like this.
  3. Gabby

    Gabby Well-Known Member

    Thank you Shelley. Is there also a way to remove the "discussion" and "message" text?
     
  4. Shelley

    Shelley Well-Known Member

    This will hide both

    Code:
    .forum_list .nodeText .pairsInline dd, .forum_list .nodeText .pairsInline dl {display:none;}
    
     
    Gabby and denisx04 like this.
  5. borbole

    borbole Well-Known Member

    Remove the following code at the node_forum_level_2:

    HTML:
    <dl>
    <dt>{xen:phrase discussions}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.discussion_count}}</dd>
    <dt>{xen:phrase messages}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.message_count}</dd>
    <dl>
     
    Gabby, denisx04 and Shelley like this.
  6. denisx04

    denisx04 Active Member

    Thank you both for this, I was looking for a similar thing. Is there anyway to space the subforums and the forum description?
     
  7. borbole

    borbole Well-Known Member

    Can you please post a screenshot of the area that you want to remove?
     
  8. denisx04

    denisx04 Active Member

    Posted an screenshot, just want to space the subforums down a little if possible.
     

    Attached Files:

    • sub.png
      sub.png
      File size:
      18.1 KB
      Views:
      30
  9. Gabby

    Gabby Well-Known Member

    thank you. Worked perfectly.
     
    borbole and Shelley like this.
  10. Shelley

    Shelley Well-Known Member

    only tested through firebug but you can try

    Code:
    .forum_list .node .nodeStats {margin-top: 5px;}
     
    borbole likes this.
  11. EvilSS

    EvilSS Member

    hi, sorry, i no this is an old thread. but im wanting to remove also the discussion and message count from subforums.

    i have done this:
    Code:
    .forum_list .nodeText .pairsInline dd, .forum_list .nodeText .pairsInline dl {display:none;}
    and this:
    Code:
    <dl>
    <dt>{xen:phrase discussions}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.discussion_count}}</dd>
    <dt>{xen:phrase messages}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.message_count}</dd>
    <dl>
    to hide and remove from forum list home page. but when clicking a forum with subforums, the message count is still there.
    i also want to remove subforums from forum list to.

    is this possible please?

    thanks.
     
  12. EvilSS

    EvilSS Member

    can i please give this a one off bump. its actually something i really need please. thanks.

    edit: found it...this hides the sub dropdown on forum home.

    Code:
    .nodeList .subForumsPopup
    {
        display: none;
    }
    to remove post counts in sub-forum display.
    edit: template - node_forum_level_2
    find and remove:
    Code:
    <dl>
    <dt>{xen:phrase discussions}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.discussion_count}}</dd>
    <dt>{xen:phrase messages}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.message_count}</dd>
    <dl>
     
    Last edited: Mar 25, 2015
  13. Dylan V

    Dylan V Well-Known Member

    Hi,

    You can simply add this in "EXTRA.css":
    Code:
    .nodeList .nodeStats
    {
        display: none;
    }
    to remove the text and the counter and add this to remove the counter only:
    Code:
    .nodeList .nodeStats dd
    {
        display: none;
    }
     

Share This Page