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
 
The widget shows online staff only. Maybe only 5 of your staff are online at this moment?
Nope. They are not online when I check it.

And I'm not listed as staff too (I'm super admin anyway), this is a snip from user essential

upload_2014-1-24_17-51-49.webp
 
Checking your page shows you use the User Staff. The template you copied is from Online Staff. So just go to AdminCP and check it. If you see a limit option, set it to 0 to show all staff.
Sorry, but where is the location find that? :D
 
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.
 
I reuploaded, removed everything and reinstalled and I keep getting the same error.
i am on 1.1.5 if that mather
 
Back
Top Bottom