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.
http://www.xstaticcodes.com/webchat/#
I have the +Like button on it, working on using Facebook nickname also :P
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
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);
}
}