<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Showcase Tag: members online</title>
<link>http://bbshowcase.org/forums/</link>
<description>bbPress Showcase Tag: members online</description>
<language>en</language>
<pubDate>Thu, 09 Sep 2010 10:22:11 +0000</pubDate>

<item>
<title>massbase on "Members Online, - Editing the output"</title>
<link>http://bbshowcase.org/forums/topic/members-online-editing-the-output#post-1384</link>
<pubDate>Wed, 17 Jun 2009 12:31:46 +0000</pubDate>
<dc:creator>massbase</dc:creator>
<guid isPermaLink="false">1384@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;I got the link working, correctly for the permalink.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function members_online_now($time=0) {
global $bbdb, $members_online;  $members_online[&#38;#39;footer&#38;#39;]=false;
if (empty($time)) {$time=time()-$members_online[&#38;#39;timeout&#38;#39;];}
	$members=$bbdb-&#38;gt;get_results(&#38;quot;SELECT ID,user_login FROM $bbdb-&#38;gt;users LEFT JOIN $bbdb-&#38;gt;usermeta ON ID=user_id WHERE meta_key=&#38;#39;last_online&#38;#39; AND cast(meta_value AS unsigned)&#38;gt;&#38;#39;$time&#38;#39; ORDER BY meta_value DESC&#38;quot;);
	if (!empty($members)) {
		$profile=bb_get_option(&#38;#39;uri&#38;#39;).&#38;quot;profile/&#38;quot;; $output=&#38;quot;&#38;quot;;
		foreach ($members as $member) {$output.=&#38;quot;&#38;lt;a rel=&#38;#39;nofollow&#38;#39; href=&#38;#39;$profile$member-&#38;gt;user_login&#38;#39;&#38;gt;$member-&#38;gt;user_login&#38;lt;/a&#38;gt;, &#38;quot;;}
		echo rtrim($output,&#38;quot;, &#38;quot;);
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but i was wondering if you could do this but using the gravatar instead of text.
&#60;/p&#62;</description>
</item>
<item>
<title>massbase on "Members Online, - Editing the output"</title>
<link>http://bbshowcase.org/forums/topic/members-online-editing-the-output#post-1383</link>
<pubDate>Wed, 17 Jun 2009 11:59:57 +0000</pubDate>
<dc:creator>massbase</dc:creator>
<guid isPermaLink="false">1383@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;hey ck,&#60;/p&#62;
&#60;p&#62;i need to edit the text that outputs the &#34;online users today&#34;... reason being is that i have permalinks on, so the links to the profile doesnt work, becuase it uses id, rather than name, i dont know what bit to edit from the code.&#60;/p&#62;
&#60;p&#62;my plan is too get the gravatar of the user show up instead of text, that links to &#60;a href=&#34;http://www.sitename.com/profile/username&#34; rel=&#34;nofollow&#34;&#62;http://www.sitename.com/profile/username&#60;/a&#62; (not id)&#60;/p&#62;
&#60;p&#62;thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
