Version: 1.00, by dymo
Developer Last Online: Jun 2009
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.
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
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.
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.
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.
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.
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.