How to add forum names into Today's Posts / New Topics

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

    #16
    IggyP, It would be like this (change all 4 additions):

    Code:
    <vb:if condition="$page['title'] == 'Search Results' || $page['title'] == 'Other Page Name'"><span class="f-title"> in <a href="{vb:url {vb:raw topic.channelroute}, {vb:raw topic}}">{vb:raw topic.channeltitle}</a></span></vb:if>

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24288
      • 6.0.X

      #17
      Originally posted by GuiltyNL
      IggyP, It would be like this (change all 4 additions):

      Code:
      <vb:if condition="$page['title'] == 'Search Results' || $page['title'] == 'Other Page Name'"><span class="f-title"> in <a href="{vb:url {vb:raw topic.channelroute}, {vb:raw topic}}">{vb:raw topic.channeltitle}</a></span></vb:if>
      in_array would be useful here.
      Code:
      <vb:if condition="in_array($page['title'], array('Search Result', 'Other Page Name', 'Yet Another Page Name'))">
      Note that the Search page is called "Search Result" not "Search Results".
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • IggyP
        Senior Member
        • Mar 2012
        • 680

        #18
        hmm, i still will like to implement this but ive no idea what to even try for changing display location to the LAST POST column...the more i think about it tho, its def a solid idea...LATEST TOPICS module has like 3x the text displayed in the TOPICS column cant even imagine cramming another link in there

        i also would rather show, in the full page modules, like in the link you posted mark.....showing after the topic name, or perhaps before the timestamp rather than after it...tho i care less about that than proper display in modules...

        thanks
        Last edited by IggyP; Tue 18 Mar '14, 4:52pm.

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24288
          • 6.0.X

          #19
          Originally posted by IggyP
          hmm, i still will like to implement this but ive no idea what to even try for changing display location to the LAST POST column...the more i think about it tho, its def a solid idea...LATEST TOPICS module has like 3x the text displayed in the TOPICS column cant even imagine cramming another link in there

          i also would rather show, in the full page modules, like in the link you posted mark.....showing after the topic name, or perhaps before the timestamp rather than after it...tho i care less about that than proper display in modules...

          thanks
          I'll try and write something up in the next few days for how to make a Latest Posts page like that, along with the forum names....it works rather well as a sort of half way house between Today's Posts and an Activity Stream. Whilst I find people seem to hate activity streams, I've had a lot of success with the Latest Posts page. It's also got a nice short URL.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment


          • IggyP
            IggyP commented
            Editing a comment
            agreed...thanks alot for your contributions, respect

          • IggyP
            IggyP commented
            Editing a comment
            to give a better picture too, if it wasnt clear and fwiw im using the view>topics setting
        • glennrocksvb
          Former vBulletin Developer
          • Mar 2011
          • 4021
          • 5.7.X

          #20
          I have found a way to add the forum name as a mod/add-on without modifying any existing templates. For those who are interested, let me know.

          Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24288
            • 6.0.X

            #21
            Originally posted by Glenn Vergara
            I have found a way to add the forum name as a mod/add-on without modifying any existing templates. For those who are interested, let me know.
            Definitely Glenn....it would save me and others a lot of messing about with css and template edits...

            It's one of the most requested things I come across.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • Replicant
              Senior Member
              • Sep 2014
              • 527

              #22
              I'll take that one. It's one I've been missing, but didn't realize it.


              Comment

              • Guest

                #23
                Glenn I'm interested haha. :P

                Comment

                • anwar513
                  Senior Member
                  • Sep 2010
                  • 277
                  • 5.2.x

                  #24
                  Originally posted by Glenn Vergara
                  I have found a way to add the forum name as a mod/add-on without modifying any existing templates. For those who are interested, let me know.
                  I'm interested

                  Comment

                  • glennrocksvb
                    Former vBulletin Developer
                    • Mar 2011
                    • 4021
                    • 5.7.X

                    #25
                    Thanks for your interest!

                    It will be available to the public soon. I will charge a minimal fee (to support my vB5 mod development projects)

                    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                    Comment

                    • nomadgirl
                      New Member
                      • Dec 2014
                      • 20

                      #26
                      Originally posted by Mark.B

                      Next, edit the template display_Topics_item

                      Find BOTH instances of this:
                      Code:
                      {vb:rawphrase started_by_link_x_y_z, {vb:var profileUrl}, {vb:raw topic.authorname}, {vb:datetime {vb:raw topic.created}}}
                      I can't find this anywhere - has something changed since you posted this last year?


                      Originally posted by Mark.B
                      Finally, find BOTH instances of this:
                      Code:
                      {vb:rawphrase started_by_guest_x, {vb:datetime {vb:raw topic.created}}}
                      Can't find this either...

                      Is it just me?? Thanks in advance for any help you can provide

                      This is the content of my current display_topics_item file - I posted it as PHP code, but honestly I have no idea what that even means, it was the only way I could get the forum to allow me to post it without thinking I had too many images... yup... total newb here...

                      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:if condition="$topic['approved'] == 0">
                          {
                      vb:strcat topicStatus' unapproved'}
                          {
                      vb:set phrase_unapproved, {vb:phrase unapproved}}
                          {
                      vb:strcat topicPrefix, {vb:raw phrase_unapproved}}
                          {
                      vb:set hasUnpublishedPosts0}
                      <
                      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: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

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

                      <vb:if condition="$topic['
                      sticky'] == false AND $firstNonStickyThread == 0">
                          {vb:set firstNonStickyThread, 1}
                          {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>" 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}">
                              <vb:if condition="isset($inMessageCenter) AND $inMessageCenter">
                                  <td class="cell-topic">
                                      <div class="topic-wrapper">
                                          <vb:comment>The "go-to-first-unread" span is added here via JS</vb:comment>
                                          <vb:if condition="!empty($topicPrefix)"><span class="prefix">{vb:raw topicPrefix}: </span></vb:if>
                                          <vb:if condition="$topic['
                      iconid']">
                                              <img src="{vb:var baseurl_core}/images/icons/icon{vb:var topic.iconid}.png" width="16" height="16" alt="" />
                                          </vb:if>
                                          <vb:if condition="$topic['
                      prefixid']">
                                              {vb:set searchStr, '
                      {"prefix":["'}
                                              {vb:strcat searchStr, {vb:var topic.prefixid}, '"
                      ]}'}
                                              <a 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">
                                              {vb:raw topic.title}
                                          <vb:elseif condition="$isRedirect" />
                                              <a href="{vb:url {vb:raw redirectTopic.routeid}, {vb:raw redirectTopic}}" class="topic-title">{vb:raw topic.title}</a>
                                          <vb:else />
                                              <a href="{vb:url {vb:raw topic.routeid}, {vb:raw topic}}" class="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:rawphrase started_by_link_x_y_z, {vb:var profileUrl}, {vb:raw topic.authorname}, {vb:datetime {vb:raw topic.created}}}
                                          <vb:else />
                                              {vb:rawphrase started_by_guest_x, {vb:datetime {vb:raw topic.created}}}
                                          </vb:if>
                                      </div>
                                  </td>
                                  <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="button secondary">{vb:phrase go_to_post}</a>
                                  </td>
                                  <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:set data.userid, {vb:raw topic.lastauthorid}}
                                              {
                      vb:set data.username, {vb:raw topic.lastauthorname}}
                                              {
                      vb:set profileUrl, {vb:url 'profile', {vb:raw data}}}
                                              <
                      vb:if condition="$user['showavatars']">
                                                  <
                      vb:if condition="$topic['lastauthorid'] > 0">
                                                      <
                      a href="{vb:var profileUrl}" class="avatar h-left">
                                                      <
                      vb:if condition="($topic['lastauthorid'] > 0) AND ($topic['avatar_last_poster'])">
                                                          <
                      vb:if condition="$topic['avatar_last_poster']['avatarpath']">
                                                                  <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar_last_poster.avatarpath}" alt="{vb:raw topic.lastcontentauthor}" />
                                                          <
                      vb:else />
                                                                  <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.lastcontentauthor}" />
                                                          </
                      vb:if>
                                                      <
                      vb:else />
                                                          <
                      vb:if condition="$topic['avatar']['avatarpath'] AND ($topic['lastcontentid'] != $topic['starter'])">
                                                              <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar.avatarpath}" alt="{vb:raw topic.authorname}" />
                                                          <
                      vb:else />
                                                              <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.authorname}" />
                                                          </
                      vb:if>
                                                      </
                      vb:if>
                                                      </
                      a>
                                                  <
                      vb:else />
                                                      <
                      span class="avatar h-left">
                                                          <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" width="32" height="32" alt="{vb:phrase guest_avatar}" />
                                                      </
                      span>
                                                  </
                      vb:if>
                                              </
                      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:phrase by_guest}
                                                  </
                      vb:if>
                                              </
                      div>
                                              <
                      span class="post-date">{vb:datetime {vb:raw topic.lastcontent}}</span>
                                          <
                      vb:else />
                                              {
                      vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                                              <
                      vb:if condition="$user['showavatars']">
                                                  <
                      vb:if condition="$topic['userid'] > 0">
                                                      <
                      a href="{vb:var profileUrl}" class="avatar h-left">
                                                          <
                      vb:if condition="$topic['avatar']['avatarpath']">
                                                              <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar.avatarpath}" alt="{vb:raw topic.authorname}" />
                                                          <
                      vb:else />
                                                              <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.authorname}" />
                                                          </
                      vb:if>
                                                      </
                      a>
                                                  <
                      vb:else />
                                                      <
                      span class="avatar h-left">
                                                          <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" width="32" height="32" alt="{vb:phrase guest_avatar}" />
                                                      </
                      span>
                                                  </
                      vb:if>
                                              </
                      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:phrase by_guest}
                                                  </
                      vb:if>
                                              </
                      div>
                                              <
                      span class="post-date">{vb:datetime {vb:raw topic.created}}</span>
                                          </
                      vb:if>
                                      </
                      vb:if>
                                  </
                      td>
                              <
                      vb:else />

                                  <
                      td class="cell-topic">
                                      <
                      vb:if condition="$vboptions['threadmarking'] > 0 AND $user[userid] > 0 AND !empty($readtime) AND $readtime < $lastcontent AND !$isRedirect">
                                          {
                      vb:set newpostAvailable1}
                                          {
                      vb:set iconTooltip, {vb:phrase new_posts}}
                                      <
                      vb:else />
                                          {
                      vb:set newpostAvailable0}
                                      </
                      vb:if>

                                      <
                      span class="vb-icon vb-icon-topic-status" title="{vb:raw iconTooltip}"></span>
                                      <
                      div class="topic-wrapper">
                                          <
                      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" title="{vb:phrase 'go_to_first_new_post'}">&nbsp;</a>
                                          </
                      vb:if>

                                          <
                      vb:if condition="!empty($topicPrefix)"><span class="prefix">{vb:raw topicPrefix}: </span></vb:if>
                                          <
                      vb:if condition="$topic['iconid']">
                                              <
                      img src="{vb:var baseurl_core}/images/icons/icon{vb:var topic.iconid}.png" width="16" height="16" alt="" />
                                          </
                      vb:if>
                                          <
                      vb:if condition="$topic['prefixid']">
                                              {
                      vb:set searchStr'{"prefix":["'}
                                              {
                      vb:strcat searchStr, {vb:var topic.prefixid}, '"]}'}
                                              <
                      a 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">
                                              {
                      vb:raw topic.title}
                                          <
                      vb:elseif condition="$isRedirect/>
                                              <
                      a href="{vb:url {vb:raw redirectTopic.routeid}, {vb:raw redirectTopic}}" class="topic-title">{vb:raw topic.title}</a>
                                          <
                      vb:else />
                                              <
                      a href="{vb:url {vb:raw topic.routeid}, {vb:raw topic}}" class="topic-title">{vb:raw topic.title}</a>
                                          </
                      vb:if>
                                      </
                      div>
                                      <
                      div class="topic-info h-clear">
                                          <
                      vb:if condition="!empty($topic['userid'])">
                                              {
                      vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                                              {
                      vb:rawphrase started_by_link_x_y_z, {vb:var profileUrl}, {vb:raw topic.authorname}, {vb:datetime {vb:raw topic.created}}}
                                          <
                      vb:else />
                                              {
                      vb:rawphrase started_by_guest_x, {vb:datetime {vb:raw topic.created}}}
                                          </
                      vb:if>
                                          <
                      vb:if condition="isset($inMessageCenter) AND $inMessageCenter">
                                              <
                      div class="links"><a href="#" data-follow-id="{vb:var topic.nodeid}" class="following_remove">{vb:phrase following_remove}</a></div>
                                          </
                      vb:if>
                                      </
                      div>
                                  </
                      td>
                                  <
                      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>
                                  <
                      td class="cell-count">
                                      <
                      vb:if condition="$enableInlineMod AND ($topic['approved'] == 0 OR $topic['showpublished'] == 0)">
                                          <
                      a href="{vb:url {vb:raw topic.routeid}, {vb:raw topic}}">{vb:phrase manage}</a>
                                      <
                      vb:elseif condition="$isRedirect OR !$topic['showpublished']" />
                                          &
                      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:phrase 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>
                                  <
                      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:set data.userid, {vb:raw topic.lastauthorid}}
                                              {
                      vb:set data.username, {vb:raw topic.lastauthorname}}
                                              {
                      vb:set profileUrl, {vb:url 'profile', {vb:raw data}}}
                                              <
                      vb:if condition="$user['showavatars']">
                                                  <
                      vb:if condition="$topic['lastauthorid'] > 0">
                                                      <
                      a href="{vb:var profileUrl}" class="avatar h-left">
                                                      <
                      vb:if condition="($topic['lastauthorid'] > 0) AND ($topic['avatar_last_poster'])">
                                                          <
                      vb:if condition="$topic['avatar_last_poster']['avatarpath']">
                                                                  <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar_last_poster.avatarpath}" alt="{vb:raw topic.lastcontentauthor}" />
                                                          <
                      vb:else />
                                                                  <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.lastcontentauthor}" />
                                                          </
                      vb:if>
                                                      <
                      vb:else />
                                                          <
                      vb:if condition="$topic['avatar']['avatarpath'] AND ($topic['lastcontentid'] != $topic['starter'])">
                                                              <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar.avatarpath}" alt="{vb:raw topic.authorname}" />
                                                          <
                      vb:else />
                                                              <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.authorname}" />
                                                          </
                      vb:if>
                                                      </
                      vb:if>
                                                      </
                      a>
                                                  <
                      vb:else />
                                                      <
                      span class="avatar h-left">
                                                          <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" width="32" height="32" alt="{vb:phrase guest_avatar}" />
                                                      </
                      span>
                                                  </
                      vb:if>
                                              </
                      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:phrase by_guest}
                                                  </
                      vb:if>
                                              </
                      div>
                                              <
                      span class="post-date">{vb:datetime {vb:raw topic.lastcontent}}</span>
                                          <
                      vb:else />
                                              {
                      vb:set profileUrl, {vb:url 'profile', {vb:raw topic}}}
                                              <
                      vb:if condition="$user['showavatars']">
                                                  <
                      vb:if condition="$topic['userid'] > 0">
                                                      <
                      a href="{vb:var profileUrl}" class="avatar h-left">
                                                          <
                      vb:if condition="$topic['avatar']['avatarpath']">
                                                              <
                      img src="{vb:raw baseurl_corecdn}/{vb:raw topic.avatar.avatarpath}" alt="{vb:raw topic.authorname}" />
                                                          <
                      vb:else />
                                                              <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" alt="{vb:raw topic.authorname}" />
                                                          </
                      vb:if>
                                                      </
                      a>
                                                  <
                      vb:else />
                                                      <
                      span class="avatar h-left">
                                                          <
                      img src="{vb:raw baseurl_corecdn}/images/default/default_avatar_thumb.png" width="32" height="32" alt="{vb:phrase guest_avatar}" />
                                                      </
                      span>
                                                  </
                      vb:if>
                                              </
                      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:phrase by_guest}
                                                  </
                      vb:if>
                                              </
                      div>
                                              <
                      span class="post-date">{vb:datetime {vb:raw topic.created}}</span>
                                          </
                      vb:if>
                                          {
                      vb:set qs.p, {vb:raw topic.lastcontentid}}
                                          <
                      a href="{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:if>
                          </
                      tr>
                      </
                      vb:if> 

                      Comment

                      • Guest

                        #27
                        I can find it? It is in the file you posted. On line 161 and line 293

                        And line 163 and 295

                        Comment

                        • nomadgirl
                          New Member
                          • Dec 2014
                          • 20

                          #28
                          *facepalm*

                          I was using "command F" on my mac to search for it while looking at it from the vBulletin dashboard... should have copied and pasted in text editor first I bet, then it would have found it for me!

                          Thanks Tim!!!

                          Comment

                          • Mark.B
                            vBulletin Support
                            • Feb 2004
                            • 24288
                            • 6.0.X

                            #29
                            Just use 'search in templates' and it will find it for you.
                            MARK.B
                            vBulletin Support
                            ------------
                            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                            Comment

                            • glennrocksvb
                              Former vBulletin Developer
                              • Mar 2011
                              • 4021
                              • 5.7.X

                              #30
                              Originally posted by Glenn Vergara
                              Thanks for your interest!

                              It will be available to the public soon.
                              See "Add Channel in Search" link in my signature.

                              Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                              Comment

                              Related Topics

                              Collapse

                              Working...