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
Users in Chat -with eggdrop, works no matter what- Details »»
Users in Chat -with eggdrop, works no matter what-
Version: 1.00, by sas1911 sas1911 is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-08-2002 Last Update: Never Installs: 18
 
No support by the author.

First and foremost, I would like to thank Sparkz for a little bit of TCL help. I had been playing with the idea for some time now of using an eggdrop bot and vBulletin to put current chatters on my forum home. Unfortunately, I couldn't find the perfect TCL to use. The current TCL is a mix between my own script, a script I found online and Sparkz script.

** YOU MUST HAVE AN EGGDROP BOT **

After seeing this hack on vbulleting.org, I wanted it for my site. Unfortunately, it was not being released, so I decided to make my own! Here it is, hopefully you can figure most of it out yourself.

What it does is uses an eggdrop bot (not going to explain what it is). The bot refreshes the userlist when a user leaves or enters the channel, this keeps the list up to date always. When you load index.php, the list is downloaded from the shell and read into a variable. This variable can be put on your forumhome template
and viewed by the user. This hack also gets the current channel topic and the current server that the chat is on.

Pros:
* Works for any IRC method (jpilot, mirc, eirc, etc.)
* No page refreshing or database calls
* Is ALWAYS up-to-date

Cons:
* Uses FTP and eggdrop

Support for this hack is limited due to the fact that I am a busy person.

I hope you enjoy this hack, it's my first.

- joey

Show Your Support

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

Comments
  #12  
Old 07-15-2002, 02:04 AM
jcroft jcroft is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would love to see your version Martin64, and I've still had no luck with the original!
Reply With Quote
  #13  
Old 07-15-2002, 11:43 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I will let you know as soon as it's ready for release
Reply With Quote
  #14  
Old 07-17-2002, 12:39 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds good, I'm also interested in it. Although my only problem is I don't have a dedicated server so things might not run too smoothly...
Reply With Quote
  #15  
Old 07-20-2002, 01:09 AM
zman zman is offline
 
Join Date: Apr 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The original hack does not track people leaving the channel so it only updates on join.
Reply With Quote
  #16  
Old 07-23-2002, 02:53 AM
jcroft jcroft is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by zman
The original hack does not track people leaving the channel so it only updates on join.
Right, and I modified the TCL script so that it SHOULD (I think) work on a number of events (join, part, sign off, topic change, etc.). However, it doesn't actually work. I don't know my TCL that well, so maybe someone can tell me where I'm going wrong? I've got the original hack working great, except that it doesn't update when someone leaves or signs off.

Quote:
bind join - "$i2h_chan %" i2h:make
bind part - "$i2h_chan %" i2h:make
bind sign - "$i2h_chan %" i2h:make
bind topc - "$i2h_chan %" i2h:make
bind kick - "$i2h_chan %" i2h:make
bind nick - "$i2h_chan %" i2h:make
bind rejn - "$i2h_chan %" i2h:make
Reply With Quote
  #17  
Old 08-02-2002, 05:42 PM
Koj-Gysto Koj-Gysto is offline
 
Join Date: Jul 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jcroft
Right, and I modified the TCL script so that it SHOULD (I think) work on a number of events (join, part, sign off, topic change, etc.). However, it doesn't actually work. I don't know my TCL that well, so maybe someone can tell me where I'm going wrong? I've got the original hack working great, except that it doesn't update when someone leaves or signs off.
It actually DOES work... However, the person who just parted or quitted will still be in the chan list...

From a tcl-commands.doc which was included in eggdrop:

Quote:
chanlist <channel> [flags[&chanflags]]
Description: flags are any global flags; the '&' denotes to look for
channel specific flags. Examples:
n (Global Owner)
&n (Channel Owner)
o&m (Global Op, Channel Master)
Now you can use even more complex matching of flags, including +&- flags
and & or | (and or or) matching.
Returns: list of nicknames currently on the bot's channel that have all
of the flags specified;. If no flags are given, all of the nicknames
are returned. Please note that if you're executing chanlist after a
part or sign bind, the gone user will still be listed
, so you can
check for wasop, isop, etc.
So, if you have several quits in a row the number will get lower...
Reply With Quote
  #18  
Old 08-16-2002, 01:21 PM
CJi CJi is offline
 
Join Date: Oct 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just get left with an empty text file as well.

Would be interested in seeing the other hack mentioned here when it's ready.
Reply With Quote
  #19  
Old 09-16-2002, 09:53 AM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome hack! though little prob when replying and making a new thread

on the board it says this:

Fatal error: Maximum execution time of 30 seconds exceeded in c:\www\apache\htdocs\forum\irc.php on line 24

Fatal error: Maximum execution time of 30 seconds exceeded in c:\www\apache\htdocs\forum\admin\functions.php on line 4667

and in irc it says this:

[12:46:41] <Bot> [12:46] Timeout/EOF ident connection
[12:49:59] <Bot> [12:50] @#chan (+trn) : [m/8 o/3 h/0 v/4 n/1 b/0 e/- I/-]

any ideas what im doing wrong?
Reply With Quote
  #20  
Old 09-16-2002, 09:18 PM
garoboldy garoboldy is offline
 
Join Date: Mar 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have a hosted server for my website which has a ton of space so thats no big deal. I dont thing eggdrop is on there but do I need to call my host and have them put it on or can I do it myself...sorry to bother. later
Reply With Quote
  #21  
Old 09-22-2002, 07:32 PM
PBC PBC is offline
 
Join Date: Oct 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Martin64
Okay, I will let you know as soon as it's ready for release
Is the updated version of your hack available?

Thanks
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 07:24 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.04592 seconds
  • Memory Usage 2,306KB
  • 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
  • (5)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
  • (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