Skip to:
Content
Pages
Categories
Search
Top
Bottom

template tags


  • sj
    Participant

    @sojanjose4u

    am creating a new child theme and am pretty new to buddypress … can some one help

    1.modify the home activity loop so that it shows the mentions,friend activities and our activities in home page

    2.on a profile , display the displayed user activity + displayed user mentions

    3.template tag to get the activity time , and (x posted activity )message , view and delete option seperate… now i thinkl it uses bp_activity_action()

    any help be appreciated

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

  • r-a-y
    Keymaster

    @r-a-y

    1) Copy /bp-default/activity/index.php to your child theme and modify to your liking.

    2) Copy /bp-default/members/single/activity.php to your child theme and modify to your liking.

    3) bp_activity_date_recorded() might be what you’re looking for (available in /bp-activity/bp-activity-templatetags.php).

    View and delete are not separated. Check out bp_insert_activity_meta(). You could apply a filter to it.


    sj
    Participant

    @sojanjose4u

    thnx ray .. the date recorded function return date right.. not in format x minute, x hour or so ?

    bp_has_activities( bp_ajax_querystring( ‘activity’ ) )

    this returns the activities right ??? well so how should i pass the value to the function ??
    do it accept multiple parameters ?? bp_has_activities( mentions,friends )

    like that?? am nto that good with programing ..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘template tags’ is closed to new replies.
Skip to toolbar