Jaxel
Well-known member
Oops... here is new Twitter XML file... also, you CAN do multiple strings...
explained here: http://search.twitter.com/operators
explained here: http://search.twitter.com/operators
snip
Thanks a ton!Try this ^_^
AnytimeThanks a ton!
snip
<xen:edithint template="sidebar.css" />
<xen:if hascontent="true">
<!-- block: sidebar_online_staff -->
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3>{xen:phrase staff_online_now}</h3>
<ul>
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
<li>
<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>
</div>
that is exactly what the Recent Threads module is...the latest X threads. You define the XIs there a module for "latest x threads" ? (in stead of recent threads)
compare the two templates i have listed here for the alternate members online. i have one for the xf template and another for the portal template.in short, we tried to use the below code from sidebar_online_uers in the module. My best guess is it didn't work because we tried to use xen code outside of the template system. I am not familiar enough with xen code to know for sure, or how we can adjust to make it work
<xen:edithint template="sidebar.css" />
<xen:if hascontent="true">
<!-- block: sidebar_online_staff -->
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3>{xen:phrase staff_online_now}</h3>
<xen:if hascontent="true">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3>{xen:phrase staff_online_now}</h3>
<?xml version="1.0" encoding="utf-8"?>
<module>
<module_name>FeatureTest</module_name>
<module_cache>now</module_cache>
<module_settings>
</module_settings>
<module_template><![CDATA[<xen:if hascontent="true">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3>{xen:phrase staff_online_now}</h3>
<ul>
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
<li>
<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>
</div>]]>
</module_template>
</module>
You're not ending your "<xen:if hascontent="true">" statement.I tried that and got "security error"
this is teh full code
Anyone?I actually mean a module for "latest x topics"
We use essential cookies to make this site work, and optional cookies to enhance your experience.