Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity time stamp


  • Pete Deane
    Participant

    @pete-deane

    Hi

    I am wanting to change the format that is displayed when you add an activity to a profile. Rather than the default hours and days I would like to change it to date and time.

    Is this possible? If so could someone direct me please.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

  • danbpfr
    Participant

    @chouf1

    BP use the time/date settings you made in your WP settings.

    If you absolutely need another output only for the profile activity, you have to code something yourself.

    See in bp-activity-admin.php how it’s actually done. It’s a core file, don’t modify it.


    Pete Deane
    Participant

    @pete-deane

    I’m new to php and wouldn’t know where to start with coding the activity comments to display date and time rather than days, hours and minutes.

    I am using the activity stream as a contact trail. Admin will use it to record notes on candidates profile to show what contact they have had. Having the activity stream show date and time will make it easier to track conversations.

    If you could help me with altering the code or adding some custom code to make it work then it would be greatly appreciated.

    Thanks


    danbpfr
    Participant

    @chouf1

    im new to php: bad point, sorry for you.

    Your idea maybe honorable. but as a php  beginner, you preferably start training with something easier

    If you could help me with altering the code or adding some custom code
    I won’t change WP Core at your place.


    Pete Deane
    Participant

    @pete-deane

    Does the process have to involve altering core files?

    Is there not a different way whereby I would add some code to my themes functions file.

    Also, this is for my final year university project and is quite urgent and very important so any help that you or anyone else monitoring this post can provide would be very appreciated.

    Thanks


    danbpfr
    Participant

    @chouf1

    Search in BP’s files for “time” & “date” and also in WP and you will perhaps understand why this is not simple to modify for only one component (profile)
    Maybe creating a custom function will do that, but i don’t know how to do that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Activity time stamp’ is closed to new replies.
Skip to toolbar