Support

  1. tchaya
  2. Features Request
  3. Monday, May 29 2017, 09:29 PM
Now that you have a Membership Pro (OS Membership) plugin, is it possible to create custom fields in Easy Profile that are linked to Membership Pro fields (such as subscription type)?

I prefer the Easy Profile Member List module, so I'd like to use it to display Membership Pro subscriptions for specific plans.
admin Accepted Answer
Admin
Hi,
sorry but we does not provide this kind of integration, but this seems something that already do Membership Pro. try to see at http://membershipprodoc.joomservices.com/synchronize-profile-data
  1. more than a month ago
  2. Features Request
  3. # 1
tchaya Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry but Easy Profile never expose usergroup informations (security purpose).

Anyway you can create a override and add a code to show usergroups, follow these steps:
1) Override Easy Profile Layout (to not loss changes when you update our component)
- copy /components/com_jsn/views/profile/tmpl/default.php into /templates/your-template-folder/html/com_jsn/profile/default.php

2) Add following code between line 101 and 102:

<?php
// Access Levels of current logged in User
$acl=JFactory::getUser()->getAuthorisedViewLevels();
// Only admins can see usergroups, In default Joomla installations 3 is the a Special acl, you can check this ID from Administration->Users->Access Levels
if(in_array(3,$acl)) {
// var $this->data->groups contains ID of usergroups of displayed user, so we need to get titles of usergroups from DB
$db=JFactory::getDbo();
$query=$db->getQuery(true);
$query->select('title')->from('#__usergroups')->where('id in ('.implode(',',$this->data->groups).')');
$db->setQuery($query);
$usergroups=$db->loadColumn();
// Show usergroups
echo implode(',',$usergroups);
}
?>


NOTE: this code is not tested and not supported, this is only for example purpose
  1. more than a month ago
  2. Features Request
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.