Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress equilivant of 'bbp_theme_before_topic_title' (bbPress topic hook)


  • jeffacubed
    Participant

    @jeffacubed

    This is a long shot, but I figure that maybe someone here might have the ‘quick’ answer. I’m in the process of hacking together a number of bbPress + Buddypress plugins to allow for topic thumbnail generation in Buddypress Group Forums – I’ve yet to find x1 method that gives me what I’m trying to accomplish. A combination of the BP (U Forum Attachment & Editor plugin) + a bbPress (Topic Thumbnails) might get me close to being able to display topic thumbnails for group forums (only using the BP method to manage group forms, not the more robust longer-term method of a pure bbPress group forum integration for buddypress…)

    Q: Does anyone know the BP equivalent of the hook ‘bbp_theme_before_topic_title’? The reason I ask, is that I’m trying to make the bbPress Topic Thumbnail plugin integrate within BP group forums. If it’s useful, below is the hook that the bbPress Topic Thumbnail plugin uses to place the topic thumbnail in bbPress. That plugin will grape the first take it finds in the content are of a forum topic:

    /*Hooks into the loop-topic.php output to print image*/
    add_action( ‘bbp_theme_before_topic_title’, ‘bee_insert_thumbnail’ );
    function bee_insert_thumbnail() {

    if((!bee_catch_image() == ”)){
    echo(‘‘);
    }
    }

    Using WP 3.5.1, BP 1.6.4, BB 2.2.4

    Like I said, this is a long shot for maybe someone knows the equivalent BP hook? I’ll be pouring through > but no luck, yet…

    -Jeff

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

  • modemlooper
    Moderator

    @modemlooper

    If you use bp 1.7 and bbp 2.3 then the groups will have bbp_theme_before_topic_title to hook to


    jeffacubed
    Participant

    @jeffacubed

    Awesome suggestion @modemlooper √ I’ve been meaning to test out bp 1.7 + bbp 2.3 on a multisite-dev_site, so now’s the time. I’ll let you know what I discover/uncover.

    Thx again,
    -Jeff

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Buddypress equilivant of 'bbp_theme_before_topic_title' (bbPress topic hook)’ is closed to new replies.
Skip to toolbar