vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Eggdrop IRC Manager (https://vborg.vbsupport.ru/showthread.php?t=61570)

uomoragno 02-17-2004 01:07 PM

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)

Alien 02-17-2004 02:45 PM

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? :D I'd like to be able to call this data from there too.

version2 02-17-2004 04:51 PM

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?

version2 02-17-2004 04:58 PM

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.

Velocd 02-17-2004 05:11 PM

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 :rolleyes: )

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.

uomoragno 02-17-2004 05:22 PM

Quote:

set vb_script "http://www.mysite/irconline.php"
this is my error when i write the post

version2 02-17-2004 05:26 PM

Hmm. Its not grabbing the topic.

Floris 02-17-2004 09:14 PM

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.

uomoragno 02-17-2004 09:48 PM

Quote:

HTTP Package for Eggdrop (preinstalled with latest versions of Eggdrop and Windrop)
As I make knowing if I have this Requirements ?

Velocd 02-18-2004 12:22 AM

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.


All times are GMT. The time now is 08:24 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.01389 seconds
  • Memory Usage 1,772KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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