Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    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

    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;?>” />
    </a>

    <?php bp_activity_content_body(); ?>

    </div>

    <?php endif; ?>

    <?php do_action( ‘bp_activity_entry_content’ ); ?>`

    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.

    Thread Starter Keno

    (@tangpage)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘anyway let uploaded image show on the top instead of on the bottom, or…’ is closed to new replies.