Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Recent Replies to Site Wide Activity

  • Avatar of gerikg
    gerikg
    Participant

    @gerikg

    can someone explain in “dumb” people talk how site activity works? Does the action send the information to site activity or does the site activity pull from somewhere…

    I’m trying to see if I can add (or at least try to) bbpress’ Recent Replies to Sitewide activity stream.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Mohit Kumar
    Mohit Kumar
    Participant

    @mohitkr05

    it is stored in database in tables..Tables are different for different type of activities…it pulls from database using sql script

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Activities are created by plugins that add those activities to 1 large table in the database that can be sorted in many ways; user, activity type, etc…

    What you would need to do is create a little mini plugin to hook into the bbPress posting actions, and have that generate an activity that you will also need to create.

    It’s easier than it sounds. Check out buddypress/bp-activity/bp-activity-classes.php and… function bp_activity_add( $args = '' ) {in buddypress/bp-activity.php for some direction. :)

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Adding replies (as well as pruning the verbiage) would make the activity stream useful. It is like telling your wife you went to the bank, but omitting the fact someone deposited $1 million in your account.

    I suggest something along the lines of :

    “You created forum topic Using Custom Userbar.php: 100 replies.”

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

You must be logged in to reply to this topic.