UPDATE: Scroll down. A hack has been documented to make this work.
I use JAwards, which allows us to issue awards to community builder members, and which displays two random awards under the profile image in each person's post. Below is the code in Joomlaboard's view.php which displays these awards:
| Code: |
$query = "SELECT b.image, b.name"
. "\n FROM #__jawards_awards AS a"
. "\n LEFT JOIN #__jawards_medals AS b ON b.id = a.award"
. "\n WHERE a.userid=". $fmessage->userid
. "\n ORDER BY RAND() LIMIT 2";
$database->setQuery( $query );
$medals = $database->loadObjectList();
$msg_userrankimg.="";
foreach ($medals as $medal){
$msg_userrankimg.= ""
. "image ."\" alt=\"".$medal->name."\" />"
. "";
}
$msg_userrankimg.="";
unset($medals);
|
Here is a link to the jawards project, which was just upgraded to version 0.7 this week:
joomlacode.org/gf/project/jawards/
To implement this in fireboard, we would need to be able to turn ON an integration variable in the configuration, and then put the code above in the routine which displays posts if that variable is set.
I was always hoping that this integration would have been done in Joomlaboard, but it never was. Please tell me that you will do this, so that I can stop being forced to hack the code every time you come out with a new release.
This project has more than 2000 downloads, and I would guess that it would be much higher if integration didn't require a code hack.