• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

PHPfreeChat to StandaloneIRC server?

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
9 posts • Page 1 of 1

Postby plunder » Sun Oct 16, 2011 3:06 am

Hello there,
We have installed PFC and so far so good.
We already have a standalone IRC server running elsewhere and would like to be able to "connect" PFC to it?
Is this possible? We would love to use PFC as a front end to our IRC server from our website.

Thanks in advance,

plunder
plunder
New member
 
Posts: 4
Joined: Sun Oct 16, 2011 3:01 am
Top

Postby OldWolf » Sun Oct 16, 2011 4:39 am

It's possible, but you'd have to write the code for it. The feature does not yet exist though... there are other chat programs that work for that though
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby plunder » Sun Oct 16, 2011 11:08 am

Thanks for the quick reply...
Do you know anyone who has written that code or have any pointers? I would have no idea how to make that happen.
We love this chat interface so much. I have looked at others like mibbit and javairc but none are as clean looking as PFC.
I would really love to connect this to out IRC server. The only help i could find on the subject was on EHOW here:
http://www.ehow.com/how_6599340_change- ... echat.html
Here they talk about "phpFC.conf.php" which i cant find anywhere. Any thoughts or advice would be so appreciated!
Regards,
plunder
plunder
New member
 
Posts: 4
Joined: Sun Oct 16, 2011 3:01 am
Top

Postby re*s.t.a.r.s.*2 » Sun Oct 16, 2011 7:54 pm

Hi,

Sorry to get into the way, but I dint know there was a new container for IRC and PHPFREECHAT this doesn't exist in pfc 1.3 I am a bit confused , even the file too be edited is unknown for me.

Could this be a different script based on phpfreechat?
also see the line :

Scroll down to the line that says "ircsrv=irc.phpfreechat.net" and replace it with the address of your server. For example, "ircsrv=irc.myserver.com." Do not use any quotes.

PHPFREECHAT doesn't even have an IRC server working..

I am baffled ..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby plunder » Mon Oct 17, 2011 3:12 pm

Hi there,
This is what confused me too. In fact it was reading this article when searching for "php webchat interface to irc server" that led me to believe
that PFC would do this and as a result to download, install, and set it up. I was then supprised when i couldn't find "phpFC.conf.php" to configure
a connection to our IRC server. Does anyone know more about this as i'm stuck now between a rock and a hard place. I really like PFC a lot and want to use it, and believe it can't be that hard to connect this to our server. Has anyone else here reading this already done this?

plunder
plunder
New member
 
Posts: 4
Joined: Sun Oct 16, 2011 3:01 am
Top

Postby plunder » Wed Oct 19, 2011 7:12 pm

Hiya,

Does noone have any more thoughts on this?

I can't be the only one who wishes to put PFC as a frontend to an IRC server?

plunder
plunder
New member
 
Posts: 4
Joined: Sun Oct 16, 2011 3:01 am
Top

Postby uovobw » Thu Nov 24, 2011 11:38 pm

plunder wrote:Hiya,

Does noone have any more thoughts on this?

I can't be the only one who wishes to put PFC as a frontend to an IRC server?

plunder

Of course not, i believe this is the single most important feature this chat is missing. I have thrown together some _horrendous_ code that used ii (http://tools.suckless.org/ii/) to read/write to an irc channel, i got it as far as propagating messages from the chat to the channel but i never got it to send them back to the webchat because i could not understand the complexity of the way the commands are injected in the global state (i tried both with the cache solution and with the mysql frontend (which is horrendous, all it does are endless selects,replace and updates in the same table with names that make almost no sense and without documentation)) then i wrote something on the forum but since nobody seemed interested i dropped everything.
uovobw
New member
 
Posts: 4
Joined: Sun Jul 03, 2011 1:58 am
Top

Postby re*s.t.a.r.s.*2 » Fri Nov 25, 2011 2:24 am

Hi,

I know its difficult, had to read the code to understand a little how it works just to get the timeout bug fixed, but even so I have gone so far to find that is the server itself timing people out not the client (AJAX) failing to send command that still alive...

So to be frank an IRC container is very unlikely..

I think the next step would be using PFC with push technology..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby uovobw » Thu Dec 15, 2011 11:27 am

re*s.t.a.r.s.*2 wrote:Hi,

I know its difficult, had to read the code to understand a little how it works just to get the timeout bug fixed, but even so I have gone so far to find that is the server itself timing people out not the client (AJAX) failing to send command that still alive...

So to be frank an IRC container is very unlikely..

I think the next step would be using PFC with push technology..

regards.

that would be true if you had to mantain state and/or clients toward the irc channel. This would mean having one irc client for each user connected to the webchat, which makes it very very difficult.
What i was investigating was some sort of "dumb" trasport: it would create and connect to the irc channel of you choiche a client called "pfc" or whatever, and all webchat messages in irc could appear as:

<pfc> <user1> yadda yadda
<pfc> <user2> indeed

and this part i have working. The other side of it is the one i'm missing: i tried replicating the same behavior, having some sort of "irc" user connected to the webchat that simply copies messages that run on the irc channel, but the only problem i had was deduplication: each message would be repeated on the webchat as many times as the number of users connected to it. Once the deduplication problem is solved, i think that could be workable ( there are a couple more bugs, sometimes ii drops the connection for no apparent reason and other times php gets stuck on the write to iis pipe, but that can be solved with a python irc client running locally exposing one dumb http endpoint or by running ii in a while loop (hacks ahoy!))
Let me know if anyone is interested
uovobw
New member
 
Posts: 4
Joined: Sun Jul 03, 2011 1:58 am
Top


Post a reply
9 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 9 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub