<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Dynamic Who&#039;s Online Labels</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 01 May 2026 07:46:37 -0000</pubDate>

		<item>
			<title>Rhipnox</title>
			<description><![CDATA[<strong>thanks</strong>]]></description>
			<pubDate>Tue, 31 Mar 2009 00:22:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10762]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<strong>#Koradhil</strong>: Russian has three (1, 2...4, 0 &amp; &gt;5). I will soon post English translation of the sed_declension() manual.]]></description>
			<pubDate>Mon, 23 Mar 2009 19:33:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10412]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[The only way to fix this is to use two language entries for each word, one for singular and one for the plural (i.e. <em>member</em> and <em>members</em>)  and then switch between these two.]]></description>
			<pubDate>Mon, 23 Mar 2009 18:26:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10409]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[Trunk is always the most updated. Its SVN - a subversion.<br />
<br />
Google it - it's the way developers contribute fixes to the package.<br />
<br />
Also - This unfortunately doesnt port to other languages at all. What you could do is to have 4 language entries, but that doesnt fix issues that languages with duality (custom words for two things, rather than just one thing or many)]]></description>
			<pubDate>Mon, 23 Mar 2009 15:12:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10367]]></link>
		</item>
		<item>
			<title>TwistedGA</title>
			<description><![CDATA[Yea, I wasn't really sure on how is woudl cross to other languages, I figured if they coudl read my post, they coudl make changes accordingly.. Do you mind explaining to me what the &quot;trunk&quot; is, I downloaded and isntalled the files involved with this and took a look at the implementation, much better. Still curious about the &quot;trunk&quot; and why it seems to be more updated than 0.0.3. :) If you don't mind that is.]]></description>
			<pubDate>Mon, 23 Mar 2009 12:52:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10365]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[You forgot that English is not the only language on Earth. However, this is implemented in trunk with <a href="http://svn.cotonti.com/trunk/system/functions.php">sed_declension()</a> function, <a href="http://svn.cotonti.com/trunk/system/common.php">take a look</a>.]]></description>
			<pubDate>Mon, 23 Mar 2009 12:40:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10363]]></link>
		</item>
		<item>
			<title>TwistedGA</title>
			<description><![CDATA[This really isn't anythign special, it's a very basic code change and may be completely useless to many people. I myself, and a neat freak and hate the (s) added to text that &quot;might&quot; become plural. It's cheap looking and with the amount of change needed, shouldn't be used IMHO. Below is an example of how the new method looks compared to the old.<br />
<br />
Factory form, we get this:<br />
1 member(s), 0 guest(s) :<br />
Member1<br />
<br />
With two users we get this:<br />
2 member(s), 0 guest(s) :<br />
Member1, Member2<br />
<br />
The new method we have:<br />
1 member, 0 guests :<br />
Member1<br />
<br />
With two users we have:<br />
2 members, 0 guests :<br />
Member1, Member2<br />
<br />
To do this, you must edit two files. These files are:<br />
system\lang\en\main.lang.php<br />
system\common.php<br />
<br />
What you need to do:<br />
main.lang.php:<br />
Change:<br />
<div class="highlight"><pre class="php">$L&#091;'com_member'&#093; = 'member(s)';
$L&#091;'com_guest'&#093; = 'guest(s)';</pre></div>
To:<br />
<div class="highlight"><pre class="php">$L&#091;'com_member'&#093; = 'member';
$L&#091;'com_guest'&#093; = 'guest';</pre></div>
<br />
common.php:<br />
Change:<br />
<div class="highlight"><pre class="php">/* ======== Who's online part 2 ======== */
$out&#091;'whosonline'&#093; = ($cfg&#091;'disablewhosonline'&#093;) ? '' : $sys&#091;'whosonline_reg_count'&#093;.' '.$L&#091;'com_members'&#093;.', '.$sys&#091;'whosonline_vis_count'&#093;.' '.$L&#091;'com_guests'&#093;;
</pre></div>
To:<br />
<div class="highlight"><pre class="php">/* ======== Who's online part 2 ======== */
if($sys&#091;'whosonline_reg_count'&#093; == 1){$Lmember = $L&#091;'com_member'&#093;;}
else{$Lmember .= &quot;&quot;.$L&#091;'com_member'&#093;.&quot;s&quot;;}

if($sys&#091;'whosonline_vis_count'&#093; == 1){$Lguest = $L&#091;'com_guest'&#093;;}
else{$Lguest .= &quot;&quot;.$L&#091;'com_guest'&#093;.&quot;s&quot;;}

$out&#091;'whosonline'&#093; = ($cfg&#091;'disablewhosonline'&#093;) ? '' : $sys&#091;'whosonline_reg_count'&#093;.' '.$Lmember.', '.$sys&#091;'whosonline_vis_count'&#093;.' '.&quot;$Lguest&quot;;
</pre></div>
<br />
Dynamic Labels. Enjoy.]]></description>
			<pubDate>Mon, 23 Mar 2009 11:01:46 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2413&d=0#post10362]]></link>
		</item>
	</channel>
</rss>