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.
Sorry I"m very newbie in irc, I try to make this hack work, but !
Everything it' work and show on homepage, but no data ?
Non nick, no mostuser, nothing and I go to look the link you put, but I don't understand more sorry !
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?
If you can figure out a way to make an eggdrop for this sort of hack, which is an IRC bot. I don't have a linux nor shell accounts to test out eggdrops.
velcod if you could code it i could test it for you
Let me explain how exactly it updates. It uses mIRC remote events to update the DB table through sockets.
There are two primary commands, /ircrefresh and /refreshtopic
If you type /ircrefresh and hit enter, it will update the irc_channel table in your DB with the latest users in your channel.
/refreshtopic will update your topic.
Here are the remote events used (by default):
Quote:
on 1:CONNECT:/timer 1 4 /begintime
on 1:TOPIC:%ircchan: /topicrefresh
on 1:TEXT:*:%ircchan: inc %irclines 1
on 1:KICK:%ircchan: /ircrefresh
on 1:JOIN:%ircchan: /timer 1 4 /ircrefresh
on 1:PART:%ircchan: /timer 1 4 /ircrefresh
on 1:QUIT: /timer 1 4 /ircrefresh
on 1:NICK: /timer 1 4 /ircrefresh
If a user is kicked, quits, changes his nick, or joins your channel, the command /ircrefresh will be triggered.
If your topic is changed inside the channel (while you are connected to your channel!), then the topic will update. The drawback on this is that, if it is changed when you are not in your channel, you will manually have to update it using /refreshtopic. You can fix this by using the following line:
Quote:
on 1:CONNECT:/timer 1 4 /begintime | /timer 1 4 /topicrefresh
Instead of the current on:CONNECT event.
The problem that exists is sometimes a "socket-in-user" error can develop if you run /topicrefresh or /ircrefresh too quickly.
Quote:
ok I am looged into my channel and loaded the scripts.
I am not getting any listings in the forum with the current config
Regards
This is my fault for I named the variables somewhat ambiguous, but %ircserver is not your irc server! It's suppose to be your webdomain server that irconline.php is on.
Think of it as that, %ircserver and %ircfilepath are connected.
Is pointing to your channel name! I think in this case you are hiding your channel name, but everyone make sure that config area is filled out properly.
Quote:
Sorry I"m very newbie in irc, I try to make this hack work, but !
Everything it' work and show on homepage, but no data ?
Non nick, no mostuser, nothing and I go to look the link you put, but I don't understand more sorry !
Thanks!
@+c
Recheck your alias script, to ensure the values are set correctly as mentioned above.
Then, try manually typing /ircbrowse and see if it updates your DB. Also check the status window of your IRC server, which is the first window on the channel-bar in mIRC. If any errors appear, they'll be at the bottom.
Quote:
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?
Try manually typing /topicrefresh .
My guess is you haven't changed the topic, and therefore the remote event is not triggering.
Quote:
velcod if you could code it i could test it for you
I'll look into it, to see if I even have the time to code one.
I tried this on a test board, and everything installed properly, except for after intall the index.php page shows the area for it but the topic is blank and shows no one online in the room. Seems information is not getting to it. I am 100% sure I installed everything right so Im taking it that some will not be able to use this depending on whether there server will allow it?
Thats the problem Ive had in the past with this type of hack is server wont allow it so Im taking same problem? Any clues?
Thats the problem Ive had in the past with this type of hack is server wont allow it so Im taking same problem? Any clues?
Post in vB code tag what you have in your aliases page, so I can verify it.
Remember, typing manually /ircrefresh and /topicrefresh is good for troubleshooting. Make sure no socket-in-use or other errors show up in your IRC server status window.
Just about any server should be able to receive the socket request, that is, if PORT 80 is open. Most servers have port 80 open for requests, but if all else fails, contact your host to make sure it is.