Announcement

Collapse
No announcement yet.

Double link to section

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

  • Christian Alfredsson
    replied
    Worked fine. Love your mods Glenn Vergara!

    Leave a comment:


  • glennrocksvb
    replied
    What William said. You might have my Channel Name in Search Results mod. Disable or uninstall it.

    Leave a comment:


  • William Thomas Jr
    replied
    Just mentioning the obvious.

    Are you using a mod/product to display channel names? Vbulletin now includes channel names, when I first upgraded I also had double channel names but that was because the product I had needed to be disabled/uninstalled.

    William

    Leave a comment:


  • Christian Alfredsson
    replied
    I would say that the first line is displayed directly and the second line is faded in.

    You can look here: https://www.zoopet.com/forum/search?searchJSON={%20%22last%22:{%22from%22:%221%22},%20%22view%22:%22topic%22,%22starter _only%22:%221%22,%20%22sort%22:{%22lastcontent%22:%22desc%22},%20%22channel%22:[%2217%22,%2214%22,%2215%22,%2216%22,%2219%22,%222347499%22,%222359981%22]%20}

    Leave a comment:


  • Christian Alfredsson
    replied
    I have not changed it. Revert did not help. Here is the template

    PHP Code:
    {vb:set channelid, {vb:raw topic.parentid}}
    {
    vb:set readtime, {vb:raw topic.readtime}}
    {
    vb:set parentreadtime, {vb:raw topic.parentreadtime}}
    {
    vb:set attachcount, {vb:raw topic.attachcount}}
    {
    vb:set topic, {vb:raw topic.content}}
    {
    vb:set topicStatus''}
    {
    vb:set topicPrefix''}
    {
    vb:set iconTooltip''}
    {
    vb:set enableInlineMod0}
    {
    vb:set showNode1}
    <
    vb:if condition="!empty($canmoderate) AND !empty($topic['permissions']) AND $topic['permissions']['canmoderate']">
        {
    vb:set enableInlineMod1}
    </
    vb:if>

    <
    vb:if condition="$topic['lastcontent']">
        {
    vb:set lastcontent, {vb:raw topic.lastcontent}}
    <
    vb:else />
        {
    vb:set lastcontent, {vb:raw topic.created}}
    </
    vb:if>

    <
    vb:if condition="$vboptions['threadmarking'] > 0">
        {
    vb:set cutoff, {vb:math ({vb:raw timenow} - ({vb:raw vboptions.markinglimit} * 86400))}}
        <
    vb:if condition="$readtime < $cutoff">
            {
    vb:set readtime, {vb:raw cutoff}}
        </
    vb:if>
        <
    vb:if condition="$readtime < $parentreadtime">
            {
    vb:set readtime, {vb:raw parentreadtime}}
        </
    vb:if>
    </
    vb:if>

    <
    vb:if condition="!empty($readtime) AND $readtime > $lastcontent">
        {
    vb:strcat topicStatus' read'}
    </
    vb:if>

    {
    vb:set hasUnpublishedPosts0}
    <
    vb:if condition="$topic['approved'] == 0">
        {
    vb:strcat topicStatus' unapproved'}
        {
    vb:set phrase_unapproved, {vb:phrase unapproved}}
        {
    vb:strcat topicPrefix, {vb:raw phrase_unapproved}}
    <
    vb:elseif condition="$enableInlineMod AND ($topic['totalunpubcount'] > 0) AND !empty($topic['showUnpublishedNotice'])" />
        {
    vb:set hasUnpublishedPosts1}
        {
    vb:strcat topicStatus' has-unpublished'}
    </
    vb:if>
    <
    vb:if condition="$topic['featured']">
        {
    vb:strcat topicStatus' featured'}
    </
    vb:if>
    <
    vb:if condition="$topic['showpublished'] == 0">
        {
    vb:strcat topicStatus' deleted'}
        <
    vb:if condition="!empty($topicPrefix)">
            {
    vb:strcat topicPrefix', '}
        </
    vb:if>
        {
    vb:set phrase_deleted, {vb:phrase deleted}}
        {
    vb:strcat topicPrefix, {vb:raw phrase_deleted}}
        {
    vb:set iconTooltip, {vb:phrase this_topic_is_deleted}}
        <
    vb:if condition="!empty($topic['deleteuserid']) AND !empty($topic['deleteusername'])">
            {
    vb:set deleteUserInfo.userid, {vb:var topic.deleteuserid}}
            {
    vb:set deleteuserlink, {vb:url 'profile', {vb:raw deleteUserInfo}}}
            {
    vb:set deleteusername, {vb:raw topic.deleteusername}}
        <
    vb:else />
            {
    vb:set deleteusername, {vb:rawphrase unknown}}
            {
    vb:set deleteuserlink'#'}
        </
    vb:if>
    </
    vb:if>
    <
    vb:if condition="$topic['showopen'] == 0">
        {
    vb:strcat topicStatus' closed'}
        <
    vb:if condition="!empty($topicPrefix)">
            {
    vb:strcat topicPrefix', '}
        </
    vb:if>
        {
    vb:set phrase_closed, {vb:phrase closed}}
        {
    vb:strcat topicPrefix, {vb:raw phrase_closed}}
        {
    vb:set iconTooltip, {vb:phrase this_topic_is_closed}}
    </
    vb:if>
    <
    vb:if condition="$topic['sticky']">
        {
    vb:strcat topicStatus' sticky'}
        <
    vb:if condition="!empty($topicPrefix)">
            {
    vb:strcat topicPrefix', '}
        </
    vb:if>
        {
    vb:set phrase_sticky_node, {vb:phrase sticky_node}}
        {
    vb:strcat topicPrefix, {vb:raw phrase_sticky_node}}
    </
    vb:if>
    <
    vb:if condition="$topic['approved'] == 0 OR $topic['showpublished'] == 0 OR $topic['sticky']">
        {
    vb:strcat topicStatus' hasprefix'}
    </
    vb:if>
    <
    vb:if condition="isset($topic['tonodeid']) AND $topic['tonodeid'] > 0">
        {
    vb:set isRedirect1}
        {
    vb:strcat topicStatus' redirect'}
        <
    vb:if condition="$topic['unpublishdate'] > 0">
            {
    vb:strcat topicStatus' expiring-redirect'}
        </
    vb:if>
        <
    vb:if condition="!empty($topicPrefix)">
            {
    vb:strcat topicPrefix', '}
        </
    vb:if>
        {
    vb:set phrase_redirect, {vb:phrase redirect}}
        {
    vb:strcat topicPrefix, {vb:raw phrase_redirect}}
        {
    vb:set redirectTopic, {vb:raw topic.toNode}}
        <
    vb:if condition="empty($redirectTopic) OR !empty($redirectTopic['errors'])">
            {
    vb:set showNode0}
        </
    vb:if>
    <
    vb:else />
        {
    vb:set isRedirect0}
    </
    vb:if>
    <
    vb:if condition="empty($topic['title'])">
        {
    vb:set topic.title, {vb:raw topic.startertitle}}
    </
    vb:if>

    <
    vb:if condition="$vboptions['showdots'] AND $user['userid'] > 0 AND $topic['dot_postcount'] > 0 AND !$isRedirect">
        {
    vb:strcat topicStatus' posted'}
        <
    vb:if condition="$iconTooltip != ''">
            {
    vb:strcat iconTooltip' '}
        </
    vb:if>
        {
    vb:strcat iconTooltip, {vb:phrase have_x_posts_in_topic_last_y_z, {vb:var topic.dot_postcount}, {vb:date {vb:var topic.dot_lastpostdate}}, {vb:time {vb:var topic.dot_lastpostdate}}}}
    </
    vb:if>

    {
    vb:set topicurl, {vb:if "!empty($topic['topicurl'])", {vb:var topic.topicurl}, {vb:url {vb:raw topic.routeid}, {vb:raw topic}}}}
    <
    vb:comment>
    *****************************************************************************
    //@TODO:

    1. Append to $topicStatus var the following CSS classes
               when the node API has implemented these topic statuses
    :

        
    hot-unread (unread hot topic)
        
    hot-read (read hot topic)
        
    read (read topic, default status is unread which doesn't need to be specified)
        posted (logged-in user has posted in this topic)
        posted-closed (logged-in user has posted in this closed topic)

    2. Set $iconTooltip text for the above topic statuses.

    There'
    s a problem hereTopic read state is set by javascript not the node API.
    Also it's better to seperate different status into different class, for example:
    hot unread (2 classes) instead of hot-unread (1 class) -- Xiaoyu

    Keep any UI changes for topic open/close in sync with channel_conversation.js'
    s
    vBulletin
    .conversation.OpenOrCloseTopic() function.

    *****************************************************************************
    </
    vb:comment>

    <
    vb:if condition="$firstNonStickyThread">{vb:hook topics_after_sticky}</vb:if>
    <
    vb:if condition="$showNode">
        <
    vb:if condition="$isRedirect AND !strpos($topicStatus, 'read')">
            {
    vb:strcat topicStatus' read'}
        </
    vb:if>
        <
    tr class="topic-item{vb:raw topicStatus}<vb:if condition="$enableInlineMod"> inlinemod-item</vb:if><vb:if condition="$attachcount 0"> im-attach</vb:if> js-topic-item {vb:if "!empty($extraClasses)", {vb:var extraClasses}}" data-lastcontent="{vb:raw lastcontent}" data-readtime="{vb:raw readtime}" data-channelreadtime="{vb:raw parentreadtime}" data-node-id="{vb:raw topic.nodeid}" data-channel-id="{vb:raw channelid}" data-can-edit-title="{vb:var topic.canedittitle}">

            <
    vb:if condition="isset($inMessageCenter) AND $inMessageCenter">

                <
    vb:comment>
                ********************** 
    START MESSAGE CENTER **********************
                </
    vb:comment>

                <
    vb:comment> ***** TOPIC CELL ***** </vb:comment>
                <
    td class="cell-topic js-cell-topic">
                    <
    div class="topic-wrapper js-topic-wrapper h-wordwrap">
                        <
    vb:comment>The "go-to-first-unread" span is added here via JS</vb:comment>
                        <
    vb:if condition="!empty($topicPrefix)"><span class="prefix js-prefix">{vb:raw topicPrefix}: </span></vb:if>
                        <
    vb:if condition="$topic['iconpath']">
                            <
    img class="js-post-icon h-align-top" src="{vb:var baseurl_core}/{vb:var topic.iconpath}" width="16" height="16" alt="" />
                        </
    vb:if>
                        <
    vb:if condition="$topic['prefixid']">
                            {
    vb:set searchStr'{"prefix":["'}
                            {
    vb:strcat searchStr, {vb:var topic.prefixid}, '"]}'}
                            <
    class="js-topic-prefix" href="{vb:url 'search'}?searchJSON={vb:urlencode {vb:raw searchStr}}">{vb:raw topic.prefix_rich}</a>
                        </
    vb:if>
                        <
    vb:if condition="!$topic['showpublished'] AND !$enableInlineMod">
                            <
    span class="js-topic-title">{vb:raw topic.title}</span>
                        <
    vb:elseif condition="$isRedirect/>
                            <
    a href="{vb:url {vb:raw redirectTopic.routeid}, {vb:raw redirectTopic}}" class="topic-title js-topic-title">{vb:raw topic.title}</a>
                        <
    vb:else />
                            <
    a href="{vb:raw topicurl}" class="topic-title js-topic-title">{vb:raw topic.title}</a>
                        </
    vb:if>
                    </
    div>
                    <
    div class="topic-info h-clear">
                        {
    vb:rawphrase in_x_channel, {vb:url {vb:raw topic.channelroute}}, {vb:var topic.channeltitle}}<br>
                        <
    vb:if condition="!empty($topic['userid'])">
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                        <
    vb:else />
                            {
    vb:set guestname, {vb:if "!empty($topic['authorname'])", {vb:raw topic.authorname}, {vb:phrase guest}}}
                        </
    vb:if>
                        <
    vb:comment>This needs to be one line or the output will have whitespace where there needs to not be whitespace</vb:comment>
                        {
    vb:if "!empty($topic['userid'])", {vb:rawphrase started_by_link_x_y, {vb:var profileUrl}, {vb:raw topic.authorname}},{vb:rawphrase started_by_x, {vb:raw guestname}}}{vb:if "isset($topic['created'])", {vb:rawphrase on_date_x, {vb:datetime {vb:raw topic.created}}}}
                    </
    div>
                </
    td>

                <
    vb:comment> ***** GO TO LAST POST CELL ***** </vb:comment>
                <
    td class="cell-gotopost">
                    {
    vb:set starter.nodeid, {vb:raw topic.starter}}
                    {
    vb:set starter.innerPost, {vb:raw topic.lastcontentid}}
                    <
    a href="{vb:url {vb:raw topic.starterroute}, {vb:raw starter}}" class="b-button b-button--secondary">{vb:phrase view}</a>
                </
    td>

                <
    vb:comment> ***** LAST POST CELL ***** </vb:comment>
                <
    td class="cell-lastpost">
                    <
    vb:if condition="$enableInlineMod AND $topic['approved'] == 0">
                        {
    vb:phrase post_needs_to_be_approved}
                    <
    vb:elseif condition="$topic['showpublished'] == 0" />
                        <
    vb:if condition="!empty($topic['deleteuserid']) AND !empty($topic['deleteusername'])">
                            {
    vb:set deleteUserInfo.userid, {vb:var topic.deleteuserid}}
                            {
    vb:set deleteUserInfo.username, {vb:var topic.deleteusername}}
                            {
    vb:set deleteuserlink, {vb:url 'profile', {vb:raw deleteUserInfo}}}
                            {
    vb:set deleteusername, {vb:raw topic.deleteusername}}
                        <
    vb:else />
                            {
    vb:set deleteusername, {vb:rawphrase unknown}}
                            {
    vb:set deleteuserlink'#'}
                        </
    vb:if>
                        <
    div class="delete-note">{vb:rawphrase topic_deleted_by_x_link, {vb:raw deleteuserlink}, {vb:raw deleteusername}}</div>
                        <
    vb:if condition="!empty($topic['deletereason'])">
                            <
    div class="delete-reason"><label>{vb:phrase reason}:</label> {vb:var topic.deletereason}</div>
                        </
    vb:if>
                    <
    vb:elseif condition="$isRedirect/>
                        &
    mdash;
                    <
    vb:else />
                        <
    vb:if condition="($topic['lastcontentid'] > 0) AND ($topic['lastcontentid'] != $topic['starter'])">
                            <
    vb:comment> ***** LAST POST IS NOT TOPIC STARTER ***** </vb:comment>
                            {
    vb:set data.userid, {vb:raw topic.lastauthorid}}
                            {
    vb:set data.authorname, {vb:raw topic.lastcontentauthor}}
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw data}}}
                            <
    vb:if condition="$user['showavatars']">
                                {
    vb:template avataravataruser={vb:raw data}, avatar={vb:raw topic.avatar_last_poster}}
                            </
    vb:if>
                            <
    div class="lastpost-by">
                                <
    vb:if condition="$topic['lastauthorid'] > 0">
                                    {
    vb:rawphrase by_x, {vb:var profileUrl}, {vb:raw topic.lastcontentauthor}}
                                <
    vb:else />
                                    {
    vb:rawphrase by_x_nolink, {vb:if "$topic['lastcontentauthor']", {vb:raw topic.lastcontentauthor}, {vb:phrase guest}}}
                                </
    vb:if>
                            </
    div>
                            <
    vb:if condition="!empty($topic['lastcontent'])"><span class="post-date">{vb:datetime {vb:raw topic.lastcontent}}</span></vb:if>
                        <
    vb:else />
                            <
    vb:comment> ***** LAST POST IS TOPIC STARTER ***** </vb:comment>
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                            <
    vb:if condition="$user['showavatars']">
                                {
    vb:template avataravataruser={vb:raw topic}, avatar={vb:raw topic.avatar}}
                            </
    vb:if>
                            <
    div class="lastpost-by">
                                <
    vb:if condition="$topic['userid'] > 0">
                                    {
    vb:rawphrase by_x, {vb:var profileUrl}, {vb:raw topic.authorname}}
                                <
    vb:else />
                                    {
    vb:rawphrase by_x_nolink, {vb:if "$topic['authorname']", {vb:raw topic.authorname}, {vb:phrase guest}}}
                                </
    vb:if>
                            </
    div>
                            <
    vb:if condition="!empty($topic['created'])"><span class="post-date">{vb:datetime {vb:raw topic.created}}</span></vb:if>
                        </
    vb:if>
                    </
    vb:if>
                </
    td>
                <
    vb:comment>
                ********************** 
    END MESSAGE CENTER **********************
                </
    vb:comment>

            <
    vb:else />

                <
    vb:comment>
                ********************** 
    START REGULAR FORUMS **********************
                </
    vb:comment>

                <
    vb:comment> ***** TOPIC CELL ***** </vb:comment>
                <
    td class="cell-topic js-cell-topic">
                    <
    vb:comment> ***** AVATAR (responsive) ***** </vb:comment>
                    <
    div class="topic-avatar h-hide-on-large h-hide-on-wide-column">
                        {
    vb:template avataravataruser={vb:raw topic}, avatar={vb:raw topic.avatar}}
                    </
    div>
                    <
    vb:if condition="$vboptions['threadmarking'] > 0 AND $user['userid'] > 0 AND !empty($readtime) AND $readtime < $lastcontent AND !$isRedirect">
                        {
    vb:set newpostAvailable1}
                        <
    vb:if condition="$iconTooltip != ''">
                            {
    vb:strcat iconTooltip' '}
                        </
    vb:if>
                        {
    vb:strcat iconTooltip, {vb:phrase new_posts}}
                    <
    vb:else />
                        {
    vb:set newpostAvailable0}
                    </
    vb:if>
                    <
    span class="vb-icon vb-icon-topic-status js-open-close-topic h-hide-on-small h-hide-on-narrow-column" title="{vb:raw iconTooltip}"></span>
                    <
    div class="topic-wrapper js-topic-wrapper h-wordwrap">
                        <
    vb:comment>The "go-to-first-unread" anchor</vb:comment>
                        <
    vb:if condition="!empty($newpostAvailable)">
                            {
    vb:set querystring.goto, 'newpost'}
                            <
    a href="{vb:url {vb:raw topic.routeid}, {vb:raw topic}, {vb:raw querystring}}" class="go-to-first-unread js-go-to-first-unread" title="{vb:phrase 'go_to_first_new_post'}">&nbsp;</a>
                        </
    vb:if>
                        <
    vb:if condition="!empty($topicPrefix)"><span class="prefix js-prefix">{vb:raw topicPrefix}: </span></vb:if>
                        <
    vb:if condition="$topic['iconpath']">
                            <
    img class="js-post-icon h-align-top" src="{vb:var baseurl_core}/{vb:var topic.iconpath}" width="16" height="16" alt="" />
                        </
    vb:if>
                        <
    vb:if condition="$topic['prefixid']">
                            {
    vb:set searchStr'{"prefix":["'}
                            {
    vb:strcat searchStr, {vb:var topic.prefixid}, '"]}'}
                            <
    class="js-topic-prefix" href="{vb:url 'search'}?searchJSON={vb:urlencode {vb:raw searchStr}}">{vb:raw topic.prefix_rich}</a>
                        </
    vb:if>
                        <
    vb:if condition="!$topic['showpublished'] AND !$enableInlineMod">
                            <
    span class="js-topic-title">{vb:raw topic.title}</span>
                        <
    vb:elseif condition="$isRedirect/>
                            <
    a href="{vb:url {vb:raw redirectTopic.routeid}, {vb:raw redirectTopic}}" class="topic-title js-topic-title">{vb:raw topic.title}</a>
                        <
    vb:else />
                            <
    a href="{vb:raw topicurl}" class="topic-title js-topic-title">{vb:raw topic.title}</a>
                        </
    vb:if>
                        <
    span class="h-hide-on-large h-hide-on-wide-column">
                            <
    vb:if condition="!empty($topic['userid'])">
                                {
    vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                                {
    vb:rawphrase by_x, {vb:var profileUrl}, {vb:raw topic.authorname}}
                            <
    vb:else />
                                {
    vb:rawphrase by_x_nolink, {vb:if "$topic['authorname']", {vb:raw topic.authorname}, {vb:phrase guest}}}
                            </
    vb:if>
                        </
    span>
                        <
    vb:if condition="!empty($showChannelInfo)"><div class="h-hide-on-large h-hide-on-wide-column channel-info ellipsis">{vb:rawphrase in_x_channel, {vb:url {vb:raw topic.channelroute}}, {vb:raw topic.channeltitle}}</div></vb:if>
                    </
    div>

                    <
    div class="topic-info h-clear h-hide-on-small h-hide-on-narrow-column">
                        <
    vb:if condition="!empty($topic['userid'])">
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                        <
    vb:else />
                            {
    vb:set guestname, {vb:if "!empty($topic['authorname'])", {vb:raw topic.authorname}, {vb:phrase guest}}}
                        </
    vb:if>
                        <
    vb:comment>This needs to be one line or the output will have whitespace where there needs to not be whitespace</vb:comment>
                        {
    vb:if "!empty($topic['userid'])", {vb:rawphrase started_by_link_x_y, {vb:var profileUrl}, {vb:raw topic.authorname}},{vb:rawphrase started_by_x, {vb:raw guestname}}}{vb:if "isset($topic['created'])", {vb:rawphrase on_date_x, {vb:datetime {vb:raw topic.created}}}}
                        <
    vb:if condition="!empty($showChannelInfo)"><div class="channel-info ellipsis">{vb:rawphrase in_x_channel, {vb:url {vb:raw topic.channelroute}}, {vb:raw topic.channeltitle}}</div></vb:if>
                    </
    div>
                </
    td>

                <
    vb:comment> ***** ICONS CELL ***** </vb:comment>
                <
    td class="cell-icons">
                    <
    vb:if condition="$attachcount > 0">
                        <
    span class="vb-icon vb-icon-attach" title="{vb:phrase x_attachments, {vb:raw attachcount}}"></span>
                    </
    vb:if>
                    <
    vb:if condition="$enableInlineMod AND $hasUnpublishedPosts">
                        <
    span class="vb-icon vb-icon-warning-orange" title="{vb:phrase x_unpublished_posts, {vb:raw topic.totalunpubcount}}"></span>
                    </
    vb:if>
                    <
    vb:if condition="$isRedirect AND $topic['unpublishdate'] > 0">
                        <
    span class="icon expiring-redirect-icon" title="{vb:phrase expiring_redirect}"></span>
                    </
    vb:if>
                </
    td>

                <
    vb:comment> ***** COUNT CELL ***** </vb:comment>
                <
    td class="cell-count">
                    <
    vb:if condition="$enableInlineMod AND ($topic['approved'] == 0 OR $topic['showpublished'] == 0)">
                        <
    a href="{vb:raw topicurl}">{vb:phrase manage}</a>
                    <
    vb:elseif condition="$isRedirect OR !$topic['showpublished'] OR !(isset($topic['totalcount_1']) OR isset($topic['views']) OR isset($topic['votes']))" />
                        &
    mdash;
                    <
    vb:else />
                        <
    vb:comment>This uses totalcount_1 1 so that it shows the correct count to moderators when there are unpublished posts in the topic</vb:comment>
                        {
    vb:set responseCount, {vb:math {vb:raw topic.totalcount_1} - 1}}
                        <
    div class="posts-count"><vb:if condition="$responseCount == 1">{vb:phrase 1_response_lower}<vb:else />{vb:rawphrase x_responses_lower, {vb:number {vb:raw responseCount}}}</vb:if></div>
                        <
    div class="views-count">{vb:number {vb:raw topic.views}} <vb:if condition="$topic['views'] == 1">{vb:phrase view_lower}<vb:else />{vb:phrase views_lower}</vb:if></div>
                        <
    div class="votes-count">{vb:number {vb:raw topic.votes}} <vb:if condition="$topic['votes'] == 1">{vb:phrase like_lower}<vb:else />{vb:phrase likes_lower}</vb:if></div>
                    </
    vb:if>
                </
    td>

                <
    vb:comment> ***** LAST POST CELL ***** </vb:comment>
                <
    td class="cell-lastpost">
                    <
    vb:if condition="$enableInlineMod AND $topic['approved'] == 0">
                        {
    vb:phrase post_needs_to_be_approved}
                    <
    vb:elseif condition="$topic['showpublished'] == 0" />
                        <
    vb:if condition="!empty($topic['deleteuserid']) AND !empty($topic['deleteusername'])">
                            {
    vb:set deleteUserInfo.userid, {vb:var topic.deleteuserid}}
                            {
    vb:set deleteUserInfo.username, {vb:var topic.deleteusername}}
                            {
    vb:set deleteuserlink, {vb:url 'profile', {vb:raw deleteUserInfo}}}
                            {
    vb:set deleteusername, {vb:raw topic.deleteusername}}
                        <
    vb:else />
                            {
    vb:set deleteusername, {vb:rawphrase unknown}}
                            {
    vb:set deleteuserlink'#'}
                        </
    vb:if>
                        <
    div class="delete-note">{vb:rawphrase topic_deleted_by_x_link, {vb:raw deleteuserlink}, {vb:raw deleteusername}}</div>
                        <
    vb:if condition="!empty($topic['deletereason'])">
                            <
    div class="delete-reason"><label>{vb:phrase reason}:</label> {vb:var topic.deletereason}</div>
                        </
    vb:if>
                    <
    vb:elseif condition="$isRedirect/>
                        &
    mdash;
                    <
    vb:else />
                        <
    span class="h-hide-on-large h-hide-on-wide-column">{vb:phrase last_post}</span>
                        <
    vb:if condition="($topic['lastcontentid'] > 0) AND ($topic['lastcontentid'] != $topic['starter'])">

                            <
    vb:comment> ***** LAST POST IS NOT TOPIC STARTER ***** </vb:comment>
                            {
    vb:set data.userid, {vb:raw topic.lastauthorid}}
                            {
    vb:set data.authorname, {vb:raw topic.lastcontentauthor}}
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw data}}}

                            <
    vb:if condition="$user['showavatars']">
                            {
    vb:template avataravataruser={vb:raw data}, avatar={vb:raw topic.avatar_last_poster}}
                            </
    vb:if>
                            <
    div class="lastpost-by">
                                <
    vb:if condition="$topic['lastauthorid'] > 0">
                                    {
    vb:rawphrase by_x, {vb:var profileUrl}, {vb:raw topic.lastcontentauthor}}
                                <
    vb:else />
                                    {
    vb:rawphrase by_x_nolink, {vb:if "$topic['lastcontentauthor']", {vb:raw topic.lastcontentauthor}, {vb:phrase guest}}}
                                </
    vb:if>
                            </
    div>
                            <
    vb:if condition="!empty($topic['lastcontent'])"><span class="post-date">{vb:datetime {vb:raw topic.lastcontent}}</span></vb:if>

                        <
    vb:else />

                            <
    vb:comment> ***** LAST POST IS TOPIC STARTER ***** </vb:comment>
                            {
    vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                            <
    vb:if condition="$user['showavatars']">
                                {
    vb:template avataravataruser={vb:raw topic}, avatar={vb:raw topic.avatar}}
                            </
    vb:if>
                            <
    div class="lastpost-by">
                                <
    vb:if condition="$topic['userid'] > 0">
                                    {
    vb:rawphrase by_x, {vb:var profileUrl}, {vb:raw topic.authorname}}
                                <
    vb:else />
                                    {
    vb:rawphrase by_x_nolink, {vb:if "$topic['authorname']", {vb:raw topic.authorname}, {vb:phrase guest}}}
                                </
    vb:if>
                            </
    div>
                            <
    vb:if condition="!empty($topic['created'])"><span class="post-date">{vb:datetime {vb:raw topic.created}}</span></vb:if>

                        </
    vb:if>
                        {
    vb:set qs.p, {vb:raw topic.lastcontentid}}
                        <
    a href="{vb:if "!empty($topic['lastcontenturl'])", {vb:var topic.lastcontenturl}, {vb:url {vb:raw topic.routeid}, {vb:raw topic}, {vb:raw qs}}}" class="go-to-last-post" title="{vb:phrase 'go_to_last_post'}">&nbsp;</a>
                    </
    vb:if>
                </
    td>

                <
    vb:if condition="isset($enableInlineMod) AND $enableInlineMod > 0">
                    <
    td class="cell-inlinemod-item"><input class="cb_inlinemod" type="checkbox" name="node[]" value="{vb:raw topic.nodeid}" /></td>
                </
    vb:if>
                <
    vb:comment>
                ********************** 
    END REGULAR FORUMS **********************
                </
    vb:comment>

            </
    vb:if>
        </
    tr>
    </
    vb:if> 

    Leave a comment:


  • Mark.B
    replied
    Revert the display_topics_item template.

    Leave a comment:


  • Christian Alfredsson
    started a topic Double link to section

    Double link to section

    After upgrade I got to links to the section. Look at the picture.

Related Topics

Collapse

Working...
X