vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Show users in IRC Chat (no eggdrop) (https://vborg.vbsupport.ru/showthread.php?t=43963)

Smirks 09-25-2002 10:00 PM

Show users in IRC Chat (no eggdrop)
 
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])

garoboldy 09-26-2002 04:10 PM

ok, sign me up for testing...I am needing this really bad....since I cant use eggdrop on my site...thanks...

garoboldy 09-26-2002 04:44 PM

I emailed you back...now I know what you are talking about...sorry..

garoboldy 09-26-2002 04:59 PM

ok, I follow your install....and when I go to my irc-users.pl

I get an internal server error.

not sure whats going on there...

any ideas?

Smirks 09-26-2002 05:05 PM

Quote:

Originally posted by garoboldy
ok, I follow your install....and when I go to my irc-users.pl

I get an internal server error.

not sure whats going on there...

any ideas?

irc-users.pl is to be run from the command line, or cron. It is not meant to be run via the browser.

C

snyx 09-26-2002 05:55 PM

yeah I would LOVE to try this out!!
www.form-kaos.com/board

shoot me a msg to snyxmedia@hotmai.com if ya like :)

Smirks 09-26-2002 06:05 PM

Quote:

Originally posted by snyx
yeah I would LOVE to try this out!!
www.form-kaos.com/board

shoot me a msg to snyxmedia@hotmai.com if ya like :)

I've sent you the hack via email.

snyx 09-26-2002 06:07 PM

will install it after skool man, thx
uhhhh what would I put into the cron "command" feild in my hostcp?

thx,
-myles

Smirks 09-26-2002 06:12 PM

Quote:

Originally posted by snyx
will install it after skool man, thx
uhhhh what would I put into the cron "command" feild in my hostcp?

thx,
-myles

/path/to/irc-users.pl

Crontab file should look something similar to:

Code:

*/5 * * * * /path/to/irc-users.pl
*/5 = run every 5 minutes

garoboldy 09-26-2002 09:28 PM

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....


All times are GMT. The time now is 01:41 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.01041 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete