As far as I can tell, the plugin actually works in WP 6.5.5, at least for public crossposts (I just haven’t tried anything else yet), but cron complains about ‘allowmask’ being undefined.
Warning: Undefined array key "allowmask" in /home/public/wp-content/plugins/journalpress/lib/lj.class.php on line 102
I haven’t figured out why that one key is undefined out of everything in the array, but I’m gonna dig a bit and see if I can’t figure it out. If anyone else has found a solution, let me know. I’ll be back, if I fix it.
]]>Okay, so, wanted to drop this in:
If you have a WordPress theme that works well with featured images and you want to use them, but you know that Dreamwidth doesn’t do them well, it’s easy to make JournalPress ignore featured images and just never copy them over.
Just edit this file:
[bloghome]/wp-content/plugins/journalpress/lib/jpposts.class.php
and comment out (or remove entirely) these four lines of code:
// do we have a featured image?
if($imgID = get_post_thumbnail_id($this->post->ID)){
$img = wp_get_attachment_image($imgID, ‘full’, false, array(‘style’ => ‘max-width: 100%; margin: 0 auto; display: block;’));
if($img){ $the_event = $img . $the_event; }
}
Everything works fine without them and all that changes is that you can set featured images for your theme and ActivityPub feed without messing up your Dreamwidth account.
]]>Cross-posting to LiveJournal works like a dream! Unfortunately, I’ve moved my journal to DreamWidth, and I can’t even add that on the Add New Mirror page. I’ve tried with my password and with an API key, and neither works. Any ideas?
Thank you!
]]>Last year plugin wasn’t able to connect to livejournal with my password and couldn’t update password.
“Could not connect to user ta at https://www.livejournal.com with new password. Password has not been updated!” Password is correct
Hi!
There is a problem when crossposting to Dreamwidth (LJ).
Shortcodes in the post related to NNG Gallery images remains shortcodes in dreamwidth.
[singlepic id=1176]
]]>Hey, anybody still using this, enjoy two patches, first eliminates a recurring php warning in your logs, the second lets you make your SQL installation be configured more safely without throwing errors.
—– in jpconfig.php:
—– in jp_post_advanced(), initialise $error:
function jp_post_advanced() {
global $wpdb;
// NEW 2016/07/20 - Creates the variable which is not tested correctly later without init.
$error='';
—– in jp_functions.php:
—– in jp_format_post(), comment out line 544 (included below), add replacement line:
// $parr = array( 'jpic' => mysql_real_escape_string( htmlentities( $pic, ENT_COMPAT, 'UTF-8' ) ) );
$parr = array( 'jpic' => $wpdb->escape( htmlentities( $pic, ENT_COMPAT, 'UTF-8' ) ) );
]]>
No matter what I try, I can’t convince JournalPress to parse my shortcodes. Why are these being stripped out? How do I stop it?
]]>When I post a new entry, it takes a long time and then I get an error that says Livejournal received a non-200 error code. The entry posts to WordPress correctly but not to Livejournal. My account on LJ is correct.
]]>