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.
- This topic has 8 replies, 2 voices, and was last updated 9 years, 5 months ago by
jimedward.
-
AuthorPosts
-
02/23/2017 at 4:23 pm #412796
jimedward
ParticipantI fixed my LINK shortcode by following the instructions from another user:
[connections_link_edit text="Edit My Directory Entry"]
Apparently the shortcode for LINK from last year had changed?
However, the FORM will not save. It simply goes back up to the top of the page with no message or function to having saved any edits.
Giving reference to an update you performed last year, you mentioned that you had fixed the same error by tweaking the Form or Link code:
https://connections-pro.com/support/topic/link-and-form-extensions-not-editing-or-working/
I’ll provide access to my website in the next post.
Thanks!
-JIm Edward
02/23/2017 at 4:31 pm #412801jimedward
ParticipantThis reply has been marked as private.02/24/2017 at 10:12 am #412850Steven Zahm
Keymaster@ jimedward
re: Apparently the shortcode for LINK from last year had changed?
I’d have to research the history for you particular case but there are actually two shortcodes. The original (old) was either custom code implemented for you or added by a code snippet I gave you in this support forum.
The current (new) shortcode is the now officially supported version that I added to Link as a standard feature since more users have requested such a feature.
The shortcode names were different in order not to conflict for those using the old one off code snippets. Both should continue to work just fine together.
They basically do the same thing but the officially supported version is superior.
re: However, the FORM will not save. It simply goes back up to the top of the page with no message or function to having saved any edits.
This seems to indicate another plugin or perhaps the theme is causing a fatal javascript error on the page. Fatal javascript errors cause all javascript after the error not to run.
You can determine this by navigating to the page in Chrome, hitting the F12 key and then clicking the Console tab. All page errors will be listed there. Make an edit to the entry and then submit it. Any further errors will be listed, if any.
I did try to login so I could take a look but both logins were rejected.
If you can verify the logins, I will take a another look so I can help get this resolved for you.
03/07/2017 at 8:44 am #414535jimedward
ParticipantThis reply has been marked as private.03/07/2017 at 10:56 am #414586Steven Zahm
Keymaster@
re: However, the FORM will not save. It simply goes back up to the top of the page with no message or function to having saved any edits.
Ok, the minor tweak I must have made the last time for you was changing the
wp_enqueue_script()towp_register_script()so the Form script is loaded vs registered to be loaded later. This will actually cause the script to load unnecessarily on every page. No harm really as it will not interfere with anything. The code should load it only on the page where Form is used but I think the way the Live Editor builds the page the script is not loaded as it world normally which causes Form not to function correctly, such as bouncing to the top. Honestly, I would say this is a bug in OptimizePress because shortcodes should be able to register scripts as that is standard core WordPress functionality that is being broken.With this tweak, the buttons in Form work correctly now. Was that the only issue? I did not test anything else further.
Hope this helps!
ps. This tweak will have to be applied anytime there is a upgrade to Form on your site. Perhaps a upgrade safe tweak will come to me later. I can not think of one at the moment.
03/07/2017 at 5:22 pm #414628jimedward
ParticipantI cannot get it to work for existing members
03/07/2017 at 7:12 pm #414638jimedward
ParticipantThis reply has been marked as private.03/08/2017 at 10:27 am #414769Steven Zahm
Keymaster@ jimedward
re: the shortcode [connections_link_edit text=”Edit My Entry”] no longer works
The edit link will only display if the logged in user has an entry. If not, the edit link will not be displayed because there is nothing for the user to edit.
On your “My Membership” page, you should not link directory to the submit entry page.
Rather than have the user go to the directory to see if they have an entry, you should use the
[connections_link_view]shortcode. This will display a “VIew My Directory Entry” link if the logged in user has a linked entry. If they do not, it will display an “Add My Directory Entry” link instead if the logged in user has either the add entry or add entry moderated capabilities assigned in the roles options admin page.re: I cannot get this to work for existing members. Digital Access Pass matches the email address from the USER database with the Digital Access Pass Database to allow access I believe.
This is incorrect. Connections will never look at the DAP email address, it will only match against the email address for the WP User. The Jim C. WP User and the Jim C. directory entry do not have matching email addresses.
Per my explanation above, you’ll notice that the “Create My Directory Entry” is present on the My Membership page because the user does not have a linked directory entry because the email addresses in the WP User for the user and the directory entry does not match.
If you add the WP User email address to the “matching” Connections entry, they should link up just fine and the Link shortcode should function correctly.
Does this make sense/help?
03/10/2017 at 10:01 pm #415181jimedward
ParticipantYes, I understand. Resolved! Thanks
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
