Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #12  
Old 01-17-2004, 10:54 PM
*arie's Avatar
*arie *arie is offline
 
Join Date: Jan 2004
Location: New Orleans {504}
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
Thanks
Reply With Quote
  #13  
Old 01-18-2004, 04:31 AM
Luciolle Luciolle is offline
 
Join Date: Nov 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

ok I am looged into my channel and loaded the scripts.

In the alias config is below right?

%ircserver = irc.freenode.net
%ircfilepath = /forums/irconline.php
%irckey = xxxxxx
%ircchan = #channelname
%ircwait = 120

then in my irc manager in admincp I have

Handle #channelname
Server #irc.freenode.net

I am not getting any listings in the forum with the current config

Regards
Reply With Quote
  #16  
Old 01-18-2004, 08:04 AM
FreeTerran FreeTerran is offline
 
Join Date: Jun 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
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
Reply With Quote
  #17  
Old 01-18-2004, 11:07 AM
empreur76 empreur76 is offline
 
Join Date: Nov 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice !! work on v2.2.9 !?? thx
Reply With Quote
  #18  
Old 01-18-2004, 11:09 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its a hack in the vB3 section so im guessing it wont mate
Reply With Quote
  #19  
Old 01-18-2004, 03:26 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

In the alias config is below right?

%ircserver = irc.freenode.net
%ircfilepath = /forums/irconline.php
%irckey = xxxxxx
%ircchan = #channelname
%ircwait = 120

then in my irc manager in admincp I have

Handle #channelname
Server #irc.freenode.net

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.

Thus, www.yourserver.com/forums/irconline.php would be the full path.

Also ensure that:

%ircchan = #channelname

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

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?
Reply With Quote
  #21  
Old 01-18-2004, 04:39 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
Reply

Thread Tools

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 12:03 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.05030 seconds
  • Memory Usage 2,312KB
  • 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
  • (9)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
  • (3)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