collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 137
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 am
  • emanuele: [link]
    November 01, 2016, 12:43:50 pm
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 pm
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 am
  • [DFg]DJF-1975: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 am
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 pm
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 pm
  • phantomm: they say it for over 3 weeks now..
    October 21, 2016, 03:43:52 pm
  • aegersz: SMF say that bug fix 2.0.13 is coming soon ...
    October 19, 2016, 06:46:12 pm
  • Chen Zhen: check that thread at a later date as that file is not a final fix
    October 10, 2016, 03:09:18 pm
  • [DFg]DJF-1975: Thanks for the shoutbox fix file!
    October 10, 2016, 09:17:19 am
  • * Burke Knight Lurks
    October 02, 2016, 09:17:45 pm
  • [DFg]DJF-1975: Not to shoutbox spam, but I use this portal daily and I wanted to say thank you. It's been too long since I last thanked you all!
    October 02, 2016, 11:52:06 am
  • [DFg]DJF-1975: Is this project or for that matter anyone here still active?
    October 02, 2016, 11:48:04 am
  • ♦ Ninja ZX-10RR ♦: Hey :)
    September 30, 2016, 11:34:37 pm
  • aegersz: Hello SimplePortal people !
    September 30, 2016, 05:10:53 am
  • Jade Elizabeth: It's GREAT to see you too Sinan!! :D
    July 06, 2016, 02:33:26 am
  • [SiNaN]: Hey Jade! It's great to see you around! Jade!
    July 03, 2016, 06:51:31 am
  • Jade Elizabeth: Oops, sorry I mean HEY SINAN! ;)
    July 01, 2016, 11:07:13 am

* Recent Posts

Re: Shoutbox Problem After SMF Minor Upgrade by ♦ Ninja ZX-10RR ♦
[November 27, 2016, 10:38:24 pm]


Re: Shoutbox Problem After SMF Minor Upgrade by D.Va
[November 27, 2016, 10:30:27 pm]


Re: Shoutbox Problem After SMF Minor Upgrade by KathyL
[November 27, 2016, 03:05:12 am]


Re: Shoutbox Problem After SMF Minor Upgrade by D.Va
[November 26, 2016, 12:04:56 pm]


Re: Shoutbox does not load shouts in SMF 2.0.12 by newtoallthis
[November 25, 2016, 04:25:09 pm]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Recent Post - length of time  (Read 2122 times)

0 Members and 1 Guest are viewing this topic.

Offline nugget

  • Semi Newbie
  • *
  • Posts: 27
  • SMF Version: 1.1.9
  • SP Version: 2.2.1
Recent Post - length of time
« on: December 23, 2012, 07:28:42 pm »
How long does the recent post block display a post or topic?

I have a topic with not many posts and the block only shows the post for a short time then says no new topics.
I want the 'most recent' to be the latest until it is replaced with another post.

Thank you

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Recent Post - length of time
« Reply #1 on: February 25, 2013, 03:58:58 pm »
Recent post does not have to do with a length of time, but with the number of posts that have come after it.
Even if those posts come on boards that are not included in your recentposts block.

I assume that is what is going on -- you are showing the recent posts from a small number of boards.
And after that shown posts is made, a bunch more posts are made on other boards.  After that, the post disappears from the "recent" block.

Here is why:
The SSI function used by that block only checks so many posts back in your database.
That is to keep it from checking all the way back, potentially millions of posts, to the very first post ever made on your forum. That kind of checking could really slow things down.

In your case, you are already limiting the number of posts to check by limiting the number of boards to check.
So one thing you can do is have a look in SSI.php for 'min_message_id'

where you find that, in the function ssi_recentposts, you may want to change "35" to something bigger.
50 might work.  100 might work.  Depending on the ratio between how many new posts are going on the board that goes in your block and how many posts are going places that do not show up in your block, you might need an even higher number.  A ridiculously high number will put more burden on the database, and potentially even slow things down when your forum gets busy. The size of "Ridiculous" really depends on the activity of the boards involved calls to the SSI function ssi_recentPosts

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline MissyNL

  • Jr. Member
  • **
  • Posts: 73
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Recent Post - length of time
« Reply #2 on: March 07, 2013, 12:47:57 pm »
thanks for your reply :)

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Recent Post - length of time
« Reply #3 on: March 11, 2013, 01:16:58 pm »
And remember -- that 'min_message_id' appears twice in SSI.php.  Once for recent posts, and once for recent topics, so you can control these two separately.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?