Binari0
Member
Hi, how cant put avatars in the template wf_widget_online_users? I had it before. After upgrading disappeared.
http://foros.tecnogaming.com/
http://foros.tecnogaming.com/
Yes, that's rightAm I right in thinking that I can upgrade from v1.2 by simply:
1) FTPing all the files across, overwriting the existing ones
2) Go to ACP > Add-ons > Installed Add-ons
3) Hover over [bd] Widget Framework and choose "Upgrade Add-on"
4) Point it towards addon-WF_UpcomingEvents.xml
Is that it? I won't lose any customisations or existing widgets, will I?
Thanks.
By default, wf_widget_online_users doesn't have avatars?Hi, how cant put avatars in the template wf_widget_online_users? I had it before. After upgrading disappeared.
View attachment 27904
http://foros.tecnogaming.com/
Am I right in thinking that I can upgrade from v1.2 by simply:
1) FTPing all the files across, overwriting the existing ones
2) Go to ACP > Add-ons > Installed Add-ons
3) Hover over [bd] Widget Framework and choose "Upgrade Add-on"
4) Point it towards addon-WF_UpcomingEvents.xml
Is that it? I won't lose any customisations or existing widgets, will I?
Thanks.
Yes, that's right
<div class="userList WidgetFramework_WidgetRenderer_OnlineUsers">
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$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"><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>
<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} < {$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:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}
</div>
</div>
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$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"><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="followedOnline">
<xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
<xen:if is="{$i} <= {$onlineUsers.limit}">
<xen:if is="!{$user.followed}">
<xen:if is="{$user.user_id}">
<li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage{xen:if '!{$user.visible}', ' dKinvisible'}" /></li>
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
</xen:if>
</xen:if>
</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">
<a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}</a>
</div>
I don't think many people will use the count down widget. Adding it to this add-on may not be a wise choice (as time move on, this add-on will become bloat-ware, etc.). I may create a small add-on with that exact functionality. What do you think?xfrocks,
Have you thought of adding a countdown widget where we can enter the time of the event and some html message area. Right now, I have to go into the template and edit the text, time which defeats the purpose of using widget
Thanks for an amazing product.
Nice catch! Yes, the directory has been renamed. You can delete the widget_framework directoryExcellent, thanks.
Just went to do all of the above, and I notice that in my /js folder, your folder is called widget_framework whereas in v1.3 it is called WidgetFramework.
Should I keep widget_framework and just copy the contents of WidgetFramework into it? Or should I delete the widget_framework folder and just upload WidgetFramework? Or should I leave both?
Hope that makes sense!
Thanks.
Normally I will try to support this kind of customization but this one is just too much. You will have to ask the one who instructed you to make the edit and hope he/she will help you out with this. Sorry...I update again and now i have the template wf_widget_online_users but dont show the avatars and dont link to online users ...
Update:
Restore a copy of mi templates and this fix the problem. But in the ACP showme outdated the templates wf_widget_online_users and wf_widget_online_staff.
If update wf_widget_online_users makes me the following code does not work:
PHP:...
This is the old and works
PHP:...
Any ideas?
An additional widget which we can import into the Framework would be just perfect. Only people who need it will use it without bloating the core.I don't think many people will use the count down widget. Adding it to this add-on may not be a wise choice (as time move on, this add-on will become bloat-ware, etc.). I may create a small add-on with that exact functionality. What do you think?
Excellent, thanks.
Just went to do all of the above, and I notice that in my /js folder, your folder is called widget_framework whereas in v1.3 it is called WidgetFramework.
Should I keep widget_framework and just copy the contents of WidgetFramework into it? Or should I delete the widget_framework folder and just upload WidgetFramework? Or should I leave both?
Hope that makes sense!
Thanks.
Excellent; again, thanks for such a swift response!Nice catch! Yes, the directory has been renamed. You can delete the widget_framework directory
I don't think many people will use the count down widget. Adding it to this add-on may not be a wise choice (as time move on, this add-on will become bloat-ware, etc.). I may create a small add-on with that exact functionality. What do you think?
Normally I will try to support this kind of customization but this one is just too much. You will have to ask the one who instructed you to make the edit and hope he/she will help you out with this. Sorry...
<div class="userList WidgetFramework_WidgetRenderer_OnlineUsers">
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$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"><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>
<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} < {$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:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}
</div>
</div>
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$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"><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="followedOnline">
<xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
<xen:if is="{$i} <= {$onlineUsers.limit}">
<xen:if is="!{$user.followed}">
<xen:if is="{$user.user_id}">
<li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage{xen:if '!{$user.visible}', ' dKinvisible'}" /></li>
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
</xen:if>
</xen:if>
</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">
<a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}</a>
</div>
<div class="userList">
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$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"><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>
<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} < {$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:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}
</div>
</div>
You can change the phrase "wf_widget_birthday_today_is_x_peoples_birthday"Can we try this again on your birthday feature: Saying "Today is 2 people's birthday" is just bad! How about, when you have more than one person with a birthday, for example, "Two people are having a birthday today." Make it sound better, please! Or can we edit the string (how?).
Yes, according to your screenshot, that user's browser is too small so page elements are not aligned properly. This has nothing to do with this add-on. Please ask in the general section.I got a problem when some members reported that the posting form overlaps with the sidebar and the member menu is covered by the search box when they try to make a new post. I don't get this problem so I'm guessing that they use a different screen resolution. I'm still using the earlier version 1.2. I really appreciate if anybody can tell me what's wrong here. Thanks a lot !
View attachment 28032
We use essential cookies to make this site work, and optional cookies to enhance your experience.