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
  #72  
Old 02-28-2004, 08:48 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't know much about IRC - how do I create my channel / server?
Reply With Quote
  #73  
Old 02-28-2004, 10:33 PM
Cookie_Monstah Cookie_Monstah is offline
 
Join Date: May 2003
Location: England
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First register a nick:

/nickserv register [password] <- take out the bracks(on some servers an email is needed, if so add it add after the password)

Now to register a channel:

/chanserv register #[channame] [chanpassword]

and away ya go

(Great hack btw )
Reply With Quote
  #74  
Old 02-29-2004, 07:21 AM
Angelus Angelus is offline
 
Join Date: Nov 2001
Location: none
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is this also in the version 2.2.9 ?
Reply With Quote
  #75  
Old 03-03-2004, 04:06 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, this hack uses vB3 code, therefore it wouldn't work in vB2 (thus the reason this hack is in the vB3 forum).
Reply With Quote
  #76  
Old 03-03-2004, 02:38 PM
LightBringer's Avatar
LightBringer LightBringer is offline
 
Join Date: Oct 2001
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to preserve the topic colors and have them display appropriately on the forums?
Reply With Quote
  #77  
Old 03-03-2004, 04:45 PM
LightBringer's Avatar
LightBringer LightBringer is offline
 
Join Date: Oct 2001
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by floris
## 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>

##
The only problem with this is the # symbol is added in twice.

If you change the handle field in the admincp from say #channelname to just channelname, then the script stops working.

If a user clicks on that link floris, it will take them to ##channelname instead of #channelname.

Any advice aside from hardcoding the channel name in there?
Reply With Quote
  #78  
Old 03-05-2004, 12:22 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it by hard coding it. Since it's not really that significant of a problem, I'd suggest the easy route. (although if you have more than one channel, I suppose that does come as a problem).

You could also link it to your java chat, if you have one installed, instead of an IRC address which usually opens up your IRC client (which not everyone has installed, e.g. mIRC).

As for your question regarding preserving topic colors, I know searchirc.com has done it, but it would require a lot of preg-parsing and replacing, and I'm not really up to it.

If you can search the web and find an algorithm somebody used to do it, let me know.
Reply With Quote
  #79  
Old 03-11-2004, 09:09 PM
MogKnight MogKnight is offline
 
Join Date: Aug 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance you could port this to vb2? I love it, but I'm not a big fan of vb3 :\
Reply With Quote
  #80  
Old 03-15-2004, 02:00 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I haven't used vBulletin 2 in over a year, nor do I have it installed on any of my forums.

When vBulletin 3 Gold releases, you really should consider updating--mostly for security.
Reply With Quote
  #81  
Old 03-21-2004, 08:10 PM
MrWee's Avatar
MrWee MrWee is offline
 
Join Date: Jan 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to get this to work.

Config in mirc:
%vbserver = www.castlewee.com
%vbfilepath = /forum/irconline.php
%irckey = *matchs key in php file*
%ircchan = #castlewee
%ircwait = 120

attached are the setting in my Admin panel & a screen shot showing that it tries to connect, so the sockets are working correctly.

i have tried both irc.x and irc2.x in the admin panel, and niether made a difference, althought i connect to irc2.x more often then irc.x

maybe it is something small i am missing?
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 12:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.24255 seconds
  • Memory Usage 2,310KB
  • 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
  • (1)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
  • (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