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

Reply
 
Thread Tools
Track IRC users using PHP... Details »»
Track IRC users using PHP...
Version: 1.00, by ToXiC ToXiC is offline
Developer Last Online: Nov 2004 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-25-2003 Last Update: Never Installs: 3
 
No support by the author.

Well, this really isn't a VB hack, but this is the only place I can find to post it...

To use this hack, you must have root access to a linux box.

I can not say that it will work on every IRC server, as I have IRCu/srvx. If you have a different setup, and get this to work, please post here so others know.

Setting it up is very simple, just follow what is below:

**Use at your own risk**

Here we go..

login to ssh...
Code:
$ su -

$ wget http://www.staticserver.com/irc/IRCuStat-2.0f.tgz

$ tar -zxf IRCuStat-2.0f.tgz
$ rm -f IRCuStat-2.0f.tgz

$ cd IRCuStat-2.0f
$ ./irc_install

Once you are done setting it up...

$ cd ..
$ rm -rf IRCuStat-2.0f
Anything with a '$' infront is a command.

Thats it!

Just follow the bit of info it gives after install, and your all set!

ircbot -i installs the MySQL table
ircbot -j toggles the cronjob

If you want to set the cron to run differently than the default (5 minutes), then just do
Code:
$ ircbot -j 10
That would set it for 10 minutes.

Hope this helps some people out.

I will support this, please post what you wish to be added...


I will not go into detail about making a template for it. If you don't know how to pull the information from the database, then please do not use this script. The table is named `irc`.

Have fun.

EDIT
----------------

There is now a VB hack to go along with this. Scroll down a bit to see it.

Show Your Support

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

Comments
  #12  
Old 03-27-2003, 04:33 AM
-Sidekick- -Sidekick- is offline
 
Join Date: May 2002
Location: Cudahy, Wi
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 05:36 PM Erwin said this in Post #9
ToXiC,

Nice hack.

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.
He's licensed. He just never comes here, cause he doesn't put hacks on the forums. I do that. -.-
His email probably isn't updated. You'll find toxicthl@direcway.com on the same vBulletin license as vgnsidekick@wi.rr.com (which is me).

If you have some way to verify that, feel free, untill he notices your post and updates his email here.
Reply With Quote
  #13  
Old 03-29-2003, 02:09 AM
-ToXiC- -ToXiC- is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having some major problems here... but anyway.

I have made a simple VB hack to accompany this IRC Bot.

There are 2 choices this one is the one that does not show open channels.
Reply With Quote
  #14  
Old 03-29-2003, 02:10 AM
-ToXiC- -ToXiC- is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And this one does show open channels.
Reply With Quote
  #15  
Old 03-29-2003, 02:15 AM
-ToXiC- -ToXiC- is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is a ss of the hack in use. (when there are no users in IRC).
Reply With Quote
  #16  
Old 03-29-2003, 02:15 AM
-ToXiC- -ToXiC- is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is a ss with me in the chat room.
Reply With Quote
  #17  
Old 03-29-2003, 02:22 AM
-ToXiC- -ToXiC- is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And this is what it would look like if you use the channel list.
Reply With Quote
  #18  
Old 03-29-2003, 05:27 AM
ToXiC ToXiC is offline
 
Join Date: May 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I just want to say that that was me. And the problem has been handled.

Thanks Erwin!
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 08:59 PM.


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.04822 seconds
  • Memory Usage 2,273KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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