Status & Mood.
PHP-Fusion: v6.2xx
Author(s): Domi & fetloser
Web: http://www.phpfusion.se

/*-------------------------------------------
Released under the terms and conditions of
the GNU General Public License (Version 2)
-------------------------------------------*/

-=[INSTALLATION]=-

1. Extract all files, upload the conternt of Infusions to your infusion directory, upload the mood images to your images directory.
2. Go to Administration & click infusions, chose infuse on user_status.
3. replace profile.php or make a manual installation as decribed below.
4. Go to administration > system admin > paneladmin > chose add new panel, 
   write Status & mood as name , use dropplist and chose user_status_panel, Save! , Dont forget to active the panel.

-=[NOTES]=-

* Allow users to set mood and status on them selfs wich will be displayed in profile.


-=[VERSION]=-
v1.00

-=[CHANGELOG]=-
* First release.


Manual installation
Edit : profile.php

Paste the code between the lines // Status lang start & // Status lang end

After this code :

include LOCALE.LOCALESET."members-profile.php";
include LOCALE.LOCALESET."user_fields.php";

// Status lang start
if (file_exists(INFUSIONS."user_status/locale/".$settings['locale'].".php")) {
	include INFUSIONS."user_status/locale/".$settings['locale'].".php";
} else {
	include INFUSIONS."user_status/locale/English.php";
}
// Status lang end


Then insert this code between the lines //Status & mood start & //Status & mood end
About line 154 depending on fileversion, 
it should be after :

//refer Code
echo "</table>\n";

	} else {
		fallback(BASEDIR."index.php");
	}
}
//refer Code ^

//Status & mood start

tablebreak();
echo "<table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'>";
echo "<tr>\n<td class='tbl2'><b>".$locale['usi121']."</b></td>\n<td class='tbl2' colspan='2'>\n";
$statdata = dbarray(dbquery("SELECT stats FROM ".$db_prefix."user_status WHERE user_id='$lookup'"));

echo ($statdata['stats'] ? $statdata['stats'] : $locale['usi122'])."</td>\n</tr>\n";
$mooddata = dbarray(dbquery("SELECT mood FROM ".$db_prefix."user_status WHERE user_id='$lookup'"));
if ($mooddata[mood] != "") {
echo "<tr>\n<td class='tbl1'> <b>".$locale['usi123']."</b></td>\n<td class='tbl1' colspan='2'>\n";
echo "<img align='center' src='".IMAGES."mood/".$mooddata['mood'].".gif'></td>\n</tr>\n";
} else {
echo "<tr>\n<td class='tbl1'>".$locale['usi123']."</td>\n<td class='tbl1' colspan='2'>\n";
echo "".$locale['usi124']."</td>\n</tr>\n";
}
echo "</table>\n";


//Status & mood end

Save your file

Grats, you can now use status & mood system. 
Njoy!
