PHP Webchat

Published  May 30, 2010
Updated  Jun 22, 2010

Description

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):

Smilies.

Screenshots

Download

Filename
Size
Date
Downloads
22.6 KB
Jun 22, 2010
48
132.22 KB
Jun 06, 2010
56
8.83 KB
May 30, 2010
56

Comments

Sign in to comment.
Greedi   -  May 22, 2012

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

 Respond  
Hawkee   -  May 09, 2012

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

 Respond  
sean   -  May 09, 2012

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

 Respond  
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.

 Respond  
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

 Respond  
Xavia   -  Mar 23, 2012

Are you still coding on this?

 Respond  
Burrito   -  Sep 05, 2010

Awesome! Just fix up a cool design now :)

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

http://www.xstaticcodes.com/webchat/#

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

 Respond  
RichG   -  Jun 22, 2010

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

 Respond  
Hawkee   -  Jun 22, 2010

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

 Respond  
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

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

thanks Jonesy, Idea added :)

 Respond  
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.

 Respond  
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

 Respond  
Jonesy44   -  Jun 12, 2010

To integrate with your BBCode panel. Array the items.

<?php
$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);
  }
}
 Respond  
F*U*R*B*Y*   -  Jun 11, 2010

Create a New Channel feature added :)

Update:
Auto Scroll works

working on the admin panel XD

 Respond  
Jonesy44   -  Jun 11, 2010

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

 Respond  
xplo   -  Jun 11, 2010

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

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

Update:

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

 Respond  
Jonesy44   -  Jun 08, 2010

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

 Respond  
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 :)

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

ok nvm dude XD

 Respond  
Jonesy44   -  Jun 08, 2010

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

 Respond  
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 :)

 Respond  
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 ;)

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

Nice one buddy, keep it up :)

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

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

Next Step, Multiple Channels :)

Version 2 for download....

NEW SCREENSHOTS :)

PLEASE READ THE NEW DESCRIPTION

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

If you visit the site, you can log in as

Username: test
Password: abcde

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

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

 Respond  
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.