News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Recent Topics Timeout

Started by nicola.volpi86, March 25, 2015, 04:37:17 AM

Previous topic - Next topic

nicola.volpi86

Hi
I have inserted this script in my home page:

ssi_recentTopics($num_recent = 10, $exclude_boards = array(12), $output_method = 'echo');

but I notice that I could see only the post publicized in the last 2 days, that often are less than 10.

Ho can I open this time ?

Thanks in advance

Kindred

you would have to modify the actual code in SSI.php

BTW:
ssi_recentTopics(10, array(12), null, 'echo');
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

nicola.volpi86

Thanks for your answer, but what I have to modify sin the SSI.php files ?

margarett

Looking at the code, there is no time limit. There's a limit of 35 times the number you pass in the first argument of the function call
So
ssi_recentTopics(10...........
Means that you will get topics of a maximum of 350 posts.
(if I understand the maths correctly :P )
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

nicola.volpi86

Oh I find the problem, Really thank you

Kindred

and that is done -- very carefully and with fore-thought -- because more could totally kill the server
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: