Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
Show users in IRC Chat (no eggdrop) Details »»
Show users in IRC Chat (no eggdrop)
Version: 1.00, by Smirks Smirks is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-25-2002 Last Update: Never Installs: 2
Is in Beta Stage  
No support by the author.

Hello,

Current Version: 1.1b

This hack is in very very (very!) beta stage. I'm only announcing in here for documentation and testing purposes. I'm in the process of re-working and re-writing it, so don't expect this to be relevant in a week or two.

Description:
This hack will display a list of users in your IRC based chat room. It will/should work with any chat hack, so long as it's IRC based. The only hack I've tested it with is the eIRC hack. I've tested the script on both Linux and FreeBSD.

How it works:
This hack uses a small perl script and POE::Component::IRC to connect to IRC, join a channel, grab the users, save the info to a file and then exit. It is run via cron to update the list as often as you choose. vB will display this info with a template mod.

What is planned:
I've re-written the script using POE::Component::IRC, which is a little more flexible, so my previous 'planned' list is already complete.

Since this hack is in it's beta state I will only be giving it out via email. If you'd like to have the beta version, please email me, or PM me and I'll get it to you.

Once a week of beta testing is complete I will make this hack available to the general public.

You can see this hack in action at http://bbs.pearl-jam.net or via the screenshot attached.

Version History:
1.0b -
* Inital Release
* Written using Net::IRC perl module

1.1b -
* Re-written using POE::Component::IRC perl module
* Got rid of topic retrieval
* Modified user display to show # of users, and users
* Took out user status (ie- @, +, etc)
* Comified user list
* Can now detect users w/out being in channel (fixes a nasty feature which cause the "bot" to join the channel, gather the info and quit. Now the channel doesn't even know it's being watched)
* Can hide certian users (with a slight code hack [unsupported feature])

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-26-2002, 10:01 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting in error 500 on when I try to run irc-users?
huh..
Reply With Quote
  #13  
Old 09-26-2002, 10:03 PM
Smirks Smirks is offline
 
Join Date: Sep 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by snyx
im getting in error 500 on when I try to run irc-users?
huh..
Like I said, run it from the command line or cron. The perl module Net::IRC must be installed to work.
Reply With Quote
  #14  
Old 09-26-2002, 10:03 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

smirks u got icq? hit me up if so.. 71926358 or msn snyxmedia@hotml.com

www.form-kaos.com/cgi-bin/irc-users.pl
Reply With Quote
  #15  
Old 09-26-2002, 10:03 PM
garoboldy garoboldy is offline
 
Join Date: Mar 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you shouldnt run it in the browser window...I did the same thing without thinking...LOL

you have to run it on cron or command line.
Reply With Quote
  #16  
Old 09-26-2002, 10:04 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Net::IRC? lol
Reply With Quote
  #17  
Old 09-26-2002, 10:04 PM
Smirks Smirks is offline
 
Join Date: Sep 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by garoboldy
will let you know if any new errors occur.

ok, updated my post instead of posting again...lol
I did my cron job and made it for every minute....it has yet to make my file and as far as I know all my information is correct....
Please make sure the perl module Net::IRC is installed and working properly.

Also, try running irc-users.pl from the command line to see if you get any errors.
Reply With Quote
  #18  
Old 09-26-2002, 10:06 PM
Smirks Smirks is offline
 
Join Date: Sep 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by snyx
Net::IRC? lol
Yes, if you have root on the box...

perl -MCPAN -e'install Net::IRC'
Reply With Quote
  #19  
Old 09-26-2002, 10:07 PM
garoboldy garoboldy is offline
 
Join Date: Mar 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think I can use command line...I have a cpanel for my site...on my server there are a few other people with sites as well...as far as Net::IRC and will check on that right now.
Reply With Quote
  #20  
Old 09-26-2002, 10:08 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay sorry but I have no idea what you just said to do..
sorry for being a pain here
Reply With Quote
  #21  
Old 09-26-2002, 10:18 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is Net::IRC something I have to install seperatly?
otherwise everything is done and ready to fly.. I just cant figure out that Net::IRC thingy..
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 09:21 PM.


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.11016 seconds
  • Memory Usage 2,291KB
  • 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
  • (3)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
  • (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