Announcement

Collapse
No announcement yet.

Remove Comment Display Section on Blog Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remove Comment Display Section on Blog Page

    On the main blog page where it shows recent blog entries and recent comments, what coding needs to be removed to delete the part that displays the recent comments?

  • #2
    Originally posted by Lois215 View Post
    On the main blog page where it shows recent blog entries and recent comments, what coding needs to be removed to delete the part that displays the recent comments?
    I didn't figure out how to do this, but figured how to remove the comment avatars from the page as some of my members didn't want this showing (some use their pictures for avatars). Just tried removing code to see what it affected.

    Here's how to do so:
    In blog_home_list_comment remove:


    <if condition="$show['avatar']">
    <a href="member.php?$session[sessionurl]u=$updated[userid]"><img class="inlineimg blog_home_list_image" src="$updated[avatarurl]" border="0" width="30" alt="<phrase 1="$updated[username]">$vbphrase[xs_avatar]</phrase>" /></a>
    <else />
    <img src="$vboptions[cleargifurl]" width="30" height="30" alt="" />
    </if>


    and that wipes away the avatars from comments on that page.

    You can also get rid of the other avatars, too.

    Comment

    Related Topics

    Collapse

    Working...
    X