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
  #142  
Old 05-26-2005, 10:47 PM
Fusion.nl's Avatar
Fusion.nl Fusion.nl is offline
 
Join Date: Apr 2005
Location: Netherlands
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet hack!

/me clicks install
Reply With Quote
  #143  
Old 06-02-2005, 06:25 PM
Forum-Style Forum-Style is offline
 
Join Date: Oct 2004
Location: England, UK.
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for recognising oper'd users, you can do if{iso ..... (iso is the oper version of isop)

if that helps at all I ended up putting a line and manually inputting nicks (if($nick = me||$nick = him) etc.

Activity isn't being passed into my sql did just after installing. so dont know where to go from that. may just remove that idle image all together. Got a base tho so can modify for the next vb version.

my channel's not that active anyway but i thought it would read something atleast.
Reply With Quote
  #144  
Old 06-05-2005, 02:07 AM
Snort_2005 Snort_2005 is offline
 
Join Date: May 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice.. The only thing I need is the ~ and & to show up for me. -_-
Reply With Quote
  #145  
Old 07-01-2005, 04:42 AM
Jaxx Jaxx is offline
 
Join Date: Mar 2003
Location: Seattle, Wa
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly.... since i'm owner of the chan, I only show up as a normal user.

I'm also using one the latest versions of eggdrop, but i get the ishalfop command error in the party line. :/
Reply With Quote
  #146  
Old 07-04-2005, 04:09 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unreal ircd's ~ and & modes aren't supported by most things at the moment. This is your problem. I at one point attempted to write some code of my own to deal with this problem based off the smart irc php class. Perhaps i should code that up to a releasable script package...

edit:

having spent the past 8hrs coding, i've finially got a working ircbot that handles unreal ircd correctly. Expect a full release of something when i've finnished the vb side of things. (nb my bot is NOT an eggdrop.)
Reply With Quote
  #147  
Old 07-18-2005, 02:53 PM
od3m od3m is offline
 
Join Date: Jan 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all !

Has any one got an solution for implementing this nice Hack into vBAdvanced Portal home ?

Thx 4 ideas

od3m
Reply With Quote
  #148  
Old 08-17-2005, 09:13 AM
Vizionz Vizionz is offline
 
Join Date: Jul 2003
Location: Chicago
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone port this to 3.50
Reply With Quote
  #149  
Old 09-19-2005, 03:42 PM
Disi Disi is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah is there a 3.5 Port already
Reply With Quote
  #150  
Old 10-16-2005, 03:09 AM
khurt khurt is offline
 
Join Date: Jan 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disi
Yeah is there a 3.5 Port already
In the part of this hack that modifies the forum index page, the original instructions tell you to add this...
Quote:
$channels = $DB_site->query("
SELECT *
FROM `irc_channel`
");

while ($channel = $DB_site->fetch_array($channels))
For 3.5, it should be changed to this...
Quote:
$channels = $db->query_read("
SELECT *
FROM `irc_channel`
");

while ($channel = $db->fetch_array($channels))
note: I just included the first couple of lines from the code he tells you to add to index.php because that's the only part that changes. Everything else seems to work fine.
Reply With Quote
  #151  
Old 10-19-2005, 01:23 AM
Anti-Gremlin Anti-Gremlin is offline
 
Join Date: Feb 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a fix to get it work on 3.5.0

Make sure you compare to Velocd's version to know exactly where to place it.
PHP Code:
/////////// Eggdrop IRC Manager - By Velocd ///////////
//          Modified by Anti-Gremlin                 //
   

$channels $db->query("SELECT * FROM `irc_channel`");

while (
$channel $db->fetch_array($channels))
{
    
$nick_style explode('||'$channel['nick_style']);

    
$ops     explode(' '$channel['operators']);
    
$halfops explode(' '$channel['halfops']);
    
$voiced  explode(' '$channel['voiced']);
    
$users   explode(' '$channel['users']);

    if (!empty(
$ops[0]))
    {
        foreach (
$ops AS $op)
        {
            
$channel['nick_list'] .= str_replace('{nick}'$op$nick_style[0] . ', ');
        }
    }
    
    if (!empty(
$halfops[0]))
    {
        foreach (
$halfops AS $halfop)
        {
            
$channel['nick_list'] .= str_replace('{nick}'$halfop$nick_style[1] . ', ');
        }
    }

    if (!empty(
$voiced[0]))
    {
        foreach (
$voiced AS $voice)
        {
            
$channel['nick_list'] .= str_replace('{nick}'$voice$nick_style[2]) . ', ';
        }
    }

    if (!empty(
$users[0]))
    {
        foreach (
$users AS $user)
        {
            
$channel['nick_list'] .= str_replace('{nick}'$user$nick_style[3]) . ', ';
        }
    }

    
$channel['nick_list'] = substr($channel['nick_list'], 0, -2);

    if (
$channel['activity'] > 100)
    {
        
$channel['alevel'] = 5;
    }
    else if(
$channel['activity'] == 0)
    {
        
$channel['alevel'] = 0;
    }
    else
    {
        
$channel['activity'] *= .05;

        
$channel['alevel'] = round($channel['activity']);

        if (
$channel['alevel'] < 1)
        {
            
$channel['alevel'] = 1;
        }
    }

    
$channel['aname']      = $channel["act$channel[alevel]"];

    
$channel['online_max'] = number_format($channel['online_max']);
    
$channel['online']     = number_format($channel['online']);

    
$channel['date_max']   = vbdate($vbulletin->options['dateformat'], $channel['dateline_max']);
    
$channel['time_max']   = vbdate($vbulletin->options['timeformat'], $channel['dateline_max']);

    eval(
'$irc_channels .= "' fetch_template('irc_loggedin') . '";');

    unset(
$channel['nick_list']);

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:12 AM.


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.05598 seconds
  • Memory Usage 2,350KB
  • 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_php
  • (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
  • (4)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