Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
What would cause the recent forum posts widget to not update?
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 28, 2014 - 10:50 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 8:21 am

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 10:58 am

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

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 11:37 am

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/docum.....ays-posts/

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 4:24 pm

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')

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 4:53 pm

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...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 8:42 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 9:59 pm

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?

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 10:00 pm

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

http://thehomesteadingboards.c.....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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 10:06 pm

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...

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: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625