Adding time and date to messages
-
Hi,
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…Usage:
$activity_id = bp_activity_add( $args );Parameter:
‘recorded_time’
(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.Source:
bp_activity_add() is located in bp-activity/bp-activity-functions.phpI found the file (Source) but now I don´t know how to put this together, to make it work.
Could you please help me?Thanks!!
- You must be logged in to reply to this topic.