Page 1 of 5

[Discontinued] CNS Chatroom

Posted: Sat Apr 19, 2014 10:11 pm
by comathi
Easter break is almost over, so I hope those of you who were off this week enjoyed the extra time off (I know I did ;) ).

Anyway, #Filip and I (mostly #Filip, though) have been working on a PHP chatroom that uses the Code'N'Stuff API and WebSockets, meaning messages arrive instantly (Push, basically).

We thought it would be nice to post it here, as a concept, and to show you all what can be done with a little PHP. This could easily be implemented to the forum, so #CodenStuff, if you're looking for a little project, we've got one for you :lol:

Anyway, the chat is accessible to any member of the forum, all you need is your username and API key, which can be found here: viewforum.php?f=226

#Filip and I will be moderating it. Have fun cooll;

http://filip-mestric.iz.hr/projects/cnschat/index.php

Image

Extra features
User tagging (using @username). Users are shown the messages they were tagged in when they log in.

Automatic URL parsing

BBCode integration

Bold, italic and underline (same as forum BBcodes)
[color=#color][/color]
[font="font"][/font]
[img][img]
[email][/email]

Re: CNS Chatroom

Posted: Sat Apr 19, 2014 11:19 pm
by smashapps
This is great well done #Filip and #comathi

I logged on but there were some problems, I couldn't send any messages and there are a lot of PHP errors

Image

Re: CNS Chatroom

Posted: Sat Apr 19, 2014 11:54 pm
by comathi
Thanks!

The error should be fixed now... Filip did a bit of digging in the logs and it looks like there was a bad registration or something :)

Re: CNS Chatroom

Posted: Sun Apr 20, 2014 1:57 am
by CodenStuff
Looks really good guys cooll;

What's the resource usage and server requirements for this?

Sorry haven't tried it yet, internet's acting up and won't load the page.

Re: CNS Chatroom

Posted: Sun Apr 20, 2014 2:35 am
by Shim
doesn't load the page

CNS Chatroom

Posted: Sun Apr 20, 2014 6:33 am
by jordy03
looks good but when i write my username and API it says wrong password or somethin ..

Re: CNS Chatroom

Posted: Sun Apr 20, 2014 7:18 am
by Dummy1912
can't login :( seems the page don't change
still be on the index page.

Re: CNS Chatroom

Posted: Sun Apr 20, 2014 8:13 am
by AnoPem
I get, this site has an loop in redirecting when i login, when im logged in it goes for chat.php and then again index.php

Re: CNS Chatroom

Posted: Sun Apr 20, 2014 8:24 am
by Filip
Hello everyone,

there seems to be a bug with initial login, the problem was with userids and session keys.. It is fixed now.

All your records were stored in our database, you should just try to relogin..

We're sorry for inconvenience!

Thanks
-Filip

Re: CNS Chatroom not working :/

Posted: Sun Apr 20, 2014 9:04 am
by jordy03
I still get Invalid credentials! when I login :/ hope u get to fix this