Welcome to Makestation! We are a creative arts/indie discussion community — Your center for creative arts discussion, unleashed!
Please note that you must log in to participate in discussions on the forum. If you do not have an account, you can create one here. We hope you enjoy the forum!
Ajax chat is a very popular ajax chat client and is used by many websites to offer a simple, fully-featured chat room. It is able to be integrated with most popular forum software options, but the standalone version has the disadvantage of not having a registration system. I found a version today that included it by default, and it looks quite nice.
Obviously, there has been a lot of news going around lately about the bombing related to Syria, and it has been a very tense issue of debate as to how the US and many European nations will respond to the issue. What is your opinion on the matter?
Posted by: Darth-Apple - August 30th, 2013 at 2:18 AM - Forum: Software
- No Replies
This is a very simple script that generates a list of users online in Ajax Chat, and it can be integrated with your website easily using an iframe. You can use notepad++ to paste this into a file named online.php, or you can alternatively download the attached file. You will need to manually configure the database connection settings (on line 2 of the script) but other than that it should work without any need for changes. It also puts the user's username in italics if [Away] is found in the username, which is designed to make it compatible with "AFK" command modifications. You can modify this as needed.
$sql = 'SELECT
userID,
userName
FROM
`ajax_chat_online`;';
$result = mysqli_query($con, $sql);
echo "Users Online: ";
$i=0;
while($row = mysqli_fetch_array($result))
{
$away_text = "[Away]"; // This will italicized usernames that have [Away] anywhere in the username. This can be modified as needed.
if (strrpos ($row['userName'], $away_text, -1)){
$string = str_replace("[Away]", "", $row['userName']);
echo "<i>".$string. "</i>";
}
else {
echo $row['userName'];
}
echo ", ";
$i++;
}
if ($i != 1) {
echo " <b>".$i." members online</b>";
}
else {
echo " <b>".$i." member online</b>";
}
mysqli_close($con);
?>
Important: : Make sure to use a program such as notepad++ to paste the contents of this file. Otherwise, extra space will be put at the beginning of the file that will make it unexecutable. You may also download the attached file.
I have set this up to be integrated on the index using an iframe at several websites. You can use something like this to integrate this script into any place on your forum or website. Modify this as needed.
Code:
<iframe style="display:inline;" src="http://example.com/chat/online.php" height="44px" marginheight="1px" frameborder="0" width="550px" scrolling="auto" seamless>Live Chat <a href="http://example.com/online.php">click here to see who is online. </a></iframe>
Does anyone here play The Elder Scrolls: Skyrim? I purchased this game for PC a couple of months ago, and I must say, it's an excellent game. The world is huge and there are a lot of quests to tackle. I love the battle system, however, I heard a couple of people giving negative feedback about it. Still, the battle system is okay for me. It's like you're fighting the enemy in real life.
PC gamers can download mods from the Steam Workshop or Skyrim Nexus (I think that's the name of the website where Skyrim moders go). Mods never worked on my PC. Every time I tried to install one, the game crashed or there was some error message. Maybe it's because I purchased a Russian Steam key for a really low price. Who knows... Everyone else I know says that mods work fine for 'em.
The gameplay is fun but there are times you will get stuck in the game. The last time I got stuck, I left the game to collect dust on my PC for several weeks, lol. Still, there should be a lot of tutorials for the game on the Internet since the game isn't exactly "new",
If you write some photoshop tutorials or you know some good photoshop tutorial articles, please post them here? I am currently learning graphic design, and would like to read all kinds of tutorials, and I just hope it's comprehensive and easy to understand, so that I could carry on step by step and get the expected result. Thanks!
Makestation has now reached the three month mark, and has grown nicely. After soon feedback from administrators outside of the Makestation community, we've decided we're going to push a few new exciting changes for September.
1) Most Epic Contributor Competitions will be launching full swing this time, and we'll be doing round 1 as a graphics design competition. More info will be announced in a few days, but we think it will be pretty exciting.
2) We'll be doing theme update #2 in the next few days. The theme update will significantly improve our design and hopefully clean some things up. We're hoping to bring a more compelling and "creative" feel to Makestation.
3) The blog will be expanded to showcase popular content here at Makestation. Winners of the Most Epic Contributor competitions will also get their content featured. We've also redesigned the blog, and exciting things will be happening soon over there.
It's my blog where I write about Asian movie and TVs, and some are with the videos embedded in the article itself so that you could watch it right away. Good day and happy reading!