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.32, capability, multisite, role
- This topic has 27 replies, 2 voices, and was last updated 9 years, 8 months ago by
Darrin Goodman.
-
AuthorPosts
-
12/16/2016 at 5:42 pm #404020
Darrin Goodman
ParticipantThis reply has been marked as private.12/19/2016 at 9:14 am #404279Steven Zahm
Keymaster@ Darrin
Sorry about the delay… thank Comcast. My internet connection became glitchy. Going up and down making it impossible to do anything online. My Apologies!
One more minor edit…
Open the
class.utility.phpfile found in the same folder as the retrieve file.Search for this line:
public static function userPermitted( $visibility ) {Then under this look for the first:
return ( current_user_can( 'connections_view_public' );This should be line
612.Change it to this:
return ( current_user_can( 'connections_view_public' ) || ! cnOptions::loginRequired() );Now, in the retrieve file, change the code I gae you previoulsy to this:
if ( current_user_can( 'connections_view_public' ) || ! cnOptions::loginRequired() ) { $visibility[] = 'public'; }It is slightly different. Let me know if this works.
12/19/2016 at 1:20 pm #404378Darrin Goodman
ParticipantNice work Steven! This appears to have solved the issue – THANK YOU!!! Will this roll out in your next update?
Thanks!
12/19/2016 at 3:31 pm #404399Steven Zahm
Keymaster@ Darrin
Yes, the changes will be rolled in the next release. Apologies for the trouble!
12/19/2016 at 4:02 pm #404405Darrin Goodman
ParticipantNo worries, I appreciate your help!
12/20/2016 at 5:51 pm #404491Darrin Goodman
ParticipantThis reply has been marked as private.12/21/2016 at 9:16 am #404528Steven Zahm
Keymaster@ Darrin
Very, very, very, unlikely. The code edits I gave, they simply add a check to see if the option to require login to view is checked in the Settings or not. The code “behind” that code simply uses the WordPress Options API… so, basically as far away from anything image related as can be.
Not sure that is helpful, but I hope it is.
12/21/2016 at 11:28 am #404535Darrin Goodman
ParticipantThank you Steven! We had some odd things happening yesterday. I’m still unsure of the cause of the issue but it appears as though we have worked things out. I greatly appreciate your help! Happy Holidays to you!
-Darrin
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
