[tLk] Usergroup Legend

[tLk] Usergroup Legend 1.2.1

No permission to download
still doing it. Another server error.
Code:
#0 /home1/admin/public_html/community/library/TilkiBey/UsergroupLegend/Model/FetchUsergroup.php(17): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home1/admin/pu...', 17, Array)
#1 /home1/admin/public_html/community/library/TilkiBey/UsergroupLegend/Controller/Public.php(6): TilkiBey_UsergroupLegend_Model_FetchUsergroup::fetchUsergroup()
#2 /home1/admin/public_html/community/library/WidgetFramework/XenForo/ControllerPublic/Forum.php(13): TilkiBey_UsergroupLegend_Controller_Public->actionIndex()
#3 /home1/admin/public_html/community/library/XenForo/FrontController.php(347): WidgetFramework_XenForo_ControllerPublic_Forum->actionIndex()
#4 /home1/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home1/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
  ["url"] => string(36) "http://www.mysite.com/community/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
In the tkl_usergroup_legend replace all with
Code:
<xen:if is="{$TilkiBey_UsergroupLegend}">
    <xen:if hascontent="true">
        <div class="sectionMain">
<!-- <b>{xen:phrase tlk_usergrouplegend_title}:</b> -->
            <xen:contentcheck>
                <xen:foreach loop="$TilkiBey_UsergroupLegend" value="$TilkiBey_UsergroupLegend">
                    ~ <span style="{$TilkiBey_UsergroupLegend.usergroup.username_css}" title="{$TilkiBey_UsergroupLegend.usergroup.title}"><b>{$TilkiBey_UsergroupLegend.usergroup.title}</b></span>
                </xen:foreach>
            </xen:contentcheck>
        </div>
    </xen:if>
</xen:if>
and then just do the manual template edit in the wf_widget_online_users and at the very bottom place
Code:
<xen:include template="tlk_usergroup_legend" />
Here are my changes @Tracy Perry - and i have deleted all widgets in widget framework add on that reference this add on, should I remove it elsewhere? I did import the xml @Tilkißey suggested.

wf_widget_online_users

Code:
<div class="userList WidgetFramework_WidgetRenderer_OnlineUsers">
    <xen:if is="{$onlineUsers.records}">
        <xen:if is="{$widget.options.hide_following} == 0 AND {$visitor.user_id}">
            <xen:if hascontent="true">
            <h4 class="minorHeading"><a href="{xen:link account/following}">{xen:phrase people_you_follow}:</a></h4>
            <ul class="followedOnline">
                <xen:contentcheck>
                    <xen:foreach loop="$onlineUsers.records" value="$user">
                        <xen:if is="{$user.followed}">
                            <li title="{$user.username}" class="Tooltip user-{$user.user_id}"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
                        </xen:if>
                    </xen:foreach>
                </xen:contentcheck>
            </ul>
            <h4 class="minorHeading"><a href="{xen:link members}">{xen:phrase members}:</a></h4>
            </xen:if>
        </xen:if>
       
        <ol class="listInline">
            <xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
                <xen:if is="{$i} <= {$onlineUsers.limit}">
                    <li class="user-{$user.user_id}">
                    <xen:if is="{$user.user_id}">
                        <xen:username user="$user" rich="{$widget.options.rich}" class="{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}" /><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
                    <xen:else />
                        {xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
                    </xen:if>
                    </li>
                </xen:if>
            </xen:foreach>
            <xen:if is="{$onlineUsers.recordsUnseen}">
                <li class="moreLink">... <a href="{xen:link online}" title="{xen:phrase see_all_visitors}">{xen:phrase and_x_more, 'count={xen:number $onlineUsers.recordsUnseen}'}</a></li>
            </xen:if>
        </ol>
    </xen:if>
   
    <div class="footnote">
        <xen:if is="isset({$onlineUsers.robots})">
            {xen:phrase online_now_x_members_y_guests_z_robots_a, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}', 'robots={xen:number $onlineUsers.robots}'}
        <xen:else />
            {xen:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}
        </xen:if>
    </div>
</div>
<xen:include template="tlk_usergroup_legend" />

tk_usergroup_legend

Code:
<xen:if is="{$TilkiBey_UsergroupLegend}">
    <xen:if hascontent="true">
        <div class="sectionMain">
<!-- <b>{xen:phrase tlk_usergrouplegend_title}:</b> -->
            <xen:contentcheck>
                <xen:foreach loop="$TilkiBey_UsergroupLegend" value="$TilkiBey_UsergroupLegend">
                    • <span style="{$TilkiBey_UsergroupLegend.usergroup.username_css}" title="{$TilkiBey_UsergroupLegend.usergroup.title}"><b>{$TilkiBey_UsergroupLegend.usergroup.title}</b></span>
                </xen:foreach>
            </xen:contentcheck>
        </div>
    </xen:if>
</xen:if>
 
@tommydamic68
i will integrate my add-ons to widget framework
i am working on it
please use v2 widget for now
coz of usergroup legend addon is extended for ONLY forum_list template (for now)
i need to develop my add-ons for supporting widget framework
 

Attachments

@tommydamic68
i will integrate my add-ons to widget framework
i am working on it
please use v2 widget for now
coz of usergroup legend addon is extended for ONLY forum_list template (for now)
i need to develop my add-ons for supporting widget framework
Is there any way to have the look as @Tracy Perry has a de threads back- the look is very neat and stylish and doesn't take up another entire block in the sidebar.
 
Is there any way to have the look as @Tracy Perry has a de threads back- the look is very neat and stylish and doesn't take up another entire block in the sidebar.
not at the moment now
Tracy Perry should get error on another page (like members page etc)
Coz online members list extended for all pages but my add-on extended for only forum_list template's page for now
i am working on widget framework add-on as i said on my prev. post
 
not at the moment now
Tracy Perry should get error on another page (like members page etc)
Coz online members list extended for all pages but my add-on extended for only forum_list template's page for now
i am working on widget framework add-on as i said on my prev. post
Nope, don't get it... but that is probably because I only display it on the forum home screen.
 
I'm using the default BD Widget Framework online users and modified it as I outlined in my earlier post.
 
Top Bottom