robbey 0 Posted April 12, 2019 Share Posted April 12, 2019 (edited) This question for the second time but as a last resort I decided to write here. I want to learn how to write Last Activity, Reputation and UserPhoto in Pages with this " $z = \IPS\Member::load( ID );." Actually I want to create a table to show members. I want to write code when they are active and how many Reputation points will be written. I know it's written in php, but my area is design. If I know how to write it then I can do my works. Edited April 12, 2019 by robbey Link to comment Share on other sites More sharing options...
webhead 0 Posted April 25, 2019 Share Posted April 25, 2019 I actually have already done the last active thing by adding a notification dot on my board that shows the last active date/time when hovered over. The code in my little plugin on my board: {{if $comment->author()->isOnline()}}<i style='font-size: {setting="onlinestatusind_size"}px' class="fa fa-circle ipsOnlineStatus_online" data-ipsTooltip title="{lang="online_now" sprintf="$comment->author()->name"}, {lang="widget_member_last_active_date" htmlsprintf="\IPS\DateTime::ts( $comment->author()->last_activity )"}"></i> {{else}}<i style='font-size: {setting="onlinestatusind_size"}px' class="fa fa-circle ipsOnlineStatus_offline" data-ipsTooltip title="{lang="widget_member_last_active_date" htmlsprintf="\IPS\DateTime::ts( $comment->author()->last_activity )"}"></i> {{endif}} Link to comment Share on other sites More sharing options...
Recommended Posts