Channel Browsing
ConferenceRoom version 1.6 supports channel browsing a bit differently from earlier versions. At present, there is no way to list all the channels on a server. You can, however, provide a list of selected channels currently in use along with their topics, number of users, and links to them.
In order for the links to work properly, you must remove
any channel= line from any .prm file you reference. You must also
include the following in your HTML:
<param name="channel" value="#lobby">
The basic idea is to use a special replacement variable to retrieve the channel information. Then use the retrieved channel information to generate a table. The replacement variables are:
Get channel data
%chan_n% Exact current channel name
%chan_ln% Channel name URL Encoded
%chan_u% Number of users on channel
%chan_t% Current channel topic
Here's an example suitable for inclusion on a theme page:
<TABLE width="80%" cellspacing=3 cellpadding=2
border=0>
<TR>
<TD><strong>Channel</strong></TD>
<TD><strong>Users</strong></TD>
<TD align=center><strong>Topic</strong></TD>
</TR>
<TR>
<TD colspan=3><HR></TD>
</TR>
%channel_#myfirstchannel%
%!chan_n%
<TR>
<TD valign=top>
<a href="default.htm?@channel=%chan_ln%">%chan_n%</a></TD>
<TD valign=top align=center>%chan_u%</TD><TD>%chan_t%</TD>
</TR>
%!%
%channel_#mysecondchannel%
%!chan_n%
<TR>
<TD valign=top>
<a href="default.htm?@channel=%chan_ln%">%chan_n%</a></TD>
<TD valign=top align=center>%chan_u%</TD><TD>%chan_t%</TD>
</TR>
%!%
%channel_#mythirdchannel%
%!chan_n%
<TR>
<TD valign=top>
<a href="default.htm?@channel=%chan_ln%">%chan_n%</a></TD>
<TD valign=top align=center>%chan_u%</TD><TD>%%chan_t%</TD>
</TR>
%!%
%channel_#myfourthchannel%
%!chan_n%
<TR>
<TD valign=top>
<a href="default.htm?@channel=%chan_ln%">%chan_n%</a></TD>
<TD valign=top align=center>%chan_u%</TD><TD>%chan_t%</TD>
</TR>
%!%
</TABLE>