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.
i admin the server and i don't believe that there is anything that would prevent it from updating on port 80, but i wonder if safe mode would restrict it as well?
Make sure you have the mIRC scripts loaded properly. You might want to check if it's reading the data from the request to the PHP file. Instead of storing it in MySQL as it currently does, use fopen(), fwrite() and fclose() to write a file on your server from the request.
Although my recommendation is to install an eggdrop, and use my far better eggdrop version of this hack. If you run a localhost, e.g. if you run Apache (for maybe purposes of running a test vBulletin board) and it works, then there is no reason you couldn't install an eggdrop (or windrop for win32).
hey sorry this might sound totally newbie-ish but please help me anyway
1. how do i run these db queries you listed? how do i get to this phpmyadmin thing?
2. if the user running the script reboots, does he have to reload the two scripts when restarting mirc?
For personal addons, you'll have to figure it out or ask elsewhere. I distribute my hacks with only the instructions on how to get that exact hack working.
Quote:
1. how do i run these db queries you listed? how do i get to this phpmyadmin thing?
Virtually all hosts that have PHP installed will have PhpMyAdmin. You can usually access it through your Cpanel. (http://www.mysite.com/cpanel)
From there click on the database of yours, go to "SQL" tab in the main frame, and insert the queries then click submit.
If you are running your own server, you can get PhpMyAdmin from www.phpmyadmin.net. It's free and easy to install.
Quote:
2. if the user running the script reboots, does he have to reload the two scripts when restarting mirc?
The alias and remote scripts will not have to be reloaded.