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
Eggdrop IRC Manager Details »»
Eggdrop IRC Manager
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: 02-14-2004 Last Update: Never Installs: 63
 
No support by the author.



The Eggdrop IRC Manager (EIM) is a TCL script for NIX Eggdrop or Win32 Windrop.

It will allow you to refresh your forum home with information about your channel, such as the nicks currently in it, the record users, and the activity of the channel.

This is a port from my IRC Channel Manager, yet that hack was for MIRC and had some bugs.

I created a new thread for this hack as the audience is different. Most people seeking eggdrops wont look into the mIRC thread.

The eggdrop version is far better than the former, so I highly recommend you make the switch if you're capable of running eggdrop.

Demos:
http://www.animesystem.com/forums/
http://www.buckeyeplanet.com/forum/

Quick overview of features
  • Uses MySQL database to store information.
  • Stable, fast, easy to deploy and use.
  • AdminCP interface for managing channels.

Only drawback currently is that you must run multiple bots with the script if you intend to update multiple channels. I will be working on a version that allows 1 bot to update multiple channels.

For those using IRC Channel Manager, making the upgrade is easy, just refer to the installation manual.

Examples attached. Enjoy!

Notice 1:

Ah yes, I forgot to mention the two manual bot commands in the documentation.

As a bot owner, type !refresh to manually refresh the channel. Type !startact to do the initial start of the activity timer. Both these commands should be performed when you first place your bot on the channel or after you rehash it when installing the script. You wont have to run these scripts again, unless your bot exits the channel.

Notice 2:

