1. peacetree
  2. General
  3. Wednesday, May 21 2014, 12:52 PM
- possibilities for admins to edit user profiles from front end.
- required fields are not required for admins when they edit profile (FE and BE).
Accepted Answer
admin Accepted Answer
Admin
I think is better this:
In backend area the fields are not required. What do you think?

I think this is more useful, because now when admins add user from backend must fill all required fields (boring). instead could only fill the base fields and set on Easy Profile Option to force user to fill all required fields.
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
possibilities for admins to edit user profiles from front end.

This is too complex, the Register/edit profile is managed by com_users of Joomla.

required fields are not required for admins when they edit profile (FE and BE).

Good thing
  1. more than a month ago
  2. General
  3. # 1
peacetree Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Released, here changelog: https://www.easy-profile.com/docs/16-changelog.html
for Hannes: we have solved the problem to this post: https://www.easy-profile.com/support/ep-tries-to-load-field-regardless-of-it-being-loaded-or-present-or-not.html, simply check if file exists.;)
  1. more than a month ago
  2. General
  3. # 3
peacetree Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
sorry for late reply for we it's weekend.
we had already thought of this, unfortunately, Joomla does not allow the direct link for user backend screen.

if you go on profile with direct link (example: http://your_domain/administrator/index.php?option=com_users&;view=user&layout=edit&id=554) you get a error and redirect on backend users list. Probably some accesstoken control.
  1. more than a month ago
  2. General
  3. # 5
peacetree Accepted Answer
That sucks,

so we actually have to hack the joomla files in order to have front end editing OR direct linking to editing mode.

What do you recommend?
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
You can do this:

Add link to backend:
- create a delimeter field with this HTML(in description), with access level for view only for admins**
<p><a href="/administrator/index.php?option=com_users&view=user&layout=edit&id={user id displayed raw}">Edit Profile</a></p>

- Show this field in list

Edit core files****
- in file /administrator/components/com_users/controller.php comment from line 72 to line 80
- at line 81 replace "elseif" with "if"

** we use your content plugin to generate the id in this link, docs at: https://www.easy-profile.com/docs/26-plugin-content.html
**** You must be edit again once you update Joomla
  1. more than a month ago
  2. General
  3. # 7
peacetree Accepted Answer
you should provide a "donate button" for your superior support!
  1. more than a month ago
  2. General
  3. # 8
peacetree Accepted Answer
- Show this field in list


What do you mean by this?

I published the field on the profile. However in many cases the direct link doesnt work.
I get redirected to the userlist instead.
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
What do you mean by this?

In parameter of user list menu item you can choose the fields to display.


I published the field on the profile. However in many cases the direct link doesnt work.

This happen when you go to profile page from Backend link (that I sent you some day ago) or always?
  1. more than a month ago
  2. General
  3. # 10
peacetree Accepted Answer
Sorry, this seems to work. I needed to clear cach and so on.
BTW: great improvents in the short time I am following EP its realy great to see how your project is progressing.

not enough stars in the JED to rate.
  1. more than a month ago
  2. General
  3. # 11
admin Accepted Answer
Admin
I found the issue in edit.php that I sent you last day.

replace with the attached file.

Before the link from BE to FE was index.php?option=com_jsn&id=XXX
Now index.php?option=com_jsn&view=profile&id=XXX

I add view=profile because when not is selected a Itemid the plugin content does not understand that is the profile page and not substitute the id (for link in FE to BE).
Attachments (1)
  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.