@ Alexandra
There’s a lot here, I’ll do my best top answer every question thoroughly.
re: We’re preparing a conference’s website, it is still in construction but almost finished. The idea is that participants register through an external payment platform and then they receive an user (email address) and a password. At the same time I create with this information the wordpress users in the conference’s website.
Sounds like this workflow will work work with Connections Form and Link fine.
re: Afterwards, they can go to this webpage (http://19deac.mmb.cat/participantes/), click the “REGÍSTRATE EN EL DIRECTORIO” button, login with the user and password we gave them and then they access the form, fill in the form and create a new entry in the directory. Access to the form is private (they have to login), but directory is public.
Ok, this you will not want to do because this will not link the user to an entry they create. Rather, they will be able to add an unlimited number of entries, none of which will be linked to them.
Here’s my suggestion, steps 1 and 2 are optional, but could make it easier for your users to find the link to edit the directory entry.
- Add the new shortcode using the method I describe in this post.
- Create a new page for a member’s “dashboard” and add the
[connections_edit_link]to it with instructions for your user to follow. - Alternative to step 2 you could add the shortcode to a text widget and place it in a theme sidebar on the
http://19deac.mmb.cat/participantes/page. - The
http://19deac.mmb.cat/registro/page is not necessary and complicates matters. On thehttp://19deac.mmb.cat/participantes/page I suggest adding the login widget to a theme’s sidebar. This would work well with step 3. After your user logins in. There will be a “Add My Entry” link as long as your enabled it under the result list action. Clicking this link will take the user to the form where they can submit their entry. You would configure Form on the Connections : Settings admin page under the Form tab.
re: [connections_form] Shortcode.
This will not be removed and is safe to use but I would not suggest using it because it will not work with linking users to entries.
re: I also tried to include the login widget in the sidebar, but it doesn’t appear, it’s also not working, I don’t know why. And I’m not able to include the login form anywhere else.
The login widget will not display if you are logged in. My best guess is when you added it to the sidebar to test, you were logged in. Try adding it again and then login out or visit the page in a private browsing window.
re: I think the best solution is having the login widget in the sidebar (or a login form somewhere in the directory page) but just to add/edit entries, not to see the directory, because if I use “View my entry”, “Edit Entry” or “Add a new entry” links everything works well.
I’m guessing you have the Form “Submit New Entry” link enabled. As suggested in the docs, when using Form with Link, it is recommended that you disable this option. This way the user will only ever see the “Add My entry” link or “View My Entry” links when they are logged in.
re: However I don’t know how to do it, I just see these links as admin, but not as user.
re: I have some more doubts related to “Connections Circled-Template” and “Form”. I don’t know whether I should ask here or in a new topic:
Here will be fine. It will be easier for us both to keep the conversation in a single forum thread.
re: I have used this shortcode [connections enable_search=true enable_pagination=true show_profile_link=false show_org=true] because I don’t want to show the profile link in the directory, but I want to show the organization. However, organization doesn’t appear. What should I do to see organization below title?
The org is only shown on the profile page. The only way to show it where you want is to add code to the Circled template to display it where you want. Do you know some basic PHP? I can provide directions if you do.
re: In “Form” the only field required is name, but email should also be required, because is necessary to work properly with “Link”. How can I mark email as required?
When the user adds their entry using the “Add My Entry” link the email is not required. There is no way to make an email required at this time.
re: It’s possible not to have to choose between “home email” and “work email”. I think people won’t understand this.
An email option could be removed using PHP if you do not mind work with WordPress filters. See this, it explain how to filter addresses, phone and email.
re: And having less social networks in the list? Most of the social networks in the list are totally unknown in Spain, and is quite confusing as well.
This can also be done using PHP and WordPress filters. This explains how to limit the list to a select few.
I think that covers everything. Please let me know if I missed anything or if your need further guidance or clarification on my answers.
