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.
returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho. As another point, I perpetually have a connection to the forums open, it seems. My IP is always at Unknown Location
/forums/irconline.php?eventid=refresh on my forums.
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.
how about a command to tell the update to stop and that the bot is offline
returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho.
If you get a socket-in-use error when trying to use /ircrefresh or /topicrefresh, which can happen if there is much activity and the socket processes are overlapping, you can manually shut them down using /sockclose.
E.g.
/sockclose dbupdate
Then try proceeding with /topicrefresh
As for your IP pointing to this nonexistent location, irconline.php?event=refresh, not sure what is going on there.
I managed to get the topic to update by shutting down the socket and manually /topicrefresh quickly after, tho it took a few tries before the dbupdate socket reopened. My IRC channel (and forum) dont have very much traffic in fact thus far the activity bar hasn't gone above 'Very Idle'. I'll keep watching this thread to see if any updates happen, or if someone can explain to me why its not workin so well for me.
I am still a bit concerned about the connection to /forums/irconline.php?eventid=refresh which seems to coincide with the settings within the aliases installed by this hack (of which I have 4, begintime, ircrefresh, startcount, and topicrefresh). I'm pretty sure this is whats causing the problems... you dont have this problem on your own forum?
Still, this hack is better than the IRC hack I had installed on VB2. Thanks a lot for the efforts in this, and great hack Installed!
The support link in the install file reflects another thread You might want to update that to avoid confusion.
To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together. At the moment, we don't even list half the users online. Which is a shame. This is partially due to the long length of usernames that is allowed on the channel.
Great hack - it works. Just a shame it doesn't use the config.php prefix_ for tablenames
and as a final integration with vb3's new feature(s); phrases!
## Small tweak for users who want to have the irc server listed as a link so it opens in mirc ! (hopefully this still works in mirc6 - haven't tried it out yet though)
# Open the " irc_loggedin " template and find:
$channel[server]
To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together.
Ah, I have tried this, and the result is the same happening! Even if you separate each as its own variable, and then make a new variable that is the concatenated form of those other variables, mIRC will still form them all together and give you a "line-too-long" message.
I think the only way around this is using some filesystem functions, and saving the data into a local file (in your mIRC dir) and then reading it from that file. I'll look into this today.
Quote:
Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process
Yeah, go ahead. I can help you out some in there if I see you.