• I need a way to add the first name or username of the person that adds the contact record. This will be an intranet and only staff will be logging contacts but I need to know which person adds the contact, preferably as a hidden field. Additionally, I’d like to add which user updates a contact in the future. So: added by (user) then updated by (user).

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Depending on your plugin settings, the information on who created the post (contact record) is saved in the WordPress database. I believe what you’re after to be able to see it in some specific place. At the moment it can be seen for example in the Edit Post screen under WP admin pages: /wp-admin/post.php?post=POSTID&action=edit.

    If you want to display it elsewhere, that’s more of a theme than plugin related issue. Most themes display post authors by default. This of course requires that users have logged in before posting – otherwise there’s nothing to differentiate between one anonymous submitter and another. If your users are not logged in when submitting, you could add a visible field on the page where they can write their own name before hitting the Submit button.

    @daedalon

    at present if the user isnt signed in the content will show as the admin as the author. Where do I edit the plugin code so that the user can insert a name in a field and that will show as the author without having to register and be logged in.

    I notice ‘User Submitted Posts’ Plugin does this but im not sure what to change to make WP User Frontend do it.

    Any tips? Really appreciate any help, thanks

    If I remember correctly, WPUF has a setting for this already. Hope this is the case and you’ll find it. I don’t have the plugin handy at the moment of writing this though and haven’t yet familiarized myself with the code base. Tareq is the man who knows all about it 🙂

    I might have mixed WP User Frontend in regard to that capability with Events Manager, which has the setting Guest Default User for this exact purpose. If WPUF doesn’t have this, you can try to modify WPUF to create the same feature by looking at Events Manager’s code for an example and if you succeed, post the patch for all to enjoy.

    Tareq: This would be a good feature if you have the time to add it at some point 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP User Frontend] Record which person adds the contact’ is closed to new replies.