Title: [Plugin: Gravity Forms Directory] User Edit Record Ongoing Issue
Last modified: August 20, 2016

---

# [Plugin: Gravity Forms Directory] User Edit Record Ongoing Issue

 *  Resolved [DJ Smith](https://wordpress.org/support/users/djinboise/)
 * (@djinboise)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/)
 * I’m still looking for clarity on getting the Directory Plugin to work for me.
   I need to give users the ability to edit there record. I added the Members plugin
   and created a role for the members. Are there specific capabilities I need to
   give them? Right now I only have “gravityforms_edit_forms” check and the “Edit
   Entry” link isn’t showing. If I check “gravityforms_directory” then I get the“
   Edit Entry” link but it shows on every record. Keep in mind I’m not logged in
   as the admin and logged in under another profile with the role of a member. I
   need to get this resolved to make the client happy. Can anyone clarify this?
 * Thanks!
    DJ
 * [http://wordpress.org/extend/plugins/gravity-forms-addons/](http://wordpress.org/extend/plugins/gravity-forms-addons/)

Viewing 15 replies - 16 through 30 (of 48 total)

[←](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/?output_format=md)
2 [3](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/3/?output_format=md)

 *  Thread Starter [DJ Smith](https://wordpress.org/support/users/djinboise/)
 * (@djinboise)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014831)
 * It’s still not working for me. Ugh. 🙁 I’ve done everything above, installed 
   the new plugin and changed the entry to match the user. I’m using the Members
   Plugin and have assigned a role for the members of the organization. What capabilities
   should they have assigned?
 * [http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin](http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin)
 *  Thread Starter [DJ Smith](https://wordpress.org/support/users/djinboise/)
 * (@djinboise)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014832)
 * The only time I can make edits is when I’m logged in as Admin. Even then I get
   an error when updating the entry.
 * There were errors with the edit you made.
    Password: This field is required.
 *  [Pamela Looper](https://wordpress.org/support/users/pamela-looper/)
 * (@pamela-looper)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014838)
 * Hi [@dj](https://wordpress.org/support/users/dj/) Smith
    I had the same problem,
   also use the Members Plugin and was only able to edit the entries when logged
   in as admin. But for me it is solved now, I added the capability gravityforms_directory
   to the role that required to edit the entries and voila! Hope it works for you
   too.
 *  Thread Starter [DJ Smith](https://wordpress.org/support/users/djinboise/)
 * (@djinboise)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014839)
 * That’s a security risk though. By doing that you give everyone who’s logged in
   permission to edit anyone’s record. I don’t want someone else going into another
   members record and making a change. That just opens a can of worms.
 * The way this plugin should work is only giving the person who created the record
   permission to edit their record, and only their record. I’m hoping that Zack 
   is either making needed changes, let me know if I’m doing something wrong or 
   another solutions. Thanks.
 *  [firstep3](https://wordpress.org/support/users/firstep3/)
 * (@firstep3)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014840)
 * I am having this problem as well. I originally set up my users as Authors, but
   I had a problem with them creating and publishing new content when all I wanted
   to allow them to do was edit their entries from the form. I changed their roles
   to Contributors, and now they no longer see the “Edit Entry” link. I then went
   and changed their roles back to Author, but the link is still not coming back
   up. Is there any way to allow them to edit their form entries using the Subscriber
   role? I really don’t want them to be able to do anything else on the site, but
   I’ll conced the Contributor role if I have to.
 *  [nancyeb01](https://wordpress.org/support/users/nancyeb01/)
 * (@nancyeb01)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014841)
 * [@firstep3](https://wordpress.org/support/users/firstep3/) While Zack is working
   on this issue, one thing you might do is restrict access to areas of the Dashboard
   and Configuration using plugins like Adminimize and Admin Editor Pro.
 *  [firstep3](https://wordpress.org/support/users/firstep3/)
 * (@firstep3)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014842)
 * [@nancyeb01](https://wordpress.org/support/users/nancyeb01/) – Thank you so much
   for your suggestion. I actually ended up going with Adminimize to restrict what
   the users can see in the admin area, but I still needed to give them a way to
   see and edit their own posts without seeing or editing other people’s posts. 
   I picked up two additional plugins that allowed me to accomplish everything I
   needed. One was called Manage Your Own Posts, which was not on the WordPress 
   site, and the other was User Role Editor, which allowed me to make sure that 
   my Authors could edit their changes but not publish them. This allows me to validate
   the content before it goes live.
 * I am still not seeing the “Edit Entry” link, and I was hoping to go live with
   my site this weekend. If it has to wait it can. One major favor I would like 
   to ask is to have the “Edit Entry” link moved to the top of the page, rather 
   than the very bottom. Some of our entries are VERY long, and ALL of the users
   who did the early testing (when my links were working) complained about how difficult
   it was to locate the link.
 *  [Pamela Looper](https://wordpress.org/support/users/pamela-looper/)
 * (@pamela-looper)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014843)
 * [@djsmith](https://wordpress.org/support/users/djsmith/) I agree it would be 
   dangerous if they can edit someone elses post but they can only see their own
   posts in the directory. There’s not another place they could see the “edit” button
   is there?
 *  [firstep3](https://wordpress.org/support/users/firstep3/)
 * (@firstep3)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014844)
 * @PamelaLooper – I am using Gravity Forms to create posts with some of the data
   we collect, we are storing some of the other information separately. I need my
   users to be able to go into WordPress later and have the ability to edit their
   posts. The “Edit Entry” link that we are having problems with is part of the 
   Gravity Forms Directory that is being used to allow them to edit the data that
   does not get displayed in the post. (Editing that data in Garvity Forms does 
   not update the post data.)
 * I wanted to make sure that my users could go into WordPress and edit their own
   posts, but not be able to see anyone else’s or edit those. Sorry for the confusion!
 *  [Pamela Looper](https://wordpress.org/support/users/pamela-looper/)
 * (@pamela-looper)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014845)
 * [@firstep3](https://wordpress.org/support/users/firstep3/) Thanks, I block my
   users from the wp dashboard. They can only post and edit posts via the gravity
   forms. I agree the Edit Entry link would be much better at the top.
 * However, after editing via the Edit Entry link the changes are not actually dynamically
   made in the post, which makes it a little useless. Am I overlooking something?
 *  [firstep3](https://wordpress.org/support/users/firstep3/)
 * (@firstep3)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014846)
 * Nope, you’re not overlooking anything. The Edit Entry link only allows you to
   edit the Gravity Forms data. Once your form creates the post, everything tied
   to that post is now in the WP tables. That’s why I’m allowing my users to access
   the admin area in WP. The plugins I am now using only allow them to see their
   own posts and their profile page. They don’t have access to anything else. Also,
   I have it set up so that any changes they make get submitted for review. They
   can’t actually publish their changes. Publishing is only allowed for admins. 
   We use other data from the form that gets used for a custom search, and we need
   the Edit Entry link to be able to update that data separately from the post data.
 *  [Pamela Looper](https://wordpress.org/support/users/pamela-looper/)
 * (@pamela-looper)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014847)
 * Ah, that’s a little disappointing, the form data was so nice and clean, the posts
   have a lot of custom fields that may confuse. I’ll check out the Manage Your 
   Own Posts Plugin though, my users do need to be able to edit the post. I have
   Members plugin installed for role access.
    Thanks very much [@firstep3](https://wordpress.org/support/users/firstep3/)
   for your advice!
 *  Thread Starter [DJ Smith](https://wordpress.org/support/users/djinboise/)
 * (@djinboise)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014850)
 * I’m a little frustrated that Zack doesn’t monitor the support page for his plugin
   more often. I have a client that has been waiting for this to work for months.
   They want their members to be able to edit their entries. I can’t do that because
   I get get an error when trying to edit an entry. Plus the link appears for all
   members which gives anyone access to changing another members entry. Does anyone
   have any suggestions or had luck at making contact with Zack? I e-mailed him 
   over a week ago with no reply. Ugh. I know know this is free but you still have
   an obligation to the WordPress community.
 *  [samkitson](https://wordpress.org/support/users/samkitson/)
 * (@samkitson)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014860)
 * Been having the same problem that the user has to be an admin to edit their own
   details when the level of user I want is subscriber. A good way around this is
   to install the [Members plugin](http://wordpress.org/extend/plugins/members/),
   and set subscriber role to be able to do this by selecting ‘gravityforms_directory’.
 * This seems to work and adds an edit entry link to the single page view of the
   user’s details.
 *  [vlad.vdbc](https://wordpress.org/support/users/vladvdbc/)
 * (@vladvdbc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/2/#post-3014865)
 * I recently wanted to use this plugin and was having the same issue, users that
   were subscribers (or any role for that matter) could not edit their own entries(
   because there was no entry link)
 * I am not sure if this is entierly correct, but I have isolated the issue to 2
   lines in the gravity-forms-addon.php file
 * on lines 459 and 806, the following statement is made:
 * `(!empty($options['useredit']) && is_user_logged_in() && $current_user->id ==
   = $lead['created_by'])`
 * the problem with the last part of this expresion (`$current_user->id === $lead['
   created_by']`) is that this will always fail, since $current_user->id is an INT,
   while the $lead[‘created_by’] is a string. The `===` comparison compares types
   as well, so it will always return false.
 * This might be due to some update in GF, or maybe WP core, I don’t know.
 * Anyways, the patch I had to do is to replace the lines with:
 * `(!empty($options['useredit']) && is_user_logged_in() && $current_user->id ==
   $lead['created_by'])` (only 2 equal signs, ignoring the type in the comparison)
 * Hope this helps

Viewing 15 replies - 16 through 30 (of 48 total)

[←](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/?output_format=md)
2 [3](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/3/?output_format=md)

The topic ‘[Plugin: Gravity Forms Directory] User Edit Record Ongoing Issue’ is 
closed to new replies.

 * ![](https://ps.w.org/gravity-forms-addons/assets/icon-256x256.jpg?rev=996787)
 * [Gravity Forms Directory](https://wordpress.org/plugins/gravity-forms-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-addons/reviews/)

## Tags

 * [directory plugin](https://wordpress.org/support/topic-tag/directory-plugin/)

 * 48 replies
 * 12 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/mods2003/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/plugin-gravity-forms-directory-user-edit-record-ongoing-issue/page/4/#post-3014898)
 * Status: resolved