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

I want remove to draw the line.

Jake Bunce

XenForo moderator
Staff member
#2
That would be this template:

Admin CP -> Appearance -> Templates -> thread_list_item

This template is shared by both XenForo and XenPorta. You can change the template that XenPorta uses by editing this template:

Admin CP -> Appearance -> Templates -> EWRblock_RecentThreads
 
#3
I do not know remove code for EWRblock_RecentThreads file?
Code:
<xen:if is="{$RecentThreads}">
    <xen:require css="discussion_list.css" />
    <xen:require css="EWRblock_RecentThreads.css" />
 
    <xen:if is="{$position} == 'top-left' OR {$position} == 'mid-left' OR {$position} == 'btm-left' OR {$position} == 'sidebar'">
 
        <div class="section avatarList threadList">
            <div class="secondaryContent" id="recentThreads">
                <h3>{xen:phrase recent_threads}</h3>
 
                <ol class="discussionListItems">
                    <xen:foreach loop="$RecentThreads" value="$thread">
                        <li id="thread-{$thread.thread_id}" class="{$thread.discussion_state} {xen:if {$thread.sticky}, 'sticky'} {xen:if {$thread.isNew}, 'unread'}" data-author="{$thread.username}">
                            <xen:avatar user="$thread" size="s" img="true" />
                            <div class="title">
                                <a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
                                    title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
                                    class="{xen:if $thread.hasPreview, PreviewTooltip}"
                                    data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper snippet, $thread.title, 50}</a>
                            </div>
                            <div class="muted">
                                <a href="{xen:link members, $thread.lastPostInfo}">{$thread.lastPostInfo.username}</a> @
                                <a{xen:if '{$visitor.user_id}', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a>
                            </div>
                        </li>
                    </xen:foreach>
                </ol>
            </div>
        </div>
 
    <xen:else />
 
        <xen:require css="inline_mod.css" />
        <xen:require js="js/xenforo/discussion_list.js" />
 
        <form action="{xen:link inline-mod/thread/switch}" method="post"
            class="DiscussionList InlineModForm"
            data-cookieName="threads"
            data-controls="#InlineModControls"
            data-imodOptions="#ModerationSelect option">
 
            <div class="discussionList section sectionMain" id="recentThreads">
                <dl class="sectionHeaders">
                    <dt class="posterAvatar"></dt>
                    <dd class="main">
                        <a class="title"><span>{xen:phrase recent_threads}</span></a>
                        <a class="postDate"><span>{xen:phrase start_date}</span></a>
                    </dd>
                    <dd class="stats">
                        <a class="major"><span>{xen:phrase replies}</span></a>
                        <a class="minor"><span>{xen:phrase views}</span></a>
                    </dd>
                    <dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
                </dl>
 
                <ol class="discussionListItems">
                    <xen:foreach loop="$RecentThreads" value="$thread">
                        <xen:include template="thread_list_item">
                            <xen:map from="$thread.showForumLink" to="$showForumLink" />
                        </xen:include>
                    </xen:foreach>
                </ol>
            </div>
 
            <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
        </form>
 
    </xen:if>
 
    <xen:include template="preview_tooltip" />
</xen:if>
 
#4
i think remove this code
Code:
<div class="muted">
                                <a href="{xen:link members, $thread.lastPostInfo}">{$thread.lastPostInfo.username}</a> @
                                <a{xen:if '{$visitor.user_id}', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a>
                            </div>