Sorry doing so many things think i lost myself, i'll try to explain what i want to do!
Like how we used code below:
<?php
require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );
// Get the current logged in user
$my = Foundry::user();
?>
<img src="/$my->getAvatar();" />
To Call Avatar
If i click on the forum link i.e Easy social, on the filter bar Unanswered posts has a notifications of how many post are unanswered.
How would i call this notification