Resource icon

[bd] Widget Framework 2.6.6

No permission to download
@xfrocks

My members page (https://oniichan.us/members/) show there are only 5 staff on the sidebar, but I have more than that (https://oniichan.us/members/?type=staff)

This is my wf_widget_online_staff
Code:
<xen:if hascontent="true">
<div class="avatarList WidgetFramework_WidgetRenderer_OnlineStaff">
    <ul>
        <xen:contentcheck>
            <xen:foreach loop="$onlineUsers.records" value="$user">
                <xen:if is="(isset({$user.is_staff}) AND {$user.is_staff}) OR (!isset({$user.is_staff}) AND ({$user.is_moderator} OR {$user.is_admin}))">
                    <li class="user-{$user.user_id}">
                        <xen:avatar user="$user" size="s" img="true" />
                        <xen:username user="$user" rich="true" />
                        <div class="userTitle">{xen:helper userTitle, $user}</div>
                    </li>
                </xen:if>
            </xen:foreach>
        </xen:contentcheck>
    </ul>
</div>
</xen:if>

Any suggestion?

XF 1.2.4 with WF 2.4.6d
 
@xfrocks

My members page (https://oniichan.us/members/) show there are only 5 staff on the sidebar, but I have more than that (https://oniichan.us/members/?type=staff)

This is my wf_widget_online_staff
Code:
<xen:if hascontent="true">
<div class="avatarList WidgetFramework_WidgetRenderer_OnlineStaff">
    <ul>
        <xen:contentcheck>
            <xen:foreach loop="$onlineUsers.records" value="$user">
                <xen:if is="(isset({$user.is_staff}) AND {$user.is_staff}) OR (!isset({$user.is_staff}) AND ({$user.is_moderator} OR {$user.is_admin}))">
                    <li class="user-{$user.user_id}">
                        <xen:avatar user="$user" size="s" img="true" />
                        <xen:username user="$user" rich="true" />
                        <div class="userTitle">{xen:helper userTitle, $user}</div>
                    </li>
                </xen:if>
            </xen:foreach>
        </xen:contentcheck>
    </ul>
</div>
</xen:if>

Any suggestion?

XF 1.2.4 with WF 2.4.6d
The widget shows online staff only. Maybe only 5 of your staff are online at this moment?
 
Hi I have a new framework page created ID is 171.
Well, I would let show the sidebar like only there and on the forums.
So various widgets.
Position is "pagenode_container" and expression: § page ['node_id'] == 171
but nothing happens! It is not displayed.
Is this a bug or am I doing wrong?
 
Hi I have a new framework page created ID is 171.
Well, I would let show the sidebar like only there and on the forums.
So various widgets.
Position is "pagenode_container" and expression: § page ['node_id'] == 171
but nothing happens! It is not displayed.
Is this a bug or am I doing wrong?
Position should be "wf_widget_page_index" and expression should be
PHP:
$widgetPage['node_id'] == 171
 
sidebar_online_users template

FIND
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
CHANGE TO
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>

Actually.... you may have to do that to the wf_widget_online_users

This doesn't seem to work for me, has anything changed since last year?
 
This doesn't seem to work for me, has anything changed since last year?
It is now an option. You don't have to edit the template.

Is there any way to get the Online Members and Staff Online combined like this?
http://xenforo.com/community/resources/combine-members-and-staff-online.2133/

I know I can group them together and get tabs, but I want the look to be like the non-tab widgets
You need to play with the template to achieve that.
 
Top Bottom