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
  #52  
Old 03-23-2004, 05:22 AM
er0sion er0sion is offline
 
Join Date: Jun 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
Unfortunantly I don't know how to grab the ! or % users with the eggdrop IRC functions. If I have time I'll look around for how to do so.
eggdrop has a command called ishalfop $user $chan...
as far as chan owner.. i didnt see anything like that..
Reply With Quote
  #53  
Old 03-23-2004, 10:03 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I must have overlooked it. I'll put the update in later tonight.
Reply With Quote
  #54  
Old 03-24-2004, 03:58 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.4 now available.

The only addition is support for half-ops (%).

To upgrade:

1. Upload ircadmin.php and irconline.php. Be sure to re-set the config values in irconline.php.

2. Redo the file edits for your forum root index.php.

3. Overwrite ircrefresh.tcl with the new file. Be sure to re-set the config values.

4. Run the following query in PhpMyAdmin

Code:
ALTER TABLE `irc_channel` ADD halfops text not null AFTER operators;
Reply With Quote
  #55  
Old 03-24-2004, 10:43 AM
Hazzo Hazzo is offline
 
Join Date: Feb 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool--- great update! Now, if we could just figure out the channel owners

Couldnt we do someone sortof compare-- like if there nick has a ! in front then they equal admin? What do I know tho....

Anywayz, thanx for the update!

OK, getting this error while in the partyline with the bot
Code:
 Tcl error [refresh_users]: invalid command name "ishalfop"
 Tcl error [check_part]: invalid command name "ishalfop"
I've rechecked, I added the sql, i checked all the code.. But that error seems to come up.. The topic on the forum updates fine, but the users dont..

Any clue?
Reply With Quote
  #56  
Old 03-24-2004, 08:01 PM
er0sion er0sion is offline
 
Join Date: Jun 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hazzo
Cool--- great update! Now, if we could just figure out the channel owners

Couldnt we do someone sortof compare-- like if there nick has a ! in front then they equal admin? What do I know tho....

Anywayz, thanx for the update!

OK, getting this error while in the partyline with the bot
Code:
 Tcl error [refresh_users]: invalid command name "ishalfop"
 Tcl error [check_part]: invalid command name "ishalfop"
I've rechecked, I added the sql, i checked all the code.. But that error seems to come up.. The topic on the forum updates fine, but the users dont..

Any clue?
seems like you might be running an older version of eggdrop that doesnt have the ishalfop command implemented. Maybe try upgrading to the latest eggdrop?
Reply With Quote
  #57  
Old 03-24-2004, 08:06 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I originally coded this hack under linux with eggdrop, and I never noticed the ishalfop in the TCL documentation.

Although when I did this update, it was under windrop, which I noticed the function in the documentation.

Although, I'm sure I just overlooked, and eggdrop does have support.
Reply With Quote
  #58  
Old 03-24-2004, 11:08 PM
Fibe Fibe is offline
 
Join Date: Oct 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm for some odd reason i won't update mine either. Everything else works perfect though.
Reply With Quote
  #59  
Old 03-25-2004, 04:46 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your eggdrop is giving you errors with the ishalfop command, I suggest upgrading your eggdrop.

If it still fails to work, you'll have to cut out halfop support by removing the following code from ircrefresh.tcl (bringing you back down to v1.3):

Code:
			} elseif {[ishalfop $user $chan]} {
				lappend halfops "%$user"
Reply With Quote
  #60  
Old 04-15-2004, 10:07 AM
will_lean will_lean is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi i just installed this hack and im new to vb so maybe someone can help me

My forum doesnt seem to show the block with the users online,
im familiar with eggdrop and the bot loaded the tcl file ok and both keys are set to same number.
ive never created a template before so maybe thats where im going wrong?
Is there a certain way i need to make the irc_loggedin template?
its shows this template under custom templates but not on the forum home?
if i call the irconline file i get a blank page?

any help would be great
Reply With Quote
  #61  
Old 04-16-2004, 05:42 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You get a blank page if you access irconline.php because it is protected. Only $_POST access and the correct key will give you access. But, there is no reason for you to access that file anyway. It's meant only for the bot.

I suggest you review the instructions to make sure all has been done correctly. Make sure the channel is created in your AdminCP irc page.
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 04:11 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.05242 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)bbcode_code
  • (2)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