Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress signatures with BuddyPress

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.

Skip to toolbar