Support

  1. Burnardo
  2. Bug Report
  3. Thursday, November 07 2019, 11:03 AM
Hi,

The registered members of the website (apenheulvw.nl) are able to see a list of all registered members, once they are logged in.

I am using "easy profile" as an extension to further enable correct registration of members on this website.

Now on the data-page for each registered member a 'tab' has appeared: "DPCalendar", showing the possible display of a 'personal key'.
However I do not wish to enable this option nor do I want to show this to any members.

But at this moment I am not able to find a way to de-select the use of this 'user-data-item' or even configure it for showing only to certain privileged member groups.


Kindly assist me in finding a way to disable this display on frontside.
Regards,
Ben van Wetten
References
  1. https://apenheulvw.nl
Burnardo Accepted Answer
No none at alll......

(sorry to say)
  1. more than a month ago
  2. Bug Report
  3. # 1
downstairs-foto Accepted Answer
Pro
@Burnardo
Did you get any solution from the developer of DPCalendar?
  1. more than a month ago
  2. Bug Report
  3. # 2
Burnardo Accepted Answer
Thanks for your answer.

At this moment I am consulting with the creator of DPCalendar in order to get the same result as you decsribe, but then within the confinements of the plugin.

Thanks for your help, your contribution worked...
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Hi,
sorry for late reply, unfortunately this is something regards dpcalendar, the edit profile page is the same of Joomla (with Easy Profile improvements), so you need to edit a dpcalendar core file:
- Open file /plugins/system/dpcalendar/dpcalendar.php
- Comment (or delete) function "onContentPrepareForm" (from line 200 to line 211)

NOTES
1) You need to add this modification when you upgrade or reinstall dpcalendar because plugins are not overridable like output files
2) With this modification you does not need anymore the previous override, the tab will be automatically removed also in profile page
3) the lines number are from the free version of dpcalendar, probably are the same also in paid version but unfortunately I don't know
4) I don't know if this modification create some expected behavior, I think not but is a better way to contact dpcalendar support
  1. more than a month ago
  2. Bug Report
  3. # 4
Burnardo Accepted Answer
Thanks very much,
This suggestion works perfect.

Now I want to try and also 'hide' the 'dpcalendar' item for each users 'edit profile'-page.

Which file do I then need to adjust in a comparable manner?
  1. more than a month ago
  2. Bug Report
  3. # 5
admin Accepted Answer
Admin
Hi,
Easy Profile extends Joomla user management (not replace), so all plugins that works in Joomla user profile page will works also for Easy Profile, unfortunately these plugins (like DPcalendar extra data) are not manageable with Easy Profile.

Anyway with a simple template you can solve it, please try to follow these steps:
- copy file from /components/com_jsn/views/profile/tmpl/default_fields.php to /templates/your-theme-folder/html/com_jsn/profile/default_fields.php
- open new file and add at line 24 this code:
if (JFactory::getUser()->id != $this->data->id && isset($fieldsets['dpcalendar'])) unset($fieldsets['dpcalendar']);


With this you can see dpcalendar fields only if the user see own profile page.
  1. more than a month ago
  2. Bug Report
  3. # 6
  • 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.