Support Forum

Link To Forum installed but not working correctly

51 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

I don’t see any point or profit in re-installing assuming things are working OK – which you have not said is the case.

If I have some time today, I will try and look at the WP code to see what they do to display the comment count on the post index list. If I find anything usful I will add to this thread.

FB Frederic Buonincontri
Frederic Buonincontri
Member

Yes, the forum does seem to be working okay (will continue testing though). The exception is blog linking not working and that’s tested with no other plugins active at all other than only SP and SP-blog-linking. Well, I’ll just keep at it as time allows and look for any other clues I may have missed. Thank you for your help. I’ll be interested if you find anything and I’ll do the same if I find any more clues.

MP Mr Papa
Mr Papa
Member

well, glad everything else is working…  we are quite mystified as to what might be causing your blog linking… it is a singular issue that has not affected anyone else…

but as Andy says, will try to research a few things…

FB Frederic Buonincontri
Frederic Buonincontri
Member

So far, something I’ve found is that if you do an import into WP there is supposedly a comments count bug that can occur. I have imported data so that may be the source of this issue. The site is a new development (improved more features faster server etc) of a current site and the posts were imported from it.

BUT

When I create a post it has an initial comment count of “0” like it’s supposed to and it’s not until I link to forum that it adds the “-1”. I’m considering a hack that sets the initial comment count at 1 or 2 when a post is created and then when I blog post link it to sp will reduce the count by -1 to become 0 or 1 and then it should work. I just don’t know where to add this code yet.

I have also tried commenting and then deleting that comment as a work around and that did work.

YS Yellow Swordfish
Yellow Swordfish
Member

I really am totally unable to replicate this in any shape or form. we also use linking on this site for some of the blog posts and they are also fine.

What about other plugins? Do you have any installed and active that add content or manipulate the blog post and related data in any way? Any that add fields to the write/edit post panel for example?

FB Frederic Buonincontri
Frederic Buonincontri
Member

There are other plugins but I’ll have to check if they add any fields to the write/edit post panel, but remember I did turn off/disable every single plugin other than SP and SP-blog-linking and the -1 still occurred.

Of course I’m the one who gets the weird problem that no one else has, had, or can replicate.

I’ll be doing the add a comment then delete the comment work-around for the time being. There has to be something somewhere that’s causing it to subtract a comment to get the -1. I have no more ideas on where to look at the moment.

YS Yellow Swordfish
Yellow Swordfish
Member

OK. If I find anything I will report it here,