Version: 1.00, by Velocd
Developer Last Online: Nov 2023
Version: 3.0.0
Rating:
Released: 01-16-2004
Last Update: Never
Installs: 84
No support by the author.
Here is a hack spawned off an original idea by Feldon23 for using mIRC sockets to show who is online in your channel.
This hack advances from his in many features, the most obvious being it uses a MySQL table to store the data.
It supports multiple channels, not just one. This means you can show who is online on your forum home page for not just one channel, but many (there is a major restriction to this though, please refer to the install.html)
Data is passed through sockets by HTTP POST, not GET, therefore more options are available. For one, this hack will show the topic of your channel.
The "most users ever in the channel" has a timestamp to go along with it.
The most innovative feature of this hack is the activity bar. This guages the activity of your channel by counting how many lines are outputted in the channel every X amount of seconds (this value is definable by you; default is 3 minutes). The activity bar allows people not in the IRC channel to see if there is activity going on inside.
Admin Control Panel integration, for easy adding/deleting/editing channels.
This hack operates in the same as Feldon's, in that you MUST be in mIRC and connected to the channel if you wish for the data to be updated. There is no eggdrop required, and no FTP.
About the only known bug/error I've encountered in this hack is a "socket-in-use" error from mIRC. This can happen if you have a busy chatroom with people changing nicks, or leaving and joining the chatroom constantly. In this case, you will want to make some modifications to the ON-events in the remote script.
For more explanation on features, requirements, and restrictions, please refer to the section in install.html.
Version 1.1 - 1/20/04
Changed the way data is sent in the remote socket script, to allow more users being. Unfortuantly mIRC sockets aren't very extensive, and through different functions and loops I still wasn't able figure out a way of sending more data. This simply means the max users that will be updated for each channel is around 60 users. (although, I believe it is more than the the 1.0 version)
Created another socket connection for the topic & activity, which should reduce the number of "socket-in-use" errors.
Renamed two of the config variables which were somewhat ambigious.
Upgrade 1.1 Instructions:
Unload your current ircon_rm.txt remote script and ircon_al.txt alias script, and reload the new ones.
Clear your internet cache before downloading.
If you install this hack, please click the install button.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
If you are getting a socket-write error message, it simply means it can't connect to the site.
Make sure the value of %irckey matches $irckey inside irconline.php.
Are you getting any errors from mIRC in the server status window?
that error is coming from the mirc window, and I cant put my domain in domain format as it doesnt have one, we use a re-direct to ip, so the domain is ip...
Should it make a idfference? I checked with the host and the irc people and they aid, its fine to use what I am doing....
If it only works for domain, can I make a suggestion that it reads http://x.x.x.x in future?
I installed this hack, very nice and confusing with no FTP script, but it seems to be working for the most part. The one thing that isnt working: the topic is not being displayed on forumhome. Can you think of why this might be?
Still no idea why the topic isnt making it to the forumhome...
Is it possible for it to display a "Bot Offline" message when the computer running mIRC is not connected?
This hack has nothing to do with bots, so you'll have to ask someone else.
Quote:
that error is coming from the mirc window, and I cant put my domain in domain format as it doesnt have one, we use a re-direct to ip, so the domain is ip...
Should it make a idfference? I checked with the host and the irc people and they aid, its fine to use what I am doing....
If it only works for domain, can I make a suggestion that it reads http://x.x.x.x in future?
Regards
You'll just have to trouble shoot and test it out. I've only tested it in normal domain format.
Quote:
Still no idea why the topic isnt making it to the forumhome...
Read through the thread, there are tons of suggestions for troubleshooting.
Try the command /topicrefresh
Check if it gives you any errors in the status iwndow of your IRC server in mIRC.
You would have to modify the mIRC script to make it so that when you disconnect from mIRC, it sends a request to the website notifying that the bot is offline.
Someone with the script would still have to be present, though, since the on:EVENT remote commands in mIRC aren't triggered by actions that you, the script holder, perform.
Your best bet is simply giving the script to other people you can trust, like a mod or other admin, and having them set it up on their mIRC.