BuddyPress Activity Plus
[resolved] anyway let uploaded image show on the top instead of on the bottom, or... (5 posts)

  1. tangpage
    Posted 3 years ago #

    any where in the activity?

    Hi , everybody; )


  2. Djole
    Posted 3 years ago #


    Im also looking for this, if buddypress activity plus show image first,on top of activity content, and under text, it could be used as thumb.

    any solution...? thanks

  3. Djole
    Posted 3 years ago #

    Anybody please,this is where I came and I'm not sure why image won't show up:

    `<?php if ( bp_activity_has_content() ) : ?>

    <div class="activity-inner">

    <?php $info = pathinfo($img);?>
    <?php $thumbnail = file_exists(bpfb_get_image_dir($activity_blog_id) . $info['filename'] . '-bpfbt.' . strtolower($info['extension'])) ?
    bpfb_get_image_url($activity_blog_id) . $info['filename'] . '-bpfbt.' . strtolower($info['extension'])
    bpfb_get_image_url($activity_blog_id) . $img
    <a>" " rel="<?php echo $rel;?>">
    <img src="<?php echo $thumbnail;?>" />

    <?php bp_activity_content_body(); ?>


    <?php endif; ?>

    <?php do_action( 'bp_activity_entry_content' ); ?>`

  4. Djole
    Posted 3 years ago #

    in class_bpfb_binder.php find this:

    $content = @$_POST['content'] . "\n" . $bpfb_code;

    its a line 272, and change it to:

    $content = $bpfb_code. "\n" . @$_POST['content'];

    so it will call bpfb first and then content. With css described above, image will go on top left corner,text to right and under.

    I hope its helpful.

  5. tangpage
    Posted 3 years ago #

    it works!!!!! thank you so much, Djole! : ) i love you ;>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Activity Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.