Support

  1. alfred100
  2. General
  3. Sunday, September 20 2015, 08:34 AM
as i asked before to show avatar and username with custom module you told me use content plugin with short codes but although i installed content plugin and use your short codes but i cant show avatar or others and just the short code is appear in module position
Attachments (2)
admin Accepted Answer
Admin
Hi,
solved, on first line you have:
$acl = JFactory::getUser()->getAuthorisedViewLevels

instead
$acl = JFactory::getUser( )->getAuthorisedViewLevels( ) ;


Unfortunately, this forum has removed the parenthesis (emoticons purpose)
  1. more than a month ago
  2. General
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry but we offer support for Basic/Pro version only to paid members, Free members should not have this plugin. With this account you have never purchased a subscription. Please use a valid account.
  1. more than a month ago
  2. General
  3. # 2
alfred100 Accepted Answer
i just want to try this . but now i bought it. you can see in my panel.if possible please help me solve this problem
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Joomla HTML custom module (or Custom HTML Advanced module) do not trigger by default Joomla content plugins, you need to check if is enabled "Prepare Content" option in module parameter.

Also, you need to use alias of field so "Avatar" become "avatar".
  1. more than a month ago
  2. General
  3. # 4
alfred100 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
Hi,
in our site we use content plugin provided from Payplan (subscription component) to see Subscription level (not ACL).

Anyway, you will find a solution in this topic: https://www.easy-profile.com/support/is-it-possible-to-show-viewing-access-level-as-a-profile.html#reply-8348

To use in a module fo current user you can replace this:
JFactory::getUser($this->data->id)->getAuthorisedViewLevels();

with this:
JFactory::getUser()->getAuthorisedViewLevels();


without "$this->data->id" you will have a current user object.
  1. more than a month ago
  2. General
  3. # 6
alfred100 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
hi,
you have replaced all line instead only a function.

correct first line is
$acl = JFactory::getUser()->getAuthorisedViewLevels();
  1. more than a month ago
  2. General
  3. # 8
alfred100 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
hi, yes but we will check this tomorrow, now it's late for us and our offices are closed:(

please leave your site details, you can fill the form below the reply in "site details" tab
  1. more than a month ago
  2. General
  3. # 10
alfred100 Accepted Answer
yes it is solved. thanks a lot for your attention
  1. more than a month ago
  2. General
  3. # 11
alfred100 Accepted Answer
the code u gave me everything works well. but i want to ask if it is possible to omit one acl level? for example i have public-registered and pro acl. when a user is pro then he will have all 3 acl. but i want just show pro acl in his profile and not show public and registered
  1. more than a month ago
  2. General
  3. # 12
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

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.