pullbuoysteve
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress not working with nd_mysqliI couldn’t fix whatever the problem was and my host was not helping at all so I gave up and rewrote the custom apps to use PDO instead of mysqli. So the immediate problem is solved, but I still don’t know what the issue was.
Forum: Fixing WordPress
In reply to: WordPress not working with nd_mysqliHi George
Yes cloudlinux as you say, with PHP v 7.4.33 and MySQL 5.7.40-cll-lve – MySQL Community Server – (GPL)
The server is running mysqlnd not libmysqlclient
This is the configuration with nd_mysqli enabled – this doesn’t work with wordpress but other things work fine.
This is the configuration with mysqli enabled – this does work with WordPress (but then other stuff breaks as there are functions missing)
Thanks for your help
Having installed the latest version of Jetpack (10.2) I can confirm that it doesn’t address the visibility issue described above for legacy widgets, which always default to “and” in the rules options.
The solution now that the visibility controls are available for block based widgets is to replace them with the block based equivalent, but clearly that doesn’t apply if there isn’t an equivalent block.
Having done that though it raises another issue; the block based version of “latest posts” for example, doesn’t output the widget title which leads to adding another H1 block and then loads of hacking about in CSS to make it appear the same as all the other blocks – but that probably needs a separate thread.
Yes, version 1.0.0 seems to have addressed this niggle.
Sorry, I’ve mucked up those tweet links
The first, auto-generated, one should be
Four Pointers from Glasgow to?Kazan https://t.co/BXoBenqH6l pic.twitter.com/9Ca9mEmslz
— pullbuoy (@pullbuoy) July 2, 2015
And the manually posted one:
Some thoughts on Scottish Nationals and what they tell us for Kazan https://t.co/BXoBenIiuV
— pullbuoy (@pullbuoy) July 2, 2015
Thanks for the detailed reply – it helps in some ways but not in others especially in terms of twitter.
1) Facebook – I understand that’s how it works and the workaround, i was just hoping that if I don’t change the custom message and write a custom excerpt had been written then Publicize would send that to Facebook in the post rather than the one it generates with the [??? more words] suffix. The generated one is a bit clunky and includes things like picture captions inline with the text etc. so if I’d written a custom excerpt I would hope it uses that. The custom message workaround is OK some of the time, but if I don’t want to be limited to 140 characters (or the twitter post gets truncated), I have to go and manually edit the Facebook post or post it myself, which kind of defeats the object of automatic posting. I realise this is just the way it works, and is not a problem as such, but I would support any change that gave more control over what was posted to Facebook by way of excerpt.
2) Twitter – We’re at crossed purposes a little here. I have no problems with twitter cards showing up or showing the featured image. The issue I have found is as follows, with the caveat that I am generating my own open graph tags for customization purposes so if I’ve broken something by doing that – mea culpa.
So…if I create a post that has an image in the first 256 characters, Jetpack takes that image and posts it to twitter using a pic.twitter.com URL to embed it in the tweet, along with the link. See example below.
https://www.pullbuoy.co.uk/wordpress/wp-content/uploads/2015/07/tweet-test.png
The image that appears in the tweet only appears in the post content and is not in the OG tags in the head. This means that twitter does not show the twitter card, even through the OG tags etc are OK and if I post the link myself the card shows up fine.
My question was whether this should be expected as the support page indicates it only does this for posts to Tumblr. Basically I don’t want it to do it, so apart from not having images in the first 256 characters is there any way of avoiding this?
The example with flickr was this tweet:
Brilliant Brits Breakthrough in?Baku https://t.co/ILCvXhWUh2
— pullbuoy (@pullbuoy) June 29, 2015
The OG tags in the head of the post show the featured image not the one that appears in the tweet. The image is taken from Flickr – it is embedded in the wordpress post near the top. Again the image was embedded in the tweet with a pic.twitter.com address and no twitter card hence appears. Posting the same link manually gave this tweet with the correct featured image in the twitter card:
GB juniors tore it up at the European Games last week – here's a summary https://t.co/ILCvXhFjpu
— pullbuoy (@pullbuoy) June 30, 2015
I’d be interested to know if this is expected behavior.
Many thanks