Another idea.
On closed threads move it above thread status.
That did the trick! Thanks!Uploaded the version I did last night - It's the same CSS bug I believe so updating the latest XML should resolve it. Let me know if it doesn't
Glad to here itThat did the trick! Thanks!
I have verified that it is this add-on,as I have disabled everything and it all works fine.Moment I enable this one,nothing. Any Ideas?<xen:include template="thread_online"></xen:include>
Nice solution! But... I think it will work only until some other addon utilizes the same method on the same controller.The new version doesn't require a template edit because it wraps itself around the thread_view template (thread_online), I'll grab the latest XF later to see if there's any conflictions but it should work right out of the box, make sure you've uploaded all files in the correct location and the "thread_online" template exists
Yes,its there. And I am not using the latest XF. I am using the version I downloaded on Day 1. It is definitely not working for me. Go to My Site and try and view a Thread. That only happens when this add-on is enabled.The new version doesn't require a template edit because it wraps itself around the thread_view template (thread_online), I'll grab the latest XF later to see if there's any conflictions but it should work right out of the box, make sure you've uploaded all files in the correct location and the "thread_online" template exists
Agree'd, until templates have some sort of solution themselves it's a little break from manual editingNice solution! But... I think it will work only until some other addon utilizes the same method on the same controller.
In that case shouldn't be an issue, mine too is the version from Day 1 and as far as I know no one else can replicate this. I'd try removing the product altogether from the Admin CP then re-importing the XML to see if anything got messed up, it looks like the template is missing. If the removal/install does nothing, can you tell me the contents of the thread_online template? ThanksYes,its there. And I am not using the latest XF. I am using the version I downloaded on Day 1. It is definitely not working for me. Go to My Site and try and view a Thread. That only happens when this add-on is enabled.
<xen:if is="{$xenOptions.dbtech_uvf_displayoption} == 1">
<xen:include template="thread_view"></xen:include>
</xen:if>
<xen:if is="{$usersViewingThread}">
<xen:require css="thread_view.css" />
<xen:require css="thread_online.css" />
<div class="online secondaryContent">
<h3>{xen:phrase users_viewing_thread_x_y, 'users={$usersViewingThread.members}', 'guests={$usersViewingThread.guests}'}</h3>
<ol class="listInline">
<xen:foreach loop="$usersViewingThread.records" value="$user" i="$i">
<li>
<xen:if is="{$user.user_id}">
<a href="{xen:link members, $user}"
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$usersViewingThread.limit}">,</xen:if>
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$usersViewingThread.limit}">,</xen:if>
</xen:if>
</li>
</xen:foreach>
</ol>
</div>
</xen:if>
<xen:if is="{$xenOptions.dbtech_uvf_displayoption} == 0">
<xen:include template="thread_view"></xen:include>
</xen:if>
How odd, I'd say check the settings in the ACP for the users viewing thread options and see if saving them changes anything, other than that I'm not sure to be honest - I can't replicate the scenario myself on any vanilla installation.
We use essential cookies to make this site work, and optional cookies to enhance your experience.