Support Forum
The blog post linking plugin isn't automatically creating posts when the posts are published. It seems inconsistent; it worked once, but two posts were published that weren't added to the forum.
When the post is created and saved, it shows that it's linked to a forum post. However, when it publishes, it no longer shows a link. If I were to edit the post and update it - even if I don't change anything - then the forum post will be created.
I really need this to work automatically, as it was the big selling point for using simple press.
Can you explain a little what you mean by this bit...
When the post is created and saved, it shows that it’s linked to a forum post
How is it shown please?
This kind of a problem with the Blog Linking plugin is virtually unheard of and it is, of course, one of our most popular. The only thing that comes to mind is that there is always the possibility that you have another plugin that performs certain tasks when a new blog post is published and it and ours may be in some sort of contention. Do you have anything installed that may perform such tasks - and that means anything at all that may be related to blog post publishing?
YELLOW
SWORDFISH
|
Sure thing Andy. When a post is saved and set to publish, in the post list under the "forum linked" column it will say "Linked to forum: TFLtruck Posts." However, after it's published, that will disappear from the post list (the column is blank) and the forum topic isn't automatically created.
However, if I edit the post after it's published and update it, the forum topic will be created and the "forum linked" column will be populated.
I was searching around your forum and I found a similar topic, https://simple-press.com/suppo.....-comments/ where it seems that there is an issue with NextScripts SNAP plugin. I use that on my site, too, which might be part of the problem. You had responded asking for the list of hooks. I can provide that if you like.
Thanks for your help on this. You mentioned in the other post that for this forum, you use the Social plugin. I'm going to investigate that as a potential option if we can't get the blog post lining working with SNAP.
Gosh! Good find. I started to remember as I started to read the thread.
Yes - if you can pass us the code where those hooks are used then we can try a couple of things... See what happens - for example - if we ensure the blog linking process gets done first...
YELLOW
SWORDFISH
|
Well let's give this a try. Find the code:
add_action( 'transition_post_status', 'nxs_snapLogPublishTo', 10, 3 );
in that plugin. There are two - I probably don't need to tell you that you need the one that is NOT commented out 🙂
Try changing that 10 to, say, 15... That will ensure this it gets processed after the blog linking code....
YELLOW
SWORDFISH
|
Something else is amiss, too. The forum comments aren't showing up in the blog post comments properly. Check out the comments in this link and you'll see what I mean: http://www.tfltruck.com/2016/0.....ing-video/
1 Guest(s)