Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IRC Manager for MIRC Details »»
IRC Manager for MIRC
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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.

Comments
  #42  
Old 01-20-2004, 12:20 AM
Osmosis's Avatar
Osmosis Osmosis is offline
 
Join Date: Mar 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Try the command /topicrefresh
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.
Reply With Quote
  #43  
Old 01-20-2004, 01:50 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
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
Reply With Quote
  #44  
Old 01-20-2004, 02:50 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #45  
Old 01-20-2004, 03:27 AM
Osmosis's Avatar
Osmosis Osmosis is offline
 
Join Date: Mar 2003
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #46  
Old 01-20-2004, 06:46 AM
CHeeKY CHeeKY is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process
Reply With Quote
  #47  
Old 01-20-2004, 08:03 AM
Exero's Avatar
Exero Exero is offline
 
Join Date: Jun 2003
Location: Australia
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet
i will install it when vB3 Gold is out
Reply With Quote
  #48  
Old 01-20-2004, 10:23 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Exero
sweet
i will install it when vB3 Gold is out
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]

# Replace with:
<a href="irc://$channel[server]/$channel[handle]">$channel[server]</a>

##
Reply With Quote
  #49  
Old 01-20-2004, 01:35 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #50  
Old 01-20-2004, 02:07 PM
VeoMorphine VeoMorphine is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this would be great as an eggdrop. If anyone needs a server, you can use mine. Its a 1000 user network. irc.asylo.com
Reply With Quote
  #51  
Old 01-20-2004, 05:28 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IRC Manager has been updated to version 1.1

Please update, as this version is more stable. Details and upgrade instructions are in the first post.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06104 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete