Support

  1. kennethefford
  2. Support
  3. Friday, July 06 2018, 08:06 PM
  4.  Subscribe via email
Hi, I am a long time user and subscriber of Easy Profile. It has worked well for me. I have an update that I am implementing that requires I make additional changes using the JSNUser object. I reviewed your Developer page in your Documentation. All the references seem to refer to using JSNUser only for a specific user, the active logged in user. I need to find all users with a specific value set in a specific EasyProfile custom field. How is this done? It cannot be done by simply loading the current user.

Let me explain the change being made. I am adding a new admin feature through the front end that allows an admin user to change his organizations name throughout the site, for all his organizations users. For example, as an admin user for say the "Disney Land" organization, I may wish to change my organization to "Disney World". The organization is stored in an EasyProfile custom field. The change needs to be made for all users with that field value of "Disney Land".

Any suggestions and links are welcome. Thanks in advance.

Ken
admin Accepted Answer
Admin
Hi Ken,
and thanks for contacting us.

I know you are a loyalty customer, so allow me to give you a small gift, you can find attached to this reply a plugin, please follow these steps:
- Download and install it
- Go to Administration->Extensions->Plugins and search for "Easy Profile - Change Field"
- Enable this plugin
- Go into this plugin and set:
1) the field that you need to change (in your case organization field)
2) set the access to allow only to your admins to have available this plugin (see screenshot)
- Now on frontend you can access to this plugin from a link like http://your-site.com//index.php?option=com_jsn&view=changefield

if you need some adjustment then you can edit PHP file at /plugins/jsn/changefield/changefield.php

I hope this tiny plugin will meet your needs :D
Attachments (2)
  1. one week ago
  2. Support
  3. # 1
  • 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

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.