Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is there anyway to display a time stamp on forum posts?


  • rossagrant
    Participant

    @rossagrant

    I know posts display a ‘said 2 weeks ago:’ type message after them but is there a way to display the time and date a post was made? This would be really helpful when members can refer back to posts in later conversations. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • have to change up the theme file topic.php for that one (basically reformat $topic_template->post->post_time )


    rossagrant
    Participant

    @rossagrant

    @nuprn1
    Thanks Rich, I presume it’s this part of the topic.php file I need to change.

    Do you have any idea of what it should look like to just post the date and time?


    rossagrant
    Participant

    @rossagrant

    php echo sprintf( __( ‘%s said %s ago:’, ‘buddypress’ ), bp_get_the_topic_post_poster_name(), bp_get_the_topic_post_time_since() )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there anyway to display a time stamp on forum posts?’ is closed to new replies.
Skip to toolbar