| friend_count | |
| Author | Jaybill McCarthy |
| License | http://communit.as/docs/license |
| Functions | |
| smarty_function_new_messages | Returns the number of messages of a given type for a given username |
Returns the number of messages of a given type for a given username
| $params | An array of variables. |
| &$smarty | TBD |
| username (string) | Username to get friend counts for |
| type (optional string) | requests|total|pending - defaults to total |
The number of messages
<!-- as used in a Smarty view template -->
{if $module_friends}
{friend_count type="total" username="jaybill"}
{/if}