Works perfectly, however, you need to give registered users the ability to view "private" pages. Fortunately, I don't currently use "private" pages/posts for anything so this option works for me. However, as soon as you create the ability for a "registration add-on" form to detect and input a logged in user, please email us all with a notification, I'm sure this is a feature that everyone is anticipating. But for those waiting for that feature, I will detail the process that I used below.
1.) Create your base form before adding the registration commands.
2.) Use the "Duplicate" option below the form name on your forms list to duplicate your new form.
3.) Take your newly duplicated form and edit it to add the necessary fields to implement an "auto-registration" process when filling out your form.
4.) Save that form with a different name - such as "Submission/Registration" versus your "submission" form.
5.) Create a new page in WP for your submission/registration form.
6.) Create a sub-page in WP for your non-registration submission form (for logged in users). MAKE THIS PAGE PRIVATE!!!!!!
7.) Go back to the submission/registration form page and insert the shortcode for your submission/registration form for non-logged in users. **I used a block quote command to notify users that if they are an existing user to login and come back to the page to click on the "EXISTING USERS CLICK HERE" button. (as well my blockquote notifies new users that they will automatically be creating username and password while filling out this submission form for future use.)
8.) I placed a button titled "EXISTING USERS CLICK HERE", and placed the button directly below the block quote and above the actual form shortcode.
9.) The link within the button I made goes to that "private" subpage that is identical to the registration/submission page, except the private page has the submission page without a registration requirement for users that are logged in.
10.) Using Justin Tadlock's MEMBERS plugin for WP, I gave contributors the role to "read_private_pages". You must also go to your WP Admin settings and give newly registered users "CONTRIBUTOR" role status for this to work.
***THERE MAY ALREADY BE A BETTER WAY, HOWEVER, THIS IS THE BEST WAY THAT I COULD FIGURE UNTIL GRAVITY FORMS HAS THE TIME TO CODE THE REGISTRATION ADD-ON (which is still in development, so don't get your panties in a bind...lol) TO DETECT A LOGGED IN USER AND BYPASS THE REGISTRATION PORTION OF YOUR FORMS.*****
Hope this helps someone.
Posted 13 years ago on Wednesday March 23, 2011 |
Permalink