Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to customize activity ”types”

  • Avatar of murasaki
    murasaki
    Participant

    @iamsincere

    Hello! Im trying to do some custom work to target activity types. Like, lets say i run an activity loop, and inside i want to list just the users name, activity, and time since. What if i wanted to display a certain element based off of that activity type, ex/ if the activity was an update, show “this”. Any ideas? I was thinking i had to create a new function similar to that of the activity action to output the data in a custom way.

    I also want to shorten the “time since” time format too, cause it’s a bit long. just want it to show either minutes ago, if longer hours, then days. Not all three. and change little things like “sam and tom are now friends” to “sam and tom are now connected” etc. Just the little stuff you know?

    Any ideas?

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

You must be logged in to reply to this topic.