HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

April 17, 2024, 09:33:56 AM

Login with username, password and session length
  • Total Members: 3,885
  • Latest: Growner
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 76
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

Looking for assistance to Get Calendar Events to list in a block

Started by Bixby, January 23, 2023, 01:30:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Quote from: @rjen on January 23, 2023, 12:49:12 PM
Recent topics shows the topics most recently posted to, not most recently created...

Why do you think it is showing incorrect?

And indeed, it links to the latest post added to that topic
Running Latest TP on SMF2.1 at:


Quote from: @rjen on January 23, 2023, 05:35:53 PM
You will need to switch these date field around...

      $temp = explode('-', $event['date']);
      $event['date'] = $temp[2] . '-' . $temp[1] . '-' . $temp[0];

Temp0 is year
Temp1 is month
Temp2 is day

And replace the separators '-'  to whatever


Thank you so much. The quick and efficient support is greatly appreciated.