Configuring multiple profiles in Sociable

From CjWiki
Jump to navigation Jump to search

Sociable allows you to set up different profiles for a different set of users. For example, if you have Teachers as one group and Students as another. Then you would like to have different content for these two groups, you can set up profiles for the same. So let's get started.

Plan

Step 1. First plan for what are the different set of users on your site and what type of content you would like to capture from your users.

Set up field groups

Field groups are the glue between your content shown on the profile dashboard and the profile.
Step 2: Login to your site and go to Components -> Sociable -> Field Groups
Step 3: Add few field groups. For example, teachers may have bio, experience, qualifications etc. Students may have education details, interests and hobbies etc. The field group titles will be shown on frontend as headers.

Set up fields

Fields are the building blocks of the profile. This feature makes use of Joomla! custom fields. There are several types of default fields are available such as textboxes, radios, checkboxes, list boxes, combo boxes, calendar, image and so on. You can install third-party fields available on Joomla Extension Directory.
Step 4: Go to Components -> Sociable -> Fields and add your fields for each field group. You can add several fields in each field group depending on your requirement.

Create Profiles

Now we have fields and field groups. We need to glue them to the profile.
Step 5: Go to Components -> Sociable -> Profiles and click on New button
Step 6: In the profile creation page, make sure to add at least one of the field group that you have created in earlier steps.
Step 7: Select the Featured option for the profile which will be added to the user by default when the user registered on your site.