buddydev / mediapress

The Most advanced Media Gallery Plugin for BuddyPress
https://buddydev.com/mediapress/
32 stars 17 forks source link

Uploading Media from Acivity Directory doesn't create a new activity item #41

Closed abegit closed 7 years ago

abegit commented 8 years ago

GAMEPLAN: You can add shortcode support for activity statuses function oi_add_shortcodes_to_activity_stream() { add_filter( 'bp_get_activity_content_body', 'do_shortcode', 1 ); } add_action('bp_init', 'oi_add_shortcodes_to_activity_stream');

Going to code a way to automatically add

into the current activity item so that when you DO press 'Post Update' it also includes a shortcode to the just uploaded media.

Also it might be possible to implement a repost / reblog feature using this method? The same way Default Buddypress allows to @ people by clicking on a button on their profile page.

Is this a good way to approach it?

abegit commented 8 years ago

Also unaware about how commenting caveats

sbrajesh commented 8 years ago

HI, Thank you for posting.

  1. There is no shortcode required for the purpose. Did you post the activity after uploading media. The media act as attachment of the activity.

For Repost/Reblog I suggest looking at BuddyPress reshare by imath.

If the activity attachment is not working, it might be a conflict with the theme. It will help us to assit you better if you post on BuddyDev forums.

Thank you Brajesh

abegit commented 8 years ago

Ok, started a thread on BuddyDev.com