Block that displays users uploads by category

What I am trying to do is create a block that will display what the user uploaded (as far as videos, sounds and blogs) filtered by category. This gives me a Resource id #167

 

This is what I wrote so far for the sounds part:

$iProId = $this->oProfileGen->_iProfileID;

$sCat = mysql_query("SELECT genres from Profiles WHERE ID = " . $iProId); 

$sMedia = BxDolService::call('sounds', 'get_files_in_cat', array($iProId, 'Hip Hop/Rap'), 'Search');

print_r($sCat);

Quote · 19 Jul 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.