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
  #17  
Old 05-04-2002, 01:54 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have anyone tested it with Win2K??? I tried to install it locally, and when I press NEXT in the installation screen, it points to /php/php.exe and says: No input file specified... I will try to re download the file.. I'm using the zipped file...
Reply With Quote
  #18  
Old 05-04-2002, 01:58 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

However, in linux it works... I'm installing it right now.
Reply With Quote
  #19  
Old 05-04-2002, 02:31 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any special requirements? It doesn't work on Linux/PHP 4.06.
Reply With Quote
  #20  
Old 05-04-2002, 03:09 AM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack idea. I run an IRC network as well and I was eventually going to code one myself using socket connections or possibly via a C bot that reads from a database and outputs the content into a channel

This hack doesn't work on my server however for some reason. I am running FreeBSD 4.5 with PHP 4.1.2. It stalls after submitting the new thread / reply.
Reply With Quote
  #21  
Old 05-04-2002, 05:29 AM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow just what ive been waiting 4 thanks man gr8 hack
Reply With Quote
  #22  
Old 05-04-2002, 05:57 AM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error when making a new post

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

my server
------------
Server Type
Linux / PHP v4.1.2

MySQL
v3.23.37
Reply With Quote
  #23  
Old 05-04-2002, 06:35 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aaaaaaaaaah! i get a timeout (110 seconds) error
Reply With Quote
  #24  
Old 05-04-2002, 08:55 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe some PHP/Apache/Linux versions doesn't support this hack... It doesn't work on my server... I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel.
Reply With Quote
  #25  
Old 05-04-2002, 09:43 AM
IRiDiuM IRiDiuM is offline
 
Join Date: May 2002
Location: United Kingdom
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this to work with an eggdrop would be simple enough; and the eggdrop would be able to cope with the bandwidth hog.

Unfortunately I know that the fsock functions have been killing my host otherwise I would give it a go.

vB forums -> eggdrop -> irc

you just write a TCL script on the eggdrop to listen on a certain port, the forums connect to the eggdrop and send the line of information and the eggdrop sends the information to a channel.

Code:
vbulletin.tcl
listen 1337 script vbulletinaccept

proc vbulletinaccept {idx} {
 control $idx vbincoming
}

proc vbincoming {idx args} {
 if {[join $args] != "" } {
   putserv "PRIVMSG #vbchan :$args"
 }
 killdcc $idx
}
Reply With Quote
  #26  
Old 05-04-2002, 10:37 AM
dymo dymo is offline
 
Join Date: Jan 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its one or all right now, the next release will have upto 5 forums you can monitor and point to different or the same channels to notify
Reply With Quote
  #27  
Old 05-04-2002, 11:29 AM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JulianD
I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel.
thats what happens with me
Reply With Quote
  #28  
Old 05-04-2002, 11:30 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JakeX
i get this error when making a new post

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site140/web/newthread.php on line 268

my server
------------
Server Type
Linux / PHP v4.1.2

MySQL
v3.23.37
The string you found & replaced is the first of two.. around line 309 or so is another one. You should replace that one.
Reply With Quote
  #29  
Old 05-04-2002, 11:37 AM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have timeouts or hang ups, but when I post a post/thread the bot doesn't show up on my channel how do i fix that?
Reply With Quote
  #30  
Old 05-04-2002, 05:01 PM
dymo dymo is offline
 
Join Date: Jan 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

theres seems to major differences between ircd versions and how the process the connections and channel joins, this version works 100% with an unreal ircd server, we are working on a bug fix for few of the other versions of ircd.

the reason you get a delay or lag when posting is the script is attempted to notify it to irc at post time, the next release will no longer have that delay, the irc.php will run silently in the background.

another release change will be the bot staying in the channel where possible, but i think for a bot staying in the channel it would be wiser to use an eggdrop and allow it to pull the last posts from the database instead but we will see what we can do.

if you need a test bed you can connect to irc.gamerscafe.net or irc.d2network.com and test on a channel in there, these are known to work.

if your not running unreal ircd, please let me know what ircd version you are running, and if possible an address so we can test there as well.

d
Reply With Quote
  #31  
Old 05-04-2002, 05:02 PM
sas1911 sas1911 is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 05:37 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.05870 seconds
  • Memory Usage 2,358KB
  • 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
  • (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
  • (3)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