OK got this working now. Trick is to use the userchatting.tcl from the second .zip file attached to this thread and make this change (also from elsewhere in the thread):
Find:
Code:
bind join - "$i2h_chan %" i2h:make
bind part - "$i2h_chan %" i2h:make
and ADD BELOW
Code:
bind sign - "$i2h_chan %" i2h:make
bind topc - "$i2h_chan %" i2h:make
bind kick - "$i2h_chan %" i2h:make
bind nick - "$i2h_chan %" i2h:make
bind rejn - "$i2h_chan %" i2h:make
I installed eggdrop on my server and got it to dump the txt file of users in the forums directory so the changes to index.php are
replace:
Code:
eval("dooutput(\"".gettemplate('forumhome')."\");");
with:
Code:
if(file_exists('<homedir>/www/forums/chatuserlist.txt'))
{
$openfile = fopen ("<homedir>/www/forums/chatuserlist.txt", "r");
while (!feof($openfile))
{
$chatters .= fgets($openfile, 4096);
}
fclose($openfile);
}
eval("dooutput(\"".gettemplate('forumhome')."\");");
In the forumhome template I simply added this
Code:
<smallfont>
<b>Chatroom Users: $chatters</b>
</smallfont>
<br>
Simple! Now I'm gonna try and remove the bot from my list of chatters.....