Side Chat

Post all your tuts or request for tuts here.
User avatar
august
Posts: 21
Joined: Mon Apr 05, 2010 9:27 am

Re: Side Chat

Post by august »

A good chat that I've just implemented as a side bar is phpfreechat, allows you to really mess with the code, and if you don't mine lots of files, you could just create a separate instance of each chat for different alliances, locations, worlds, etc etc, so not all the users are on one chat, using div tags, and and iframe (to capture my chat page) I managed to get a simple but effective side bar chat that allows me to get the nickname from the sessions so players can only send as their username etc etc, lots of easy to understand features, example is below:

Code: Select all

<?php

echo "PHP kicks your ASP";

?>
User avatar
Torniquet
Posts: 869
Joined: Sun Aug 02, 2009 6:18 am

Re: Side Chat

Post by Torniquet »

iframes are pants tbh.

and its not hard to implament location, alliance/guild and group chat into an ajax chat box if you know where to look. and without adding a ton of files.
New Site Coming Soon! Stay tuned :D
User avatar
august
Posts: 21
Joined: Mon Apr 05, 2010 9:27 am

Re: Side Chat

Post by august »

ahh well, heres me a week and a bit into learning PHP coding! AJAX i've seen about, still tbh have no idea what it means, does etc!

and iframes probs are pants, hopefully I'll slowly learn better ways to do it, but with my current skill set this was the best I could do :(

Code: Select all

<?php

echo "PHP kicks your ASP";

?>
Post Reply

Return to “Tutorials”