<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Online Members Widget - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 18 Jul 2026 00:06:31 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Online Members Widget</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-29254</link>
                        <pubDate>Sun, 21 Jul 2019 18:27:57 +0000</pubDate>
                        <description><![CDATA[Widget code has bug - there is a misplaced DIV when there are no online members:	public function widget( $args, $instance ) {		echo $args; //This is a HTML content//		echo &#039;...]]></description>
                        <content:encoded><![CDATA[<p>Widget code has bug - there is a misplaced DIV when there are no online members:</p><pre>	public function widget( $args, $instance ) {<br />		echo $args; //This is a HTML content//<br />		echo '&lt;div id="wpf-widget-online-users" class="wpforo-widget-wrap"&gt;';<br />		if ( ! empty( $instance ) ) {<br />			echo $args . apply_filters( 'widget_title', $instance ). $args;<br />		}<br />        $groupids = ( !empty($instance) ? array_filter( wpforo_parse_args( json_decode($instance, true) ) ) : WPF()-&gt;usergroup-&gt;get_visible_usergroup_ids() );<br />		// widget content from front end<br />		$online_members = WPF()-&gt;member-&gt;get_online_members($instance, $groupids);<br />		echo '&lt;div class="wpforo-widget-content"&gt;';<br />		if(!empty($online_members)){<br />			echo '&lt;ul&gt;<br />					 &lt;li&gt;<br />						&lt;div class="wpforo-list-item"&gt;';<br />			foreach( $online_members as $member ){<br />				if( $instance ): ?&gt;<br />						&lt;a href="&lt;?php echo esc_url(WPF()-&gt;member-&gt;get_profile_url( $member )) ?&gt;" class="onlineavatar"&gt;<br />							&lt;?php echo WPF()-&gt;member-&gt;get_avatar( $member, 'style="width:95%;" class="avatar" title="'.esc_attr($member).'"'); ?&gt;<br />						&lt;/a&gt;<br />					&lt;?php else: ?&gt;<br />						&lt;a href="&lt;?php echo esc_url(WPF()-&gt;member-&gt;get_profile_url( $member )) ?&gt;" class="onlineuser"&gt;&lt;?php echo esc_html($member) ?&gt;&lt;/a&gt;<br />					&lt;?php endif; ?&gt;<br />				&lt;?php<br />			}<br />			echo '&lt;div class="wpf-clear"&gt;&lt;/div&gt;<br />							&lt;/div&gt;<br />						&lt;/li&gt;<br />					&lt;/ul&gt;';<br /><span style="color: #ff0000">			// nando4&gt;&gt; bug in widget - move div that was here below</span><br />		}<br />		else{<br />			echo '&lt;p class="wpf-widget-note"&gt;&amp;nbsp;'.wpforo_phrase('No online members at the moment', false).'&lt;/p&gt;';<br />		}<br />		<span style="color: #ff0000">echo '&lt;/div&gt;';</span><br />		echo '&lt;/div&gt;';<br />		echo $args;//This is a HTML content//<br />	}</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>nando4</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-29254</guid>
                    </item>
				                    <item>
                        <title>RE: Online Members Widget</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-29160</link>
                        <pubDate>Wed, 17 Jul 2019 07:55:40 +0000</pubDate>
                        <description><![CDATA[Hi, i have a problemEven if i set with no selections the read only option on usergroups and on forum access the widget show the member online of my private forum. There is a bug ?Thanks]]></description>
                        <content:encoded><![CDATA[<p>Hi, i have a problem</p><p>Even if i set with no selections the read only option on usergroups and on forum access the widget show the member online of my private forum. There is a bug ?</p><p>Thanks</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>stefano</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-29160</guid>
                    </item>
				                    <item>
                        <title>RE: Online Members Widget</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12097</link>
                        <pubDate>Thu, 02 Nov 2017 20:59:36 +0000</pubDate>
                        <description><![CDATA[Yes, that worked!]]></description>
                        <content:encoded><![CDATA[<p>Yes, that worked!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>MrSamG</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12097</guid>
                    </item>
				                    <item>
                        <title>RE: Online Members Widget</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12095</link>
                        <pubDate>Thu, 02 Nov 2017 20:56:11 +0000</pubDate>
                        <description><![CDATA[I see it looks as designedany case if you want to remove the grey square boarder just please use this CSS code:#wpf-widget-online-users .wpforo-widget-content a.onlineavatar {border: none!im...]]></description>
                        <content:encoded><![CDATA[<p>I see it looks as designed:</p><p>https://wpforo.com/docs/root/getting-started/forum-sidebar-and-widgets/wpforo-widgets/</p><p>In any case if you want to remove the grey square boarder just please use this CSS code:</p><pre>#wpf-widget-online-users .wpforo-widget-content a.onlineavatar {border: none!important;}</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12095</guid>
                    </item>
				                    <item>
                        <title>Online Members Widget</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12090</link>
                        <pubDate>Thu, 02 Nov 2017 20:38:57 +0000</pubDate>
                        <description><![CDATA[Online Members Widget shows avatars with a square boarder around them. This isn&#039;t how the avatars show in the other widgets. Can this be corrected? I&#039;ve using a white theme and the black squ...]]></description>
                        <content:encoded><![CDATA[<p>Online Members Widget shows avatars with a square boarder around them. This isn't how the avatars show in the other widgets. Can this be corrected? I've using a white theme and the black square boarder stands out. </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>MrSamG</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/online-members-widget/#post-12090</guid>
                    </item>
							        </channel>
        </rss>
		