Adding time and date to messages
I want to add time and date to messages, which are sent in the forum.
I found the following information on your site. But I´m sorry, my PHP skills are not very good…
$activity_id = bp_activity_add( $args );
(optional) The time the activity is recorded. Should be in GMT, MySQL format. (In PHP, date( ‘Y-m-d H:i:s’, $time ).) Defaults to the current time.
bp_activity_add() is located in bp-activity/bp-activity-functions.php
I found the file (Source) but now I don´t know how to put this together, to make it work.
Could you please help me?
- You must be logged in to reply to this topic.