Log in

View Full Version : Threadtitle Links to Last Unread


broncoshq
02-27-2016, 01:49 AM
Hey Guys,

I have set my forum up so when a user clicks the threadtitle, they are directed to the last unread post, or the last post. I believe this is how Xenforo works.

That works fine, however, when the user is selecting a thread in a forum that requires the user to be in a permissions group to view, they are no being redirected to the last unread, only the last post.

Am I missing something? I really need some help, as the few people who I have spoken to about it, really have no idea what is going on.

Appreciate any assistance.

--------------- Added 1456546858 at 1456546858 ---------------

Here is the code also.

<vb:if condition="$bbuserinfo['field25'] == 'OFF'">


<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>




<vb:else />


<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

</vb:if>