Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Seth
Add your descriptions to the categories on the Connections : Categories admin page and then enable the Category Description option in the settings.
Hope that helps!
10/12/2016 at 9:35 am in reply to: Login directly to Connections & adding profiles as a user #395342Steven Zahm
Keymaster@ Sylvia
re: If I login via the widget, it leads me to the index-page but not to the directory
Generally the page seen after logging in will be the one the user is already on. If this is not happening it is likely because another plugin or theme has added a login action which overrides the login destination. I recommend reading these two FAQs:
re: If I’m going to be registered as a new user, it leads only to a “castrated” WP-admin page. The settings that I can change there have no influence to my connections profile. Even if I click on “profile” via the widget after logging in, it leads only to the wp-admin profile. I expect to come to my own Connections profile
The user’s profile is the user’s profile in WP. The login widget does not change this. The user’s profile is not a directory entry. They are designed to be completely separate.
re: what I absolutely need is, that every user can set up his/her own Connections profile (add entry) after the registration.
You need the Link extension. Your users will still need to registered. After they register they can add and maintain their own entry in the directory.
re: By the way, an administrator has to approve it first when someone new does a registration. How does this work?
When you setup the Link extension you can chose if the user’s submission is to be moderated or not.
Hope this answers your questions thoroughly!
Steven Zahm
Keymaster@ Nathan
Ahhh… that would do it. Looks like I should also reset the
category_excludeoption too so it does not carry over. I made the change so that will be included in the next update. Apologies for the trouble!If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
Steven Zahm
Keymaster@ Vernon
You could hook into the
cn_list_atts_permittedfilter and do it programmatically but there is not a way to pass a variable directly through a shortcode.Hope that helps!
Steven Zahm
Keymaster@ Nathan
re: this adds an additional page that I don’t really want available
Make sure that is is not in the menus so it is not directory accessible.
re: The only thing that doesn’t work now is the “Go back to directory” link, as that goes to the new page I specified as the home_id. I tried changing that page’s home_id to point back to the original directory page
With your setup the only real option would be to turn off the back link… online users all very well versed in using the back button on the browser.
re: My guess is that the only fix is to hardcode the permalink for the directory page somewhere in gridder’s php files, but I can’t seem to find where that would be.
The code for the back link is in the
class.template-parts.phpfile found here:
../wp-content/plugins/connections/includes/template/. It’s not in the template itself because this a core template feature shared across all templates.re: Unless you have a more elegant solution?
Sorry, no, I do not. The design is really based on a single page setup with one shortcode. As you see you can use multiple pages to create more sophisticated directories but not all features are going to be 100% compatible since there is no way to “link” one instance to another (page to page).
That said…
I was thinking… what is the exact shortcode your are using on the original directory page? And what is the exact error/result when you clicked on the family member name?
I ask because when clicking an entry name, several shortcode options are reset so the individual entry can be displayed. The options reset would be
categoryandcategory_in. So, I guessing you might be using another shortcode option that is not reset which prevents the display of the family member profile page.Steven Zahm
Keymaster@ Julia
Ok, give it another once over, I believe I have fully corrected the bugs.
Steven Zahm
Keymaster@ Julia
re: if I add an entry then submit the form, when the page refreshes, I get an “Add directory” link on the menu rather than an “Edit directory link”. I was able to add multiple entries this way, which isn’t ideal!
This was a configuration setting… you had enabled the link to display. Some users what users both to maintain a specific entry and the ability to add new entries so this is an option that can enabled/disabled. I turned it off in the settings for you.
The tweak I made would not change the token mismatch error. I disable the logic that would throw the 404. So, I still suspect the token mismatch was due to the caching.
The 404 logic does highlight two bugs in the code that were not apparent before. I’m tackling these right now and will make the fixes on you site so you can verify that it works.
I’ll reply back after I have these two bugs fixed. I expect to have them addressed in the next few hours.
Steven Zahm
Keymaster@ Marilyn
Sounds like you missed only one step, adding the shortcode to the page. See Step 4 in the QuickStart : Displaying your Directory.
Hope that helps!
Steven Zahm
Keymaster@ Stephen
No, you still need to use the meta query. This filter allows other plugins to change the default query behavior for short word queries. Short words are words less or equal two characters. Databases generally can not search for small words so they have to be dealt with specially. Connections defaults to search for words that end with the short word. Another user wanted to change this so it would search for results that contain the short word. This filter allows that user to write code to change it to work how they want.
Hope that explains it clearly!
Steven Zahm
Keymaster@ Nathan
If I follow you can use a two page setup…
Add a new page, call is “Person” (the name is unimportant but should be related). Add only the
[connections]shortcode to this page with no options. After you publish this page take note of the page ID. You find this in the web browser address bar.Now, edit the page you had set up previously and add the home_id shortcode option to the existing shortcode using the page ID from the newely created “Person” page.
Hope that helps, let me know.
-
AuthorPosts
