Support Forum

What would cause the recent forum posts widget to not update?

72 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

The problem here is that we are talking about guests. Users without an account. There is NO new posts list or cache stored for these people as we have no way of identifying them. They have no permanent presence in the database… New and unread post lists for them are completely created at page load.

KV kvr28
kvr28
Member

So I’ve been playing around on my staging server and the template tags, I download php sidebar and have been testing the different tags, every single one works perfect except for recent posts widget and recent posts tag, the recent posts today worked perfect and reset at midnight, the latest posts I added 300 to the code and it showed them all, newest topics worked perfect and updated when a new one was made and recent posts still stuck to the 55, strange

MP Mr Papa
Mr Papa
Member

can you explain further?  what does reset at midnight mean?

KV kvr28
kvr28
Member

the today’s posts template tag, it shows the posts for just the day

The Template Tag Todays Posts displays the posts made since midnight including multiple posts from one topic. If no posts found there is not output displayed.

https://simple-press.com/documentation/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-todays-posts/

KV kvr28
kvr28
Member

here’s a idea, since the todays posts tag works, is there anyway I could insert that in place of the new/recently updated topics drop down menu?

sp_TodaysPostsTag('itemOrder=T&&limit=20')

MP Mr Papa
Mr Papa
Member

oh, I saw recent and missed today… lol, the recent and today dont really go together ;)   today’s posts…

you cannot really replace the quicklinks with the output of the todays posts…  at least not in the same format… the quicklinks require specific formatting and js applied to it…

I dont understand the 55 part at all… there is no such magic number really any magic number for the recent posts other than the number you specify to show…

KV kvr28
kvr28
Member

I don’t know, I disabled every wp and sp plugin and switched to 2014 theme trying to see if there was a conflict somewhere and it still shows the same recent threads from 3 days ago, so I removed the drop down and the display under the forum groups until I can figure something out, it makes the forum look like there is no activity when the topics are not updating

MP Mr Papa
Mr Papa
Member

so is this occurring on your staging server too?  is that web accessible?  that is, can we get ftp and admin access to it to do some debugging?

KV kvr28
kvr28
Member

I think I might have found a clue, not sure what is causing this, if you look at this forum

http://thehomesteadingboards.com/forums/the-compost-bin-1/page-74/

threads from 3 years ago are showing before threads from 9 months ago

I checked the properties of the zombie portraits thread

Group ID 2
Group Title The Outhouse
Forum ID 5858
Forum Title The Compost Bin
Forum Slug the-compost-bin-1
Topics in Forum 1307
Topic ID 6622
Topic Title Zombie Portraits
Topic Slug zombie-portraits
Posts in Topic 4
Topic Started 27 May ’12 – 8:36 am
First Post ID 6622
Last Post ID 11102
This Post ID 6622

I checked the one right below it from 9 months ago

Group ID 2
Group Title The Outhouse
Forum ID 5858
Forum Title The Compost Bin
Forum Slug the-compost-bin-1
Topics in Forum 1307
Topic ID 10649
Topic Title lol, awesome
Topic Slug lol-awesome
Posts in Topic 1
Topic Started 3 Mar ’14 – 7:37 pm
First Post ID 10649
Last Post ID 10649
This Post ID 10649

the 3 year old thread has a higher last post ID then the 9 month old, all the forums are showing the same thing

MP Mr Papa
Mr Papa
Member

not sure how that would affect it… its on page 74… we wouldnt get that deep in getting the latest… you have 73+pages of ‘newer’ posts…

my guess, you moved those posts from another topic into this one… is that possibe? still wouldnt affect the latest…

KV kvr28
kvr28
Member

no, but we did import from mingle to bbpress to simple press, the bbpress import was a cluster the whole way through, kicking myself in the rear for not going to simple press, give me a second and I will set up my test account with admin creds on the staging server and pm you the info along with sftp

MP Mr Papa
Mr Papa
Member

Please be sure to PM to yellow swordfish, Ike and myself…

MP Mr Papa
Mr Papa
Member

so just to check, the recent posts widget exhibits the same behavior on the staging server?

wont be tonight for me…  last night my son is home before heading back to college…

KV kvr28
kvr28
Member

yes it does, I will set it up on the forums so you can see when logged in as admin