Friends number in profile stats
I think the number of your friends should be added to your Profile Stats block. It just makes sense to be able to see how many friends you have if Followers and Following is also there
-
-
·
LeonidS
- ·
Hello Will Roberts !
This info is already placed in the Profile Info block. Please specify why it isn't good for you?
-
·
LeonidS
-
I don't see it anywhere. I had tried to create a Friends Number stat but couldn't awhile ago.
-
-
·
LeonidS
- ·
You may do it by yourself. In the Studio->Developer->Navigation area. Just create the profile stat item's the copy of the "Friends requests" link, but in the "Addon" field put the following code:
array (
'module' => 'system',
'method' => 'get_connected_content_num',
'params' =>
array (
0 => 'sys_profiles_friends',
),
'class' => 'TemplServiceConnections',
-
·
LeonidS