Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
news-topic
Threaded Posts and Blog Comments
Avatar
John Greenewald
Member
Free Members
Offline
May 11, 2018 - 5:28 pm
Quote

Yellow Swordfish said
So what has this got to do with blog comments? Is this relevant?

  

I have no idea what you mean here?

That said -- maybe it is a caching issue? However, I cleared all of the cache, not only what I had installed on WordPress, but also my Cloudflare cache (even though I have a rule setup not to cache the forums).  No change.

Here is further proof, and I am open to ideas.  If you go here:  http://www.theblackvault.com/c.....es/page-2/

Look for this thread: 9/11 Conspiracy Theory That Jet Fuel Can't "Melt" Steel put to rest? 

You will see the forum index said last updated a year ago, but if you enter the thread, specifically to here: http://www.theblackvault.com/c.....#p124063 

You will see it was updated today...

So, what could be causing this? 

Avatar
John Greenewald
Member
Free Members
Offline
May 11, 2018 - 6:03 pm
Quote

For the record, I since added a "test" comment on the thread, and it popped right back to the top, without clearing cache or anything.

That said, it seems to be a bug (on my end) wherein the threaded reply does not get seen as the "latest" message when it comes to the date sorting.

SimplePress Version 5.7.5.2

Threading Version 1.9.2

Avatar
John Greenewald
Member
Free Members
Offline
May 12, 2018 - 2:22 am
Quote

One more thing I noticed after doing a test -- it seems like this bug occurred when a threaded reply was put on a post that was on the forum BEFORE I installed the Threading plugin.

I then posted a threaded reply on a post that was posted AFTER the Threading plugin was installed. And it worked ok.

Could this be the bug? 

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 12, 2018 - 4:36 am
Quote

I asked about 'blog comments' simple because that is the title of this topic. One of the reasons we always feel it is better to start a new topic for a new problem rather than add to one that is mainly irrelevant.

Anyway - as to your last post above I think you have a point. That I can replicate so I am investigating the code.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 12, 2018 - 6:12 am
Quote

Would you be able to try out a small code edit for me? test it on both old and new topics? If so then you would need to edit the file:

/wp-content/sp-resources/forum-plugins/threading/sp-threading-plugin.php

Locate the function:

sp_threading_postindex_select()

and change the line of code:

$query->orderby = 'post_pinned DESC, thread_index ASC';

to:

$query->orderby = 'post_pinned DESC, control_index ASC';

and let's see if that resolves it for you.

This will NOT resolve it for any existing topics that are wrong. However, you could go to the forum admin > toolbox > housekeeping and use the Rebuild Indexes tool on affected forums. Note that this task can take some time on a large forum.

andy-signature.png
YELLOW
SWORDFISH
Avatar
John Greenewald
Member
Free Members
Offline
May 14, 2018 - 11:40 am
Quote

Ok it appears that if I put a threaded reply in the final comment in the thread, it does NOT work. If I go to the second to the last comment in the thread, put a threaded reply, it works.

Any ideas with that? 

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 14, 2018 - 12:36 pm
Quote

Let's try it here again

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 14, 2018 - 12:37 pm
Quote

That seemed to work just fine...?

And can you update me on my post above please? Are you able to make the change?

andy-signature.png
YELLOW
SWORDFISH
Avatar
John Greenewald
Member
Free Members
Offline
May 14, 2018 - 2:03 pm
Quote

Yes, I did make the change as you suggested, and it's after that change where posting a reply to a final comment in a thread (one that's older than installing the Threading plugin) where it does not work. However, when I post it to an earlier comment in the same topic, it works.

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 14, 2018 - 3:17 pm
Quote

I am unable to reproduce on either new or old topics at the moment,

I have asked for confirmation that the latest post problem is corrected however. Can you confirm this?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626