Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: FounderSim on March 10, 2011, 01:37:13 AM

Title: Send a message to a IRC Channel when a post has been made?
Post by: FounderSim on March 10, 2011, 01:37:13 AM
Anyone got a mod that will send a link to a IRC Channel when a new post has been made on your forums giving URL to post?
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: live627 on March 10, 2011, 01:44:29 AM
I don'tknow if PHP CAN post anything to IRC..
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: FounderSim on March 10, 2011, 02:00:04 AM
PHP can use sockets to connect to irc and send a message..
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: Aleksi "Lex" Kilpinen on March 10, 2011, 02:00:12 AM
You might be able to make a bot that follows your RSS, but that's not really an SMF mod, and I doubt there's any easy way to have SMF communicate with IRC directly...
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: FounderSim on March 10, 2011, 02:09:02 AM
Looks like i'll have to code one as everyone doesn't even think its possible. It must not exist. I'll just edit the subs.post file to connect to irc join channel and post the post link =)... ;]
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: Arantor on March 10, 2011, 03:24:41 AM
Sure it's possible, but it's not something I remember being requested before and it is a fairly niche feature.
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: Aleksi "Lex" Kilpinen on March 10, 2011, 03:42:20 AM
Yeah well, everything is possible - but just for example, the logic in this post
Quote from: FounderSim on March 10, 2011, 02:09:02 AM
I'll just edit the subs.post file to connect to irc join channel and post the post link =)... ;]
Doesn't really work - at least if you have a fairly busy forum ;) You can't make your forum connect and join each time for each topic... Most IRC servers wouldn't allow that to begin with, and then there's the nickname problem - that you can not have multiple instances of one nickname on any given network at one time, and so on... It's not as simple as it sounds as an idea.
Title: Re: Send a message to a IRC Channel when a post has been made?
Post by: Illori on March 10, 2011, 05:43:48 AM
http://www.simplemachines.org/community/index.php?topic=423678 looks similar to what you are looking for.