I really, really wish I could include phpFreeChat with the extension, but it just won't fit in the 100 kB size limit no matter how savagely I hack at it. Maybe the 1.0-final release of phpFreeChat will be smaller, but I rather doubt it. I would need at least 200 kB to cram it all in.
Upload the file somewhere else and provide a 'full version' download link meanwhilst. PS - cool! I was about to request this someday soon anyway :D I'll try this out later.
I'm having a slight problem. I got it all up but when I visit the page it says:
"You must be connected to send a message" .. & my message doesnt get sent. How can I correct this?
I read something in the phpFreeChat install instructions that says on some servers you need to CHMOD 777 all of the phpFreeChat files and directories. You might try that.
Works perfectly. Thanks.
Would there be a way to make it so only Mods/Admins could create rooms? And disable the X button on the rooms already open. I just want to limit them to the same rooms but still be able to PM eachother if necessary.
Also would love to have a room only visable to the Mods/Admins, or at least password protected.
But... I think this basicly has to do with the chats script itself and you might not be able to help.. ^_^
Edit: Oh, also when you don't have a warning/comment/notify thingy it still shows the yellow box and red icon. Anyway to remove that?
Chad, I think that everything you're asking for could be done by the PFC extension. The phpFreeChat script is very flexible and it will do damn near anything if you pass it the right parameters.
Oh, also when you don't have a warning/comment/notify thingy it still shows the yellow box and red icon. Anyway to remove that?
This is awesome! But is there a way to show who is currently in the chat room say in the Panel or something? Ideally I would like a small chat ability in the Panel viewable from all pages, but I guess this is not possible.
I was thinking of using Nuggets to write the PHP code that would list the users in the chat, but I keep getting an error: Notice: Undefined variable: serverid in /extensions/PFC/phpfreechat-1.0-beta11/src/pfci18n.class.php on line 28
It should be as easy as this: if ( @include_once($Configuration['PfcPath'] . 'src/pfcinfo.class.php') ) {
$PfcInfo = new pfcInfo(md5($Context->Configuration['APPLICATION_TITLE']));
$PfcUsers = $PfcInfo->getOnlineNick(NULL);
}
Comments
I really, really wish I could include phpFreeChat with the extension, but it just won't fit in the 100 kB size limit no matter how savagely I hack at it. Maybe the 1.0-final release of phpFreeChat will be smaller, but I rather doubt it. I would need at least 200 kB to cram it all in.
Oh, also when you don't have a warning/comment/notify thingy it still shows the yellow box and red icon. Anyway to remove that?
D'oh. I'll fix that in the next version.
I was thinking of using Nuggets to write the PHP code that would list the users in the chat, but I keep getting an error:
Notice: Undefined variable: serverid in /extensions/PFC/phpfreechat-1.0-beta11/src/pfci18n.class.php on line 28
Do you have any ideas?
It should be as easy as this:
if ( @include_once($Configuration['PfcPath'] . 'src/pfcinfo.class.php') ) { $PfcInfo = new pfcInfo(md5($Context->Configuration['APPLICATION_TITLE'])); $PfcUsers = $PfcInfo->getOnlineNick(NULL); }