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.2.1, picturefill, theme conflict
- This topic has 9 replies, 2 voices, and was last updated 8 years, 9 months ago by
elin.
-
AuthorPosts
-
03/04/2015 at 1:54 pm #321557
elin
GuestHi There,
I just used your CSV import plugin to add a long list of members to Connections on a WP site that uses the theme Stack. It now appears that when the Connections plugin (not the Connections CSV import plugin) is activated, then non of the images on the site display, turn off the Connections plugin and all the images display.
Any ideas as to how to work around this?
Thanks!
03/04/2015 at 2:10 pm #321562Steven Zahm
Keymaster@ elin
Sorry, no clue, since I have never seen that happen before … honestly, not even sure that it would even be possible.
You’re going to have a share a link to your site with Connections activated with me so I can see the issue.
03/04/2015 at 2:17 pm #321566elin
GuestThis reply has been marked as private.03/04/2015 at 3:28 pm #321610Steven Zahm
Keymaster@ elin
Ugh! I do not see any way to fix this. I’ll try to explain.
The Stack theme is using a newly 2 year version of a script called
picturefill.js
to show the images. Version 1.2 from what I can tell. Here’s a link to the script on your site from the theme:http://[REDACTED].com/wp/wp-content/themes/stack-theme/js/picturefill.js
Connections also uses
picturefill.js
but it is much newer, version 2.1. The current version is 2.2. So I should update the version that comes with Connections. But that will not address the issue.The version that comes with Connections is being used but is not compatible with the old HTML markup for images that was required to make version 1.2 work. Since is is not compatible, the script is not looking for it so it is not showing the images.
Actually… now I think about it, this incompatible markup means that both should be able to run fine together. The version that comes with the theme just needs to be force to be used too … I can do that, but I’ll need a temp admin account so I can login and make a small edit to the theme. You can send me the login details using the contact link at the bottom of the page. Please paste a link to this forum thread so I can relate the two. Thanks!
03/05/2015 at 6:50 am #321671elin
GuestHi There,
If you could fix that would be excellent, thank you. Seems Stack theme needs a bit of updating. Quick question in the meantime, the contact link at the bottom of the page just brings me back to the forum, is there another way for me to send details to you?
Thanks!
03/05/2015 at 8:28 am #321674Steven Zahm
Keymaster@ elin
Ahhh… looks like it was a bug with the Ninja Forms plugin… The contact form is back now. Apologies for the trouble!
03/05/2015 at 6:41 pm #321810elin
GuestNo worries, sent now, thanks again!
03/05/2015 at 8:29 pm #321815Steven Zahm
Keymaster@ elin
Ok, you’re all fixed up. There’s new plugin installed on the site called Code Snippets. This has a code snippet which will run if both Stack and Connections are active. When run, it will enqueue the theme’s older version of the picturefill library. Connections will merrily go on its way loading the current’ish version it requires.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections
03/05/2015 at 8:31 pm #321816Steven Zahm
KeymasterFor the historical record, the following is the code snippet required when the Stack theme version 1.0 and Connections are both active:
add_action( 'wp_enqueue_scripts', 'stack_enqueue_picturefill', 99 ); function stack_enqueue_picturefill() { if ( defined( 'THEME_URI' ) && class_exists('connectionsLoad') ) wp_enqueue_script('stack-picturefill', THEME_URI . '/js/picturefill.js', false, THEME_VERSION, false ); }
03/06/2015 at 8:10 am #321835elin
GuestThank you, that’s absolutely excellent! Very much appreciate the support.
Have left a fittingly glowing review.
Thanks again for fixing the problem.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.