Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress signatures with BuddyPress

  • WPMU 2.8.4a + BB 1.0.2 + BP 1.0.3

    I don’t know if I should be posting it here or on BuddyPress.org I integrated those three to work together. I’m was planning to use bbPress signatures by _CK_. When you click edit profile you go to the BuddyPress side. The plugin is for BBpress side. So how do I get it to work on the BuddyPress side and the forums?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have same question.

    I made a solution!

    Okay this is the fix I came up with. I created a new group in BP profile called signature and the field name signature too.

    In BBpress in the post.php I inserted (note I don’t know PHP, if anyone can shorten this would be appreciated):

    <?php if ( bp_has_profile(‘user_id=’.get_post_author_id().’&profile_group_id=XXX’) ) : ?>

    <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <?php if ( bp_profile_group_has_fields() ) : ?>

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>

    <?php if ( bp_field_has_data() ) : ?>

    <?php bp_the_profile_field_value() ?>

    <?php endif; ?>

    <?php endwhile; ?>

    <?php endif; ?>

    <?php endwhile; ?>

    <?php else: ?>

    <?php endif;?>

    Just replace XXX with your group id #, mine was 3.

    Still not the ideal _CK_ type plugin but it will do for now.


    Landon
    Member

    @leon_drake

    Ok found a good fix for this!

    in bbp_signature.php

    in function bbp_reply_content_append_user_signature & function bbp_topic_content_append_user_signature

    change

    $signature = bbp_get_user_signature ( $user_id );

    to

    $signature = xprofile_get_field_data( ‘Signature’, $user_id );

    Then in Buddypress profile fields add a field called Signature.

    Bam fixed.

    I even went ahead and added a bbcode parser to the plugin so it works real nice. you can download the full fix here

    http://vigilsoft.net/bbp-signature_buddypress_edition.zip


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @Landon – This topic is 2 years old and doesn’t pertain to the code for the version of bbPress you’re using. Can you start a new topic and I’ll delete your post here?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar