Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ JoselinMane
cMap and Market are effectively equivalent templates. The only significant difference is that Market has the category sidebar and cMap has a search category drop down.
06/17/2014 at 12:10 pm in reply to: Connecting WP registered member of site to connection profiles #294064Steven Zahm
Keymaster@ Deepanshu
Apologies for the delay … seems I am not getting notified for all replies for some reason. Likely due to a recent bbPress update. Hopefully this is fixed now.
The issue could be because of running such an old version of WordPress … though it should work fine.
I will need an admin account so I can take a closer look.
Steven Zahm
Keymaster@ Steven
Sorry, no, there is no AD integration/support.
Steven Zahm
Keymaster@ Hung
This seems to be a server config issue. If I’m right, something out of my control and ability to give you a solution. Here’s my what I believe the issue is… a bit technical.
The submission occurs via an AJAX call to your server. This does complete successfully which is why the submission ends up in the moderation queue as it should. The error is occuring when the success message is sent back but the browser will not accept the success message which cause Form to show the unknown error has occurred message.
The reason the browser is rejecting the success message is because the browser request headers do not match. Here’s the request headers the browser sent to the server when submitting an AJAX request:
Host:om.schoolyogainstitute.com Origin:http://schoolyogainstitute.comHere’s the server response headers:
Access-Control-Allow-Origin: http://schoolyogainstitute.com X-Frame-Options: SAMEORIGINMy best guess it is because the request is going to and being received from
om.schoolyogainstitute.cominstead ofschoolyogainstitute.com.I found similar issue with another plugin in the WordPress support forums. The solution to the issue will not work for you because the issue revolved around the request coming from
httpand the response was coming fromhttps. So their solution was to simply run the entire site inhttps.The support topic did link to two important links. The first is the doc page for X-Frame-Options. The second was some solutions shared by others in a StackOverflow topic.
So, in short, the solution is to make sure your site/server configuration is correct by fixing the host, I believe.
I was able to test this by going to:
http://om.schoolyogainstitute.com/network/alumni-community/alumni-directory/submit/When I submit an entry, it works as expected.
I hope this points you in the right direction!
Steven Zahm
Keymaster@ brent
Sorry, but presently there is not a way to do this. The shortcode options you’re adding are for several of the premium templates, not Form. This feature is on my to do list. It has to wait to be implemented because I’m currently rewriting the the core taxonomy code in Connections to be far more flexible.
Until then the best way is to use CSS to hide it. It is not an elegant solution and actually can be quite tedious depending on how often you expect to be adding categories…
This CSS statement should hide all category choices:
#cn-form li.active-result { display: none; }Now you need to selectively unhide the choices you want to be visible. This will unhide the “Professional Network” choice:
#cn-form li.active-result:nth-child(n+8):nth-child(-n+16) { display: block; }Anytime you add/remove a category, you’ll have to tweak the
8and16. Hope that helps!-
This reply was modified 12 years, 2 months ago by
Steven Zahm. Reason: Correct CSS to show hidden category choices
Steven Zahm
Keymaster@ brent
Great to hear!
Steven Zahm
Keymaster@ Jonathan
The only easy solution is to use an undocumented beta feature in cMap. Add
enable_category_multi_select=trueto the[connections]shortcode so you have this[connections enable_category_multi_select=true]The you can add a Gender top level parent category and under it add the Female and Male categories. The user will then be able to select a location as well as a gender. Multiple locations too, in fact. The one thing … it’ll be missing a submit button leaving the user with no obvious way to submit their selections. Looks like you’ve altered cMap already so I’m guessing you’ll be able to add that submit button without to much trouble.I hope that helps!
Steven Zahm
Keymaster@ Jean-Francois
I’m assuming you have both a French and English version of the entry, yes? And they exist on separate pages, yes? The maybe using the home_id shortcode option will address this issue. You would use the page ID of the respective page for French and English.
I hope that helps! Let me know.
Steven Zahm
Keymaster@ Craig
I think this qualifies as the longest post ever here on Connections, lol! Let’s see… I do my best to address everything.
re: With the new way of doing things, the option to even see the “Add my Directory Entry” only appears if the user is already registered, even if you allow people to add listings without being registered.
Actually, this is the way it has always been. I’m just making it more discoverable with the action links. Ideally, I recommend using one of the many freely available registration plugins to handle user registrations.
re: So the user now needs to create an account first, which is fine, but then to login he is thrust back to the dashboard with no easy or obvious way to add a listing.
Most of those user registration plugin offer a method to redirect the user after a successful registration. You could set up the redirect to point to the to the add new entry page.
re: The options to add or edit your listing are still in the dashboard, but they no longer function properly as they still point to the deprecated links for doing so which are no longer functional.
These should function exactly as before. What are you seeing?re: I’m not sure how to customize it now with shortcodes as I was able to do on the previous form version.
For the most part, every setting that was available to the shortcode can be configured on the Connections : Settings admin page under the Form tab.
re: And when they do finally complete the form, they are left with no real way to follow up. They can’t see the entry to edit it or see it’s status.
Depending on how you have the role configuration setup, the user should see one of two messages when adding an entry:1. Your submission has been posted. (shown to users who can add entries which do not require moderation)
2. We will review and approve your submission soon. (shown to users who can add entries which require moderation)You are not seeing these?
re: They can’t see the entry to edit it or see it’s status.
If the submission is in the moderation queue. That would be true, I think. I’ll have to test and possibly add a message alerting the user their submission in under review in the front-end.re: The only links left are the legacy links in the dashboard, but they are still pointing to the old /wp-admin/users.php?page=connections_link links which are now strangely still there but contain arbitrary and useless information that makes it appear as if the entry is broken.
These links work just like before, no change. The user should still be able to edit their entry regardless if their entry is in moderation or not. They will receive a notice stating they can continue to make changes while the submission is awaiting review.What are you seeing?
re: What would be great is if users could receive an e-mail instructing them that their listing is under review, and then lead them to a page that always has the links for submitting a new listing, editing a listing and the status of existing submissions all in one place. Now that these functions are embedded, it would be helpful if we could get the shortcodes that point to those links so we can make a sort of admin page for the users that lists all of their options and status and doesn’t require that they use the dashboard. And of course, the dashboard entries should either be removed from their view or at the very least fixed to point to the correct functional locations.
Thats what the list actions and entry actions are for. Do you have those configured? Maybe I can add a widget which will only show when a user is logged in that can be placed in the themes sidebar? It would be a handy place to show the links as well as a message indicating if their entry is in the moderation queue.
I added the suggestions of the email notification and shortcodes to my feature request tracker… I am trying to move away from shortcodes because they seem to be too difficult of a concept for many. I spend a great deal of support time on them. btw, the
[connections_form]shortcode and its options still exist. They were not removed, so you could still use it. However, the list and entry action links would point to the integrated solution. So using it would complicate things and making it confusing which is why I have not documented it existance.re: To consider the flow of events as perceived by a new customer looking to add a listing, try to add a listing to my connections database. The old static page link is still listed at the bottom of the page so you can start with that, but if I didn’t leave that legacy link there would be no way for a user to even see an option to add a listing with the new method because he does not have an account.
I suggest pre-registering the user first using one of the many freely available user registration plugins. Many support redirection on a successful registration. You could set up that redirect to point to the add entry page; the Form front-end or the admin.
re: when they try to edit it if they have full edit rights they are dumped right back to the edit screen instead of the listing itself
The user does receive an onscreen message that the submission is being save and then the page refreshes to the edit screen. This is pretty much how every “profile” editing process is in anything I’ve ever used, including WordPress. Where should the user be directed to?
re: or even worse if they have edit with moderation privileges they are simply left lost in a limbo where their entry has vanished into the void.
There is a onscreen message indicating that their entry is in the moderation queue after they submit it. The message should be:
“We will review and approve your submission soon.”
You’re not seeing this?
I think I’ve addressed everything, please let me know if I missed something.
After addressing everything, I think it boils down to you’re not seeing the onscreen messages for some reason. And the workflow could be improved by using a frontend user registration plugin [something I want to add basic support for in Form]. Is that a fair synopsis?
Steven Zahm
Keymaster@ Craig
re: updates
Honestly, I did give up on posting update notices because very few ever referenced it, however, maybe I should be a little more diligent for the few that do. I think that license key and in-admin updates should help a lot though. -
This reply was modified 12 years, 2 months ago by
-
AuthorPosts
