Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
November 8, 201113 yr FIXED... SAME TEMPLATE. THIS IS THE CODE: <h4><a href='{parse url="showtopic={$data['tid']}<if test="isNewPostTR:|:$this->request['do']=='new_posts' OR $this->request['do']=='active' OR $this->request['do']=='viewNewContent'">&view=getnewpost<else /><if test="resultIsPostTR:|:$data['pid'] AND $data['pid'] != $data['topic_firstpost']">&view=findpost&p={$data['pid']}</if></if>&hl={$data['cleanSearchTerm']}&fromsearch=1" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_result']}'>{$data['_shortTitle']}</a></h4> and i feel a dunce for not sorting it earlier.
November 8, 201113 yr Management This came up a lot before and at the time we decided to keep the VNC view consistent with forum view, in that clicking the link took you to the first post and clicking the blue dot takes you to the first unread.
November 8, 201113 yr This came up a lot before and at the time we decided to keep the VNC view consistent with forum view, in that clicking the link took you to the first post and clicking the blue dot takes you to the first unread. While i can agree, now if they do not like it, they can change it.
November 8, 201113 yr Although I preferred the previous behaviour I can see the logic in what IPS has done. All I think needs to be done is something a bit more obvious than a dot be used. VB for example uses an arrow. I've also added a legend to the VNC template as per the image below. Not ideal as it shows on all VNC pages. I probably need to add an if statement in to hide it. 3DKiwi
November 8, 201113 yr Although I preferred the previous behaviour I can see the logic in what IPS has done. All I think needs to be done is something a bit more obvious than a dot be used. VB for example uses an arrow. I've also added a legend to the VNC template as per the image below. Not ideal as it shows on all VNC pages. I probably need to add an if statement in to hide it. 3DKiwi something like this should do: <if test="$this->request['do']=='viewNewContent'"> code legend </if> for that need. EDIT, sorry, wrong iftest LOL.... changed to be kosher.
November 9, 201113 yr something like this should do: <if test="$this->request['do']=='viewNewContent'"> code legend </if> for that need. EDIT, sorry, wrong iftest LOL.... changed to be kosher. Thanks. What I'm trying to do is only on the Forums result page when doing a VNC should the legend show. You've pointed me in the right direction. The following code does what I want. <if test="forumsTab:|:$this->request['search_app'] == 'forums'"> Legend code </if> Thanks for your interest and support. You've been very helpful :) Nigel / 3DKiwi
November 9, 201113 yr Thanks. What I'm trying to do is only on the Forums result page when doing a VNC should the legend show. You've pointed me in the right direction. The following code does what I want. <if test="forumsTab:|:$this->request['search_app'] == 'forums'"> Legend code </if> Thanks for your interest and support. You've been very helpful :smile: Nigel / 3DKiwi ;) appreciate the response, and glad you bothered to look around for the exact code you needed :)
March 29, 201212 yr Hi there, I would like to know how these options can be changed between the icons and the name of the topic. I want to after clicking on the name of the topic taken me to the last unread post. So how to swap between functions "unread" and "fromsearch=1"? Please help how I can do it :)
March 29, 201212 yr Hi there, I would like to know how these options can be changed between the icons and the name of the topic. I want to after clicking on the name of the topic taken me to the last unread post. So how to swap between functions "unread" and "fromsearch=1"? Please help how I can do it :smile: :pirate:
Archived
This topic is now archived and is closed to further replies.