Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Hoodie Mark
    Participant

    @hoodiemark

    I need to do the exact same thing. @Matilde did you ever find an easy solution?


    Hoodie Mark
    Participant

    @hoodiemark

    I think i now realize i’m viewing buddypress in a fundamentally wrong way but this is probably a testament to how well buddypress ‘feels’ integrated with wp. The theme folders of buddypress need to be viewed as an extension of a wordpress plugin rather than a template file hitting primarily the wordpress core as typical template files do. That being said i should be focussing my effort on plugin filtering/hooks and doing my activity stream tweaks as a separate plugin that listens for new blog posts and then does whatever required actions i throw at it. Am i closer to enlightenment now?


    Hoodie Mark
    Participant

    @hoodiemark

    i’m doing this in my template in activity/entry.php
    My goal is to filter wordpress posts of a particular category so i can grab some post meta data and make some really cool things happen in my activity streams.

    Wish i could help out and update the codex but i don’t have the buddypress function knowledge to be an authority there (yet). Just a few snippets/examples in there i think would go a long way to make it all click. I totally understand though that this is a large endeavor to maintain/develop on one path and document/support on another.


    Hoodie Mark
    Participant

    @hoodiemark

    @nuprn1 i tried:
    if ( ‘new_blog_post’ == bp_get_activity_type() ) : echo $secondary_item_id => post_id; endif;
    but still can’t get the post_id

    The codex docs are pretty darned incomplete and without any examples it’s really hard to deal with the buddypress functions/filters. Any hints on how i echo that post id????


    Hoodie Mark
    Participant

    @hoodiemark

    This was a really helpful discussion for me. I understand the group/forum relationship so much better now and it seems to simply break down to semantics. You could even use the Facebook “page” analogy with groups where peeps become a fan of or join a page (group) and there are child features therein.
    So this could in theory be fixed for some folks/clients by altering the labeling of groups to fit the site… no? (i.e. change Group to Discussion Group, Page, or [site name] Forum)

    Please give me the smack-down if i’m off base here. I don’t want to misinform.


    Hoodie Mark
    Participant

    @hoodiemark

    Ok i get that in theory but the syntax here isn’t making sense. Got the type conditional to work but can’t echo the secondary_item_id object. I really wish the codex for buddypress was as easy to get info from as the wordpress codex. Thank You so much though… you’re the first person to respond to any of my posts.


    Hoodie Mark
    Participant

    @hoodiemark

    are you referring to the dynamic name within the page title tags? I’m having an issue there as well https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-using-latest-post-id-for-each-activity-entry-and-each-page-title/ but i’m getting no forum love. :'(


    Hoodie Mark
    Participant

    @hoodiemark

    Fixed it! I had some mismatch going with my custom MU themes where the theme that was appearing wasn’t set to active by MU since i had a backup of my theme in the themes folder (with the same styles.css and same theme title… doh!)
    Also one more caveat not mentioned in the bp-language process is that the overrides don’t seem to apply to existing activity but rather new activity. That makes for some interesting testing if you’re not aware of it.


    Hoodie Mark
    Participant

    @hoodiemark

    Wow… i’ve tried the exact steps require over and over today. Still no luck. I even tried inserting a die() in bp-custom.php to verify that file is being called and it is. Anyone else ever encounter this? Are there some special poedit settings i missed?

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar