Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2008
Posts: 12
I
stranger
stranger
I Offline
Joined: Oct 2008
Posts: 12
I am using an external post island outside the form so that I can have an automated list of the latest posts show on the front page of a site, however the forum is not very active at the moment so I need to extend the definition of "latest posts". I assume it must be defined somewhere as "within the last month" or "last three months" or "last year' etc- where do I find this setting in the admin area?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is currently defined in the file cache_builders/post_island.php. Line 68 you'll see this:

PHP Code


$one_month = $html->get_date() - (86400 *30);

 

Change the 30 in that line to how many days back you want.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Gizmo, Nightcrawler), 553 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)