I'm trying to remove the wrapper and title from the recent status updates widget. Any ideas? Thank you!Depending on the renderer, some of them are without wrapper.
I'm trying to remove the wrapper and title from the recent status updates widget. Any ideas? Thank you!Depending on the renderer, some of them are without wrapper.
If you post the full template (after your edit), I will tell you how to fix it. In general, your edit should work.I'm pretty sure I need to edit the wf_widget_threads template, but I'm not sure how.
I think this is the block to edit:
And I think it should contain something like this, after the date:Code:<xen:elseif is="{$widget.options.type} == 'recent'" /> <xen:foreach loop="$threads" value="$thread"> <xen:include template="wf_widget_threads_thread_sidebar"> <xen:set var="$_threadLink">{xen:if '{$visitor.user_id} > 0', {xen:link threads/unread, $thread}, {xen:link posts, {xen:array 'post_id={$thread.last_post_id}'}}}</xen:set> <xen:set var="$_secondRow"> {xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" /> </xen:set> </xen:include> </xen:foreach>
Code:in forum <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a>
...but I get a template error when trying to jam it in there... appreciate any help.
There is a widget option which allow admin to turn on/off the update box.I'm using Profile Post render and does not have "update status" box, what am I missing?
nb: dev 100 version, 1.4 RC2
I think you can do that with some CSS in EXTRA.css. Can you take a screenshot of the widget and highlight which part you need to remove (border, text, margin etc.), I can give you the CSS rules.I'm trying to remove the wrapper and title from the recent status updates widget. Any ideas? Thank you!
If you post the full template (after your edit), I will tell you how to fix it. In general, your edit should work.
<xen:if is="{$layout} == 'sidebar'">
<xen:if hascontent="true">
<div class="avatarList">
<ul>
<xen:contentcheck>
<xen:if is="{$widget.options.type} == 'new'">
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_secondRow">
{xen:phrase wf_x_posted, 'user=<a href="{xen:link 'members', {$thread}}">{$thread.username}</a>'} <xen:datetime time="{$thread.post_date}" />
</xen:set>
</xen:include>
</xen:foreach>
<xen:elseif is="{$widget.options.type} == 'recent'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_threadLink">{xen:if '{$visitor.user_id} > 0', {xen:link threads/unread, $thread}, {xen:link posts, {xen:array 'post_id={$thread.last_post_id}'}}}</xen:set>
<xen:set var="$_secondRow">
{xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" in forum <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a>/>
</xen:set>
</xen:include>
</xen:foreach>
<xen:elseif is="{$widget.options.type} == 'popular'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_secondRow">
{xen:phrase wf_x_posted, 'user=<a href="{xen:link 'members', {$thread}}">{$thread.username}</a>'} <xen:datetime time="{$thread.post_date}" />
</xen:set>
</xen:include>
</xen:foreach>
<xen:elseif is="{$widget.options.type} == 'most_replied'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_secondRow">
{xen:phrase wf_x_posted, 'user=<a href="{xen:link 'members', {$thread}}">{$thread.username}</a>'}, {xen:phrase replies}: {xen:number $thread.reply_count}
</xen:set>
</xen:include>
</xen:foreach>
<xen:elseif is="{$widget.options.type} == 'most_liked'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_secondRow">
{xen:phrase wf_x_posted, 'user=<a href="{xen:link 'members', {$thread}}">{$thread.username}</a>'},
{xen:phrase likes}: <a href="{xen:link 'posts/likes', {xen:array 'post_id={$thread.first_post_id}'}}" class="OverlayTrigger">{xen:number $thread.first_post_likes}</a>
</xen:set>
</xen:include>
</xen:foreach>
<xen:elseif is="{$widget.options.type} == 'polls'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_secondRow">
{xen:phrase wf_x_posted, 'user=<a href="{xen:link 'members', {$thread}}">{$thread.username}</a>'} <xen:datetime time="{$thread.post_date}" />
</xen:set>
</xen:include>
</xen:foreach>
</xen:if>
</xen:contentcheck>
</ul>
</div>
<xen:include template="preview_tooltip" />
</xen:if>
<xen:elseif is="{$layout} == 'list'" />
<xen:if hascontent="true">
<div class="discussionList">
<div class="DiscussionList">
<dl class="sectionHeaders">
<dt class="posterAvatar"><a><span> </span></a></dt>
<dd class="main">
<a class="title"><span>{xen:phrase title}</span></a>
<a class="postDate"><span>{xen:phrase start_date}</span></a>
</dd>
<dd class="stats">
<a class="major"><span>{xen:phrase replies}</span></a>
<a class="minor"><span>{xen:phrase views}</span></a>
</dd>
<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
</dl>
<ol class="discussionListItems">
<xen:contentcheck>
<xen:foreach loop="$threads" value="$thread">
<xen:include template="thread_list_item" />
</xen:foreach>
</xen:contentcheck>
</ol>
</div>
</div>
<xen:include template="preview_tooltip" />
</xen:if>
<xen:elseif is="{$layout} == 'full'" />
<xen:if hascontent="true">
<div class="WidgetFramework_WidgetRenderer_Threads_FullThreadList">
<xen:contentcheck>
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_full" />
<xen:edithint template="wf_widget_threads_thread_full_info" />
</xen:foreach>
</xen:contentcheck>
</div>
<xen:edithint template="message" />
<xen:edithint template="wf_default.css" />
</xen:if>
</xen:if>
{xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" in forum <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a>/>
{xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" /> in forum <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a>
<div class="secondRow">
<div class="posterDate muted">
<xen:username user="$thread" title="{xen:phrase thread_starter}" /><span class="startDate">,
<a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a></span><xen:if is="{$showForumLink}"><span class="containerName">,
<a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a></span></xen:if>
in forum <a href="{xen:link forums, $thread.forum}">{$thread.forum.title}</a>
<xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
<span class="itemPageNav">
<span>...</span>
<xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
<a href="{xen:link threads, $thread, 'page={$pageNumber}'}">{$pageNumber}</a>
</xen:foreach>
</span>
</xen:if>
</div>
Profile Post Widget.How do I get the profile post renderer option? I am running the latest version and it does not show up for me.
https://xfrocks.com/widget-framework/threads/bd-widget-framework-for-xenforo-1-4-0-pre-release.300/
Poll widget works fine in 1.4 you need to update from 2.5.0d to..........So does this mean that I should get the developer releases to fix the problem I reported?
Version 2.5.9 10-09-2014
- XenForo 1.4 compatibility: Poll + Profile Posts renderer
- Added Duplicate for widget
- Added new thread indicator for Threads renderer
- Added controller support for Template renderer
- Bug fixes
We use essential cookies to make this site work, and optional cookies to enhance your experience.