Skip to:
Content
Pages
Categories
Search
Top
Bottom

How The Activity Select Works?


  • bepbrasil
    Participant

    @bepbrasil

    Hi everybody!

    I’m making a social network based in Flash / PHP / MySQL and I was trying to figure out how the activity SELECT works. I have to build a comment system exactly the way the Buddypress Activities works.

    I just search the BuddyPress files, but I can’t find where is the exact SELECT that builds the comments hierarchy.

    Somebody can help me?

    Thanks in advance!
    Angelo

Viewing 2 replies - 1 through 2 (of 2 total)
  • bp-activity/bp-activity-classes.php will be where all the SQL happens. Note that the Activity Stream’s database uses a MPTT structure, so unless yours does, it may be worth looking at the WP Core comments query builder.


    bepbrasil
    Participant

    @bepbrasil

    Hi Paul!

    Thank you so much for your answer! I’ll search in the file and for this MPTT structure. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How The Activity Select Works?’ is closed to new replies.
Skip to toolbar