Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Irc post Notifier -no eggdrop Details »»
Irc post Notifier -no eggdrop
Version: 1.00, by dymo dymo is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-03-2002 Last Update: Never Installs: 62
Is in Beta Stage  
No support by the author.

this is a hack in progress but i had a few people who saw us testing and after alot of begging i finally caved, (I know I am weak)

So I decided to release the current version, expect a major update on it tommorrow with a few more options.

What this hack does is allow you to specify either which forum or all forums you wish to monitor and either monitor new threads or new replies, and send a notice to an irc channel when a new thread or reply is posted. Without requiring an eggdrop bot, this is 100% php, and works on servers running php in safe mode.



Its fully configurable, a fair amount of options in the admin panel for this, more to come tommorrow



i am attaching the installer on this post and the other two REQUIRED files in the next two posts.

just upload the installer to your admin directory and run install_ircaddon.php and follow the prompts and make the changes to newreply.php, newthread.php, and admin/index.php

easy enough

Show Your Support

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

Comments
  #32  
Old 05-04-2002, 05:36 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my irc is running UltimateIRCd(Tsunami)-3.0(00).a22
Reply With Quote
  #33  
Old 05-04-2002, 05:49 PM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what one of my servers on the IRC Network is running:
[&] Version: Unreal3.2-Selene[beta9]. Xana.MediaJoint.net CFhiIX [Linux server1.xarcos.com 2.4.9-21.0RSenterprise #1 SMP Fri Jan 25 04:25:45 CST 2002 i686 unknown=2303]

I don't think it's the ircd that's the problem. I tried connecting to yours (irc.d2network.com) yesterday and it was still timing out. If any of you want to try this out on a network that uses Unreal, try my network: irc.mediajoint.net. You can find me in #gfchat if I'm around under the name "Mercarios".

One of my programmers is an IRC geek along with a PHP programmer so I'm going to have him look into it and if he finds a fix for all servers I'll post the fix here.
Reply With Quote
  #34  
Old 05-04-2002, 08:11 PM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll wait untill the next release

btw, I'll be running it at one of the irc.sorcery.net servers (probable rivendell 'cause I know the ircop of that server very well ).
They're running a home-made ircd (sor1.3.3.hfix2)

I'll let you know when it works (or doesn't work ). (The next release that is, I'm not going to install this one since I don't have the time to install anything today/tomorrow ).
Reply With Quote
  #35  
Old 05-04-2002, 11:04 PM
Baratator's Avatar
Baratator Baratator is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I neeeeeeeeeeeeeeeeeeeeeed this hack
So my server is under WindowsXP 'plz don't laugh at me) under EasyPHP (okay here you can laugh )
This is only a test board the final one will be hosted on a linux dedicated server.
But for now i configured in the admin cp all te parameters but nothing appens
So i tryed .../irc.php ..... no timeout error messages, nothing...just ... nothing...

Need help I'VE GOT to have this hack working

And thank for your job guys !!
Reply With Quote
  #36  
Old 05-04-2002, 11:35 PM
dymo dymo is offline
 
Join Date: Jan 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would put money that easyphp doesnt have all the functions like the socket calls the php onlinux has so thats probably not gonna be fixable until you are running on a linux server
Reply With Quote
  #37  
Old 05-05-2002, 08:16 AM
sas1911 sas1911 is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a fix to my solution, maybe it will help some of you. I can't get it to automatically send a message to a channel yet when someone posts or replies, but I do have a pretty nice setup. When someone posts or replies, it stores it in a database as well as a text file. The textfile is then FTPed to one of my UNIX shells. The bot on that unix shell is running a TCL script that reads in the file.

So, if a user types:
!top5posters, he gets a list of the top 5 posters
!last5, he gets a list of the last 5 posts
!lastpost, he gets the last post made to the board as well as what it said.
!onlineusers, he gets a list of users currently on the board.
Reply With Quote
  #38  
Old 05-05-2002, 11:38 AM
ariaforums ariaforums is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed nothing appears to happen in IRC channal, if I run the irc.php from a browser I get:

Connection refused (111)

Any ideas on cause?

ta
Reply With Quote
  #39  
Old 05-05-2002, 03:41 PM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, I've installing now, in newthread.php there are 2 instances of this:

Quote:
$goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";
} else {
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
}
Is it the first of the second one?


Secondly, I looked into doing this with an eggdrop, however there is limited support for mySQL and files seem hard to come by. The mySQL tcl requires quite a few libs to be installed first, as well - I couldn't get the eggie to run with it in the config.
Reply With Quote
  #40  
Old 05-05-2002, 04:44 PM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This eggdrop/tcl install works really well, very easy to install too:

http://www.bluetitan.com/~tdarugar/tcl-sql/

makes sql available to tcl8.0, I don't have a script to test it with though!
Reply With Quote
  #41  
Old 05-05-2002, 10:06 PM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by sas1911
Your web host may not allow you to connect to an IRC server. That is the problem I have when I run the script. I can't connect to any irc server I put in. If you run irc.php in your browser, you'll probably get a connection refused error.
I compiled [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth]x on my server and I ran it, and it connected sucesful to my irc server.

BTW: I'm using Dalnet. (irc.dal.net)
Reply With Quote
  #42  
Old 05-06-2002, 03:00 PM
CJi CJi is offline
 
Join Date: Oct 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the resource usage like on the constant join/part on busy boards (1000+ posts per day)? I'll definately install when a) +d is introduced, b) I can monitor a selection of forums, and c) it is able to be constantly present rather than part/join/part/join.

Good work!
Reply With Quote
  #43  
Old 05-08-2002, 02:51 PM
dadymac dadymac is offline
 
Join Date: Nov 2001
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup, connection refused by venturesonline...damn, now i gotta uninstall it...
Reply With Quote
  #44  
Old 05-09-2002, 08:31 PM
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Location: :bunny:
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doing +d is as simple as
Code:
fputs($fp, "MODE ".$ircdata[ircbnick]." :+d\n");
lol ^-^
Reply With Quote
  #45  
Old 05-11-2002, 04:30 PM
CJi CJi is offline
 
Join Date: Oct 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



What about the rest? Any hints as to resource usage?
Reply With Quote
  #46  
Old 05-11-2002, 06:37 PM
Racer Racer is offline
 
Join Date: Dec 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Connection refused (111)
This means its not avail on the server then or is there any tricks to get it going anyway ?
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:13 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.05327 seconds
  • Memory Usage 2,357KB
  • Queries Executed 30 (?)
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
  • (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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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