Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5.22, capability, custom field, extension, form, role
- This topic has 3 replies, 2 voices, and was last updated 9 years, 12 months ago by
Steven Zahm.
-
AuthorPosts
-
08/22/2016 at 12:43 pm #387390
Mike Raccine
ParticipantIs it possible to have 2 separate form pages?
I currently use Paid Membership Pro to require a membership in order to add/edit their directory listing using ‘Form’.
I would like to add a 2nd ‘Form’ page with the additional custom fields for members who have an ‘upgraded’ membership. The extra custom fields were added using Code Snippets.
08/23/2016 at 2:22 pm #387525Steven Zahm
Keymaster@ Mike
Sorry, no, you cannot have two “forms”. Now, that said… adjust the code snippets so the custom fields are only registered when the current user only has a specific role or capability that way they are only displayed to those users. Hope that makes sense!
08/23/2016 at 3:50 pm #387542Mike Raccine
ParticipantThanks for the quick response.
I’ve progressed to the point where I’ve added a 2nd form using the 2 plugins Contact Form 7 with Contact Form to Database.
So now my last hurdle is associating the form (it will be a link to another page) for each member for display on cMap. I’ve edited the card.php file to show the link, but was wondering what variables are available on the cMap display? Ideally the link would reference the user_login for the variable.
So each member listing on cMap would have a link that links to:
mysite.com/member-advertisement/?member=janedoe
mysite.com/member-advertisement/?member=johndoeIs the ‘user_login’ name or user ‘ID’ available as a variable on card.php?
08/23/2016 at 4:13 pm #387549Steven Zahm
Keymaster@ Mike
re: Is the ‘user_login’ name or user ‘ID’ available as a variable on card.php?
No, they are not, but they are not needed as you can use the core WP functions to get them.
Useful link:
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
