Show DevBest Live Chat

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
Looks promising and looks nice. Some styling could be done to the front-end but that's needed yet. Keep it up, nice work :)
 

Leader

github.com/habbo-hotel
Aug 24, 2012
1,007
267
I love this already when its finish I may somehow integrate with Revcms so my FalloutRP can have some chat
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
-- UPDATES --

Added new download link to original post.

  • Added auto URL's ( RL changes to a href="URL">URL</a>)
  • Added an option to register to reserve your username or sign in as a guest
  • Added chat box commands (\ban and \unban so far)
Next to come:
  • Admin sticky note
  • Ability to mute users
Any more ideas?
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
--UPDATES--

Added \clean, \me and \sticky
Added emoticons

still need to complete \me

\clean empties the chat box
\sticky [text] updates the sticky
 

BetaSparkUK

Steamworks & Greenlight Developer
Mar 25, 2013
195
238
I'd be happy to make a really basic program for this, also if you'd like me to upload a demo.
Just let me know, since I have one of the best hosts in the world with tons of space, unused.
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
Download link has been updated!
If you encounter any issues, post them here or message me.
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
Does it have the flooding check with it? I would like to mess around with it since you said it wasn't working as intended.

I took it out.

In the addChat() function, replace createChat() with checkTime() and put this above the addChat() function:

function checkTime(){
$livetime = date('H:i:s', time() - 5);
$name = $_SESSION['chat-username'];
$ip = $_SERVER['REMOTE_ADDR'];
$q = mysql_query("SELECT * FROM chat WHERE ip = '$ip' AND time >= '$livetime'");
$check = mysql_num_rows($q);
echo $check;
if($check >= 3){
echo "Woah! Slow down there...";
}else{
createChat();
}
}

which is found in insert_chat.php
 

Leader

github.com/habbo-hotel
Aug 24, 2012
1,007
267
2ONVZPV.png
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86

Try this.

Also, to fix the \ban [user] command in the chat box, run this code in SQL

ALTER TABLE `bans` ADD `name` VARCHAR(655) NOT NULL
 

Users who are viewing this thread

Top