Making A Chatbox & Echoing The Usernames

Fait

Seasoned Veteran
Joined
Oct 15, 2010
Messages
4,407
Reaction score
561
FP$
2,054
Now I have added A Login Register script at http://nintendoaddict.tk/dsirage/main.php Now How Do I Create A Chatbox (Formated for The Nintendo DSi) And Echo the username so loggedin users can have there registered username displayed & I Also need A Mod Cp IP Ban system & I can promote users to Mod Level
(My first Php & Sql Site Ive Attempted to make doing Ok So far)
Thanks
Spudster
 
The only thing that I can recommend is you use http://www.gamesurge.net/ and make an IRC channel.

If you need any help with that, send me a PM.

Other then that, you are going to need to code alot and it is going to have to deal with SQL mostly as you have to get the database to register where as the IRC will just run off of a server.
 
You don't really tell us what you want / what your question is? I doubt anyone here is going to code you the whole chatbox for free, but maybe.

How exactly do you log users in? Do you use sessions to store their username? If so, it would be a simple code such as:

Code:
$message = $_POST['message'];
echo $_SESSION['username'] . ": " . $message;

You would need to add security and such, but it would work. You would also need to use ajax to auto-load every __ seconds to see new messages. 🙂.
 
Thanks and where could I get a drcent login/Register Script?
 
Do you take FPs I only have A Mybb License Wish i did have a xenfero license i will in a few months 😀<br /><br />-- 02 Sep 2011, 10:42 --<br /><br />You have what im looking for to start a social network (to rival facebook)
I will think about it
 
Spudster said:
Do you take FPs I only have A Mybb License Wish i did have a xenfero license i will in a few months 😀

MyBB don't have a license like Xenforo. Its GPL and free.
 
Yeah thats what I ment and i think phpbb is the same (GPL)
 
Back
Top Bottom