Group Profile

Overview

The GROUP_PROFILE object is accessible from within Smarty templates and represents the Group object of the currently accessed group.

Example Uses

Variable Description
{$GROUP_PROFILE->group_name} The display name of the group
{$GROUP_PROFILE->avatar()} URL of the group’s 40×40 avatar image URL
{$GROUP_PROFILE->avatar(60)} URL of an alternate size of the group avatar. Network options must be set to tell the network to save copies of the group’s avatar in alternate sizes.
{$GROUP_PROFILE->photo()} URL of the group’s large profile photo
{$GROUP_PROFILE->photo(120)} URL of an alternate size of the profile photo. Network options must be set to tell the network to save copies of the profile photo in alternate sizes.
{$GROUP_PROFILE->desc_full} Full description.
{$GROUP_PROFILE->desc_small} Short description.
{$GROUP_PROFILE->subdir} Subdir of the group.
{$GROUP_PROFILE->date_added} Date the group was created.
{$GROUP_PROFILE->category_name} Name of the category specified during group creation.
{$GROUP_PROFILE->get_field(‘PROFILE_FIELD’)} A field from the group’s extensible profile. substitute PROFILE_FIELD for the name of the profile field. i.e. FAVORITE_MOVIES
{$GROUP_PROFILE->home_url} URL for the group’s homepage.
{$GROUP_PROFILE->get_group_member_count()} The number of active members in the group
{$GROUP_PROFILE->owner_id} The numeric identifier for the group owner