Your bot will refresh your channel whenever someone leaves, changes nick, joins, is kicked, topic change, or a mode change occurs (such as someone being op'd, voiced, etc.)

On a large traffic intensive channel, this will make your bot very busy. Just be aware of this. I'll plan for a timer-version, where the bot updates every X minutes, in the future.

FAQ

What is an eggdrop?
http://www.eggheads.org/

Will this work with my java IRC client? (pjIRC, etc.)
Read what an eggdrop is. Once you figure it out, you'll know that they are completely independent things.

How do I start up my own IRC channel?
This thread isn't a beginners guide to IRC. For that, refer to Google:
http://www.google.com/search?hl=en&i...s+guide+to+irc

Will this work with vB 3.x.x?
More than likely, since there is little modification to vBulletin.

:up:

Show Your Support

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

Comments
  #12  
Old 02-17-2004, 01:07 PM
uomoragno uomoragno is offline
 
Join Date: Mar 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my eggdrop.conf:

Quote:
# source scripts/script.tcl

#source scripts/usc.tcl
source scripts/peak.tcl
source scripts/adver.tcl
source scripts/bseen.tcl
source scripts/nospam.tcl
source scripts/seenit.tcl
source scripts/badword.tcl
source scripts/allvoice.tcl
source scripts/robotman.tcl
source scripts/cervellone.tcl
source scripts/clone_detect.tcl

# Use this script for Tcl and Eggdrop downwards compatibility.
# NOTE: This can also cause problems with some newer scripts.
source scripts/compat.tcl

# This script provides many useful informational functions, like setting
# users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
# extra entries.
source scripts/userinfo.tcl
loadhelp userinfo.help

source scripts/ircrefresh.tcl


my ircrefresh.tcl

Quote:
set irc_chan "#mychannel"

# Set activity_wait to the number of
# seconds between updates

set activity_wait 180

set vb_script "http://www.mysite/irconline.php"
set vb_key "test"
my irconline:

Quote:
error_reporting(E_ALL & ~E_NOTICE);

require_once('./global.php');

$irckey = 'test';

if ($_POST['do'] == 'refresh' && $_POST['key'] == $irckey)
Reply With Quote
  #13  
Old 02-17-2004, 02:45 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey.. I'm going to be trying this later today, this is exactly what we're looking for...

Question:

Any way I can pull any of the data (such as total # of chatters, topic, or activity level) into the vBadvanced homepage template? I'd like to be able to call this data from there too.
Reply With Quote
  #14  
Old 02-17-2004, 04:51 PM
version2's Avatar
version2 version2 is offline
 
Join Date: Feb 2003
Location: Philly
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the sql table definition? All I see is a way to upgrade if you already have the mirc hack but nothing for new installs. Am I missing it?
Reply With Quote
  #15  
Old 02-17-2004, 04:58 PM
version2's Avatar
version2 version2 is offline
 
Join Date: Feb 2003
Location: Philly
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by version2
Where is the sql table definition? All I see is a way to upgrade if you already have the mirc hack but nothing for new installs. Am I missing it?
Good grief. This is the second time I have totally missed something in a hack. I see it, now. Leaving my original question as an excercise in humility.
Reply With Quote
  #16  
Old 02-17-2004, 05:11 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
my ircrefresh.tcl
Quote:

set irc_chan "#mychannel"

# Set activity_wait to the number of
# seconds between updates

set activity_wait 180

set vb_script "http://www.mysite/irconline.php"
set vb_key "test"



my irconline:
Quote:

error_reporting(E_ALL & ~E_NOTICE);

require_once('./global.php');

$irckey = 'test';

if ($_POST['do'] == 'refresh' && $_POST['key'] == $irckey)
uomoragno you are missing the ".com" in your vb_script value.

Make sure your configuration is set exactly as to what values need be. (I'm assuming you didn't actually use "mysite" as your domain )

Quote:
Any way I can pull any of the data (such as total # of chatters, topic, or activity level) into the vBadvanced homepage template? I'd like to be able to call this data from there too.
Very easily. Just grab the edits made in index.php of this hack, and place them into your home page index.php. Remember to require the forum global.php (if not done so already). You'll have to do some template edits as well.
Reply With Quote
  #17  
Old 02-17-2004, 05:22 PM
uomoragno uomoragno is offline
 
Join Date: Mar 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
set vb_script "http://www.mysite/irconline.php"
this is my error when i write the post
Reply With Quote
  #18  
Old 02-17-2004, 05:26 PM
version2's Avatar
version2 version2 is offline
 
Join Date: Feb 2003
Location: Philly
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. Its not grabbing the topic.
Reply With Quote
  #19  
Old 02-17-2004, 09:14 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
The Eggdrop IRC Manager (EIM) is a TCL script for NIX Eggdrop or Win32 Windrop.

It will allow you to refresh your forum home with information about your channel, such as the nicks currently in it, the record users, and the activity of the channel.

This is a port from my IRC Channel Manager, yet that hack was for MIRC and had some bugs.

I created a new thread for this hack as the audience is different. Most people seeking eggdrops wont look into the mIRC thread.

The eggdrop version is far better than the former, so I highly recommend you make the switch if you're capable of running eggdrop.

Quick overview of features
  • Uses MySQL database to store information.
  • Stable, fast, easy to deploy and use.
  • AdminCP interface for managing channels.

Only drawback currently is that you must run multiple bots with the script if you intend to update multiple channels. I will be working on a version that allows 1 bot to update multiple channels.

For those using IRC Channel Manager, making the upgrade is easy, just refer to the installation manual.

Examples attached. Enjoy!

Notice 1:

Ah yes, I forgot to mention the two manual bot commands in the documentation.

As a bot owner, type !refresh to manually refresh the channel. Type !startact to do the initial start of the activity timer. Both these commands should be performed when you first place your bot on the channel or after you rehash it when installing the script. You wont have to run these scripts again, unless your bot exits the channel.

Notice 2:

Your bot will refresh your channel whenever someone leaves, changes nick, joines, is kicked, topic change, or a mode change occurs (such as someone being op'd, voiced, etc.)

On a large traffic intensive channel, this will make your bot very busy. Just be aware of this. I'll plan for a timer-version, where the bot updates every X minutes, in the future.

FAQ

What is an eggdrop?
http://www.eggheads.org/

Will this work with my java IRC client? (pjIRC, etc.)
Read what an eggdrop is. Once you figure it out, you'll know that they are completely independent things.

How do I start up my own IRC channel?
This thread isn't a beginners guide to IRC. For that, refer to Google:
http://www.google.com/search?hl=en&i...s+guide+to+irc

Will this work with vB 3.x.x?
More than likely, since there is little modification to vBulletin.

:up:
I invite everybody to join the DevCore network.
This is the same network where the vBulletin.org and vBulletinTemplates.com and vBulletin-Germany.com official chat channels are listed. As well as many other channels from vBulletin sites and fan sites and stuff.

You can reach the server through host: irc.devcore.co.uk on port 6667
vBulletin.org : #vBorg
vBulletinTemplates.com : #vBTemplates
vBulletin-Germany.com : #vBGermany

and for the unofficial sites
vBulletin.nl : #vBnl
vBulletin.com : #vBcom (well, unofficial channel anyway right now)
vBulletin-fr.com and vBulletin-french.com : #vBFrench
vBpanel.com : #vBPanel

More: type /list



You are free to start your own channel.
You can do this by joining a none existing channel and register it with ChanServ.
To register a channel, your nickname must be registered with AuthServ first.

/msg authserv help register
/msg authserv help auth
/msg chanserv help register


That will get you started, and hope to see you soon!
We have setup aliasses for the devcore host, one could also use irc.vbulletin.nl and irc.vbulletin-netherlands.com -

To join the DevCore network irc chats, one can use the java chat here on vBulletin.org (see top menu 'chat' link) or goto http://www.vBulletin.nl/community/chat/






See you soon!
We run this hack through mIRC
and soon upgrade to setup our eggdrops to handle it Especially when the script can run 1 eggy for multiple channels.
Reply With Quote
  #20  
Old 02-17-2004, 09:48 PM
uomoragno uomoragno is offline
 
Join Date: Mar 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
HTTP Package for Eggdrop (preinstalled with latest versions of Eggdrop and Windrop)
As I make knowing if I have this Requirements ?
Reply With Quote
  #21  
Old 02-18-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

Floris, that's all nice but it's spam to the thread. :ermm:
Also, it's not really necessary to quote my whole first post.

Quote:
Especially when the script can run 1 eggy for multiple channels.
That's not installed yet, but I will be looking into it.

For anyone who currently has installed this eggdrop on their site and it's working, and if you would allow me to use your forum home as an demonstration to how this thing works in action, please PM me (with a link of your forum home). I'll edit the first post and include the links.

Quote:
set vb_script "http://www.mysite/irconline.php"



this is my error when i write the post
Yes... that is the wrong syntax.

You need to set the vb_script variable! Set it to where irconline.php is located.

You also need to upload it to your forums directory! For example, you own a site called "mycoolstuff.com", and your forum is located at "mycoolstuff.com/forums".

Then, the correct settings should be:
Code:
set vb_script "http://www.mycoolstuff.com/forums/irconline.php"
Quite simple.

Quote:
Hmm. Its not grabbing the topic.
Try changing the topic, using /topic, and seeing if it refreshed.

Check phpmyadmin to see if there is a value for the topic field. Ensure you have followed the steps correctly.

I'm going to reinstall this hack on my host to ensure I got all bugs out, though I'm quite sure I have.
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 06:58 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.04890 seconds
  • Memory Usage 2,331KB
  • 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_code
  • (12)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