Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding time and date to messages


  • Rodelika
    Participant

    @rodelika

    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.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?

    Thanks!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar