collapse

* User Info

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

* Who's Online

  • Dot Guests: 41
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • CHRIS-7: Hi - SMF V2.0.10 is Relased ! ;D
    April 25, 2015, 12:57:14 am
  • Advaita: hi
    April 23, 2015, 06:49:20 pm
  • player.samp: If you need help, create a topic in the support board: [link] :)
    April 21, 2015, 04:41:00 pm
  • sezing: i need help
    April 14, 2015, 03:41:27 pm
  • sezing: as
    April 14, 2015, 03:41:22 pm
  • CaLy: yup thanks ninja, i will check right now! thanks
    March 23, 2015, 07:12:16 pm
  • ♦ Ninja ZX-10RR ♦: Lol 420connect, everybody needs help anyway ;) People achieve more as a team! @CaLy, old version I think. Check your topic.
    March 23, 2015, 06:56:02 pm
  • CaLy: why i dont have SPortal2.php ?
    March 23, 2015, 12:25:51 pm
  • 420connect: .. too many ideas - not enough knowledge!
    March 23, 2015, 11:46:00 am
  • 420connect: I feel like I am the only person who needs help with SP :P
    March 23, 2015, 11:45:42 am
  • cachencho29: hola gente e creado una web llamada liberatuandroid.com si hay algun interesado en hacer sus aporte
    March 23, 2015, 07:59:38 am
  • {OCS}MasterSeal: Just once more, I'd like to say Thank you to all involved for SP. Cheers.
    March 16, 2015, 11:45:52 am
  • Chen Zhen: newbies that post links are restricted until moderated due to spam control
    March 02, 2015, 08:44:47 pm
  • brianwilcox: I would make a support thread for it... but I can't.
    February 28, 2015, 07:34:25 pm
  • brianwilcox: Why can I not post on the forums? ;/
    February 28, 2015, 07:34:10 pm
  • CaLy: thanks and have a nice weekend all!
    February 21, 2015, 07:11:36 am
  • CaLy: ah u are right eliana, i will do that with custom block :)
    February 21, 2015, 07:11:28 am
  • Eliana Tamerin: You mean a custom block with HTML code? It's built into SP.
    February 20, 2015, 03:20:12 am
  • CaLy: what package are u using to display adsense banner at right of user info (in the middle) ? Thanks in advance!
    February 18, 2015, 07:34:47 am
  • Teetee: [link]
    February 10, 2015, 12:23:39 pm

* Recent Posts

Re: SP ShoutBox Android App? by ♦ Ninja ZX-10RR ♦
[Yesterday at 09:44:43 pm]


Re: Shoutbox refresh and page reload discrepancy by velorooms
[Yesterday at 08:50:53 pm]


Re: SP ShoutBox Android App? by velorooms
[Yesterday at 08:36:37 pm]


Re: SP ShoutBox Android App? by velorooms
[Yesterday at 08:32:30 pm]


Re: SimplePortal 2.3.6 Released! by velorooms
[Yesterday at 02:39:16 pm]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Recent Post - length of time  (Read 1597 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: 4885
  • 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: 4885
  • 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?