Jump to content

last post date


Arash.Ranjbar
 Share

Recommended Posts

hi

I want to show user's last post date in profile header. so I use blow code but it doesn't work an display the same time for all users

{{if $member->member_id == \IPS\Member::loggedIn()->member_id}}
            {{$userlastpost['lastpost'] == \IPS\Member::loggedIn()->member_last_post;}}
            <li>
              <h4 class='ipsType_minorHeading'>{lang="activity_member_last_post"}</h4>
                <span>{datetime="$userlastpost['lastpost']"}</span>
            </li>
{{endif}}

whats the problem?

Link to comment
Share on other sites

  • V0RT3X locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Um unsere Webseite für Sie optimal zu gestalten und fortlaufend verbessern zu können, verwenden wir Cookies. Durch die weitere Nutzung der Webseite stimmen Sie der Verwendung von Cookies zu. Weitere Informationen zu Cookies erhalten Sie in unserer Privacy Policy.