Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Pinterest Image assigned but not displaying

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I just upgraded this site to Buildr with a J3+ upgrade as well. Pinterest image is assigned but I don't see it when I try it out.

bwrecording.com/

Thanks,
Helen
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Helen

I'm a little unclear - I can see the icon is it not working for you when you click?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I mean the fall back image or whatever it is called. The image assigned in the template config under social. Right now no image displays if you initiate share on Pinterest.

Thanks,
Helen
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
It works today, so maybe it was a cache thing. Thanks!
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
ah I was wondering about this one :)

Thanks for the update
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Huh, searching for help and I see that I had this same problem before, same site.

Also, no text description for Pinterest share. :(
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Again, this seems to be a cache issue. If I clear Joomla cache, still wrong.

Image link needs bwrecording.com/ for the Pinterest fall back image path. This has been added but the old setting has cached somewhere.
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
It does work here
bwrecording.com/galleries/audio-gallery
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Are they on the same server?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
It's the same site so yes, the same server. :unsure: (This affects a ton of my sites. :( )

Here's what I've figured out so far on my localserver:

If there is an image in the article, it doesn't work. If the image is part of a [loadposition module] within the article, then it does work.

HOWEVER, if I edit 2 lines in Buildr/tpls/blocks/social/pinterest.php:

line 46
first_image = url + first_image.replace(relative_url, '');
to
first_image = first_image.replace(relative_url, '');

line 55
var pinterest_link = 'http://www.pinterest.com/pin/create/button/?url=' + url + '&media=' + first_image + '&description=' + description;
to
var pinterest_link = 'http://www.pinterest.com/pin/create/button/?url=' + url + '&media=' + url + first_image + '&description=' + description;

Then it will pick up the image within the article but not from the loadposition module. Fall back image works in both cases. This is better, yes??

And here's what I think is going on with the description. It is looking for text in the first paragraph. I think all these problems stem from an image placed in the content within the first paragraph and the text in the next. If I edit the content so there is a <br /> instead of a paragraph, then the text is picked up correctly.

Wow. I figured it out, well almost. Could there be some code added that if there isn't any text in the first paragraph, then it will look in the second; and if there is no text, then it will pull the metadescription?? Or something like that?

Current code for description:
var description = $('#midCol p:first').text();
if(typeof description ==="undefined") {
				description = $('p:first').text();
			}
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
Last Edit: 7 years 4 weeks ago by Helen Nunley.
The administrator has disabled public write access.
Thanks Helen

I'll check with Rob on this on monday

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

Any news yet?

Thanks,
Helen
  • Helen Nunley's Avatar
  • Helen Nunley
  • LIfetime Developer - Big Bamboo
  • 1024 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Helen,

Can you open a ticket for the site

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers