TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,219
  • Total Topics: 21,352
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Latest Posts does not update properly.

Started by rockinaway, October 16, 2006, 06:19:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


jacortina

Well, I could stuff some extra filler into it, but it wouldn't add anything. ;)

The variable $count near the top is the number to show and is set at 3 as you're doing with the 'recentbox' now.

As mentioned, put it in a php box and give a title like you're using on the other ('Last Posts' or whatever).

rockinaway

WOW.., I always wonder how you can figure out code like that so quickly :D

jacortina

Steal it from someone else, mostly.  :coolsmiley:

Or 'adapting previously existing examples'.

But about 95% of that snippet is taken directly from the TP code which gives the recent topics block that you didn't want to use, changing it to call the ssi_RecentPosts instead of the ssi_RecentTopics.

rockinaway


This website is proudly hosted on Crocweb Cloud Website Hosting.