PHP Webchat

Published  May 30, 2010
Updated  Jun 22, 2010


Just a Webchat, with the abilities for Users to Register/Login and stuff...

For Users information, i will be upgrading the registration so they have to do a captcha and the e-mail address must be real, and they'll have to confirm their account via email. But for now its just able to register.

Dream list (To add):




22.6 KB
Jun 22, 2010
132.22 KB
Jun 06, 2010
8.83 KB
May 30, 2010


Sign in to comment.
Greedi   -  May 22, 2012

i hope you make an update to this :) goood work

Hawkee   -  May 09, 2012

@sean Yes, I really need to start producing some node.js code myself.

sean   -  May 09, 2012

@FURBY* @Hawkee Preferably, node.js :)

Hawkee   -  May 09, 2012

@FURBY* Maybe even try to do it with something like Python and HTML5. That would make for a nice challenge. Or even node.js.

F*U*R*B*Y*   -  May 09, 2012

i haven't been, i had lost interest with PHP but i may acutally start recodeing this. I feel like a challenge

Xavia   -  Mar 23, 2012

Are you still coding on this?

Burrito   -  Sep 05, 2010

Awesome! Just fix up a cool design now :)

F*U*R*B*Y*   -  Sep 04, 2010

I have the +Like button on it, working on using Facebook nickname also :P

RichG   -  Jun 22, 2010

Add a facebook connect to login and this will be epic sauce.

Hawkee   -  Jun 22, 2010

Furb, I added a Communication category to the Scripts section so you can move this if you'd like.

F*U*R*B*Y*   -  Jun 22, 2010

Version 3 has been added, but its not the best, everyone was annoying me by sending me messages via hawkee/facebook...... so its uploaded, but nothing on admin panel works, nor does the user section (change password/avatar) all that...... all thats different is registration has a captcha code, user controls, Admin room is admin's only.....

think thats it, still working on it XD

F*U*R*B*Y*   -  Jun 14, 2010

thanks Jonesy, Idea added :)

Henco   -  Jun 13, 2010

Ok, I fixed the SQL DB by doing it manually, but now I see..

Error Line 6: Unknown column 'channel' in 'where clause'

In many a place.

Henco   -  Jun 13, 2010

phpmyadmin no likey....

MySQL said:

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS user (

id int(11) NOT NULL auto_increment,
' at line 4

Jonesy44   -  Jun 12, 2010

To integrate with your BBCode panel. Array the items.

$arr = array("B","I","U","S","Center","Scroll","URL");
foreach ($arr as $tx) {
  echo "<input type=button value=".$tx." onClick=javascript:addBB('".strtolower($tx)."');>";

then here's the function for the chat.js

function addBB(code) {
  var el = document.getElementById("getText");
  if (el.value.substring(el.selectionStart,el.selectionEnd)) {
    //Selection found, add tags around it
    el.value = el.value.substring(0,el.selectionStart) + "[" + code + "]" + el.value.substring(el.selectionStart,el.selectionEnd) + "[/" + code + "]" + el.value.substring(el.selectionEnd);
  else {
    //No selection, insert at cursor point
    el.value = el.value.substring(0,el.selectionStart) + "[" + code + "][/" + code + "]" + el.value.substring(el.selectionStart);
F*U*R*B*Y*   -  Jun 11, 2010

Create a New Channel feature added :)

Auto Scroll works

working on the admin panel XD

Jonesy44   -  Jun 11, 2010

I think the idea is for an alternative to IRC :p

xplo   -  Jun 11, 2010

It would be neat to have it join an irc server. and not an internal webchat.

F*U*R*B*Y*   -  Jun 10, 2010


Check the website, see a User Panel.

Show/Hide old messages work.
Coloured Admin Nicknames Work.
Time Stamps work.

Currently working on the Swear Filter.

New Update:
Turning Swear Filter now works.

New Screenshot with a shot of User Controls.

Now to do the last one XD

Jonesy44   -  Jun 08, 2010

Remove the swear filter, add Jonesy44 as an admin :p

F*U*R*B*Y*   -  Jun 08, 2010

ok, so now I've got Admin's, adding to what they can do and such :)

got a swear word filter, what else do i have to add? :)

also an Admin only room :)

F*U*R*B*Y*   -  Jun 08, 2010

ok nvm dude XD

Jonesy44   -  Jun 08, 2010

I use a freeb so i can't edit htaccess files i don't think, sorry :/

F*U*R*B*Y*   -  Jun 08, 2010

Channel List now works better :) (Multiple Channels)

no longer leave page to join new channel :)

It does how ever remove you from the NickList if you check out another channel.

:) However its working :)

F*U*R*B*Y*   -  Jun 07, 2010

thats what im working on :P well not that design, but yeah :)

just working out kinks and binks atm ;)

Jonesy44   -  Jun 06, 2010
Jonesy44   -  Jun 06, 2010

Nice one buddy, keep it up :)

F*U*R*B*Y*   -  Jun 06, 2010

And now The Registration Box, Nick List works....

Next Step, Multiple Channels :)

Version 2 for download....



F*U*R*B*Y*   -  Jun 05, 2010

If you visit the site, you can log in as

Username: test
Password: abcde

F*U*R*B*Y*   -  Jun 04, 2010

Just rewrote my BBCode Parser, so now unclosed BBCodes aren't parsed :)

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.