Skip to main content

Membership

Creating a new Group for Membership Plans

In order to add users to groups for membership plans, you must create a super group named JomDirectory. Then, under it you must create groups for each of your membership plan. These groups are used to provide Group ID when creating a membership plan. Users created using User Manager can be linked to each of these membership plan groups.

To create the JomDirectory group and other groups, do the following:

  1. Click Users > Groups > Add New Group.
  2. Provide a name for the group. We need to create JomDirectory group before creating other groups. So, provide the name as JomDirectory.
  3. Repeat steps 1 and 2, but select the parent as JomDirectory.
  4. Click Save.

Name JomDirectory for the main group is mandatory, however groups for membership under that group can have any names e.g. Lite, Pro or Free, Basic etc...

User Permissions based on groups

For the users to access Front Admin certain user permissions need to be granted. These settings need to be done in the JomDirectory and Comdev Options.

To provide user permissions for JomDirectory, do the following:

  1. Click Components > Directory
  2. Click Options from the right-hand side of the screen.
  3. Click Permissions.
  4. Provide the permissions as shown in the following image.

  5. Click Save.

User permissions also need to be set for Comdev extension as explained here.

  1. Click Components > Comdev.
  2. Click Options from the right-hand side of the screen.
  3. Click Comdev.
  4. Provide the permissions as shown in the following image.
  5. Click Save.

Users, which belongs to Joomla group JomDirectory, will now have access to Front Admin.

If Permissions for the Comdev component are not set, users would not be able to upload images. A 500 error would show that permissions are denied. 

Membership expiry email configurations

Before the membership expires, an email can be sent to a user that informs them about his membership nearing expiration. The setting can be seen in the following image:

Screen 3: Configure expiry email field

Cron Setting for Membership expiry check

Under your hosting panel a link needs to be added that launches a script. This script checks all users’ membership and sends an email if membership is about to expire:

curl -sS 'http://yourdomain.com?option=com_jomdirectory&task=expiry.send'

or

wget -q -O /dev/null 'http://yourdomain.com?option=com_jomdirectory&task=expiry.send'

If you are unaware about where the cron setting needs to configured in the hosting panel, contact your hosting support center.

Ensure that the script is launched every day at a particular time consistently.

Set Single User expiry date and group

To set plan expiry and attach a group for each user, do the following:

  1. Click Users > User Manager.
  2. Click the user for whom you want to set the membership expiry.
  3. Click the Additional Options tab.
  4. Provide the expiration date in the Plan expiry field.
  5. Click the Assigned User Groups tab.
  6. Select the check box next to the group you want to attach the user to for a particular membership plan as shown in the following image.
  7. Click Save.

For more information about membership expiration setting, see Configuration documentation.

Adding paid custom fields to the Membership plans

For adding a custom field to the membership plan, the field group needs to be set to Paid item. Click Directory > Custom Fields. Click the field you want to add to the membership plan as a paid item. Change the Field Group to Paid item for the Item view and Paid items for the Items view as shown in the following image:

Screen 4: Adding a paid custom field

This field needs to be enabled in the membership plan as shown in the following image.

Screen 5: Enabling the paid custom field

This field can be seen in the front admin under the membership plan as follows:

Screen 6: Viewing the paid custom field