Hi Brajesh. I'm going to "investigate" how to add the image, video, audio icons for uploading to Wire/Wall post form like we have on the Activity status or "what's new" form when BP Gallery is enabled. Direction or actual code ;-) will be welcome in the meantime. K, now I go to dig into code ... Cheers.
-
Posted 1 year ago #
-
Ok, eating pecan pie for dessert helped me add the icons to the wire/wall post form. Opened up gallery-screen-functions.php and copied lines #363-# 394 to add upload buttons to activity stream; pasted on below the filter for gallery posting via activity; and made some revisions
- deleted
if(!gallery_is_activity_stream_upload_enabled()) return;- changed function to
gallery_upload_buttons_for_wire
- change action tobp_after_wire_post_formCool. Successful up to a point. I could upload image via icon added under Wire Post Form to a specific Gallery. But:
1) The image posted does not appear in Wire page.
2) Opening the Gallery where image was uploaded via icon under Wire, the number of photos show correctly but the image is not generated in any way - not in list of images.
3) Amazingly, said image appears in activity stream and when you click on the image in activity stream, it opens up to it's on single image page.Back to the drawing board. Btw, am doing this for an install with WPMU 2.9.2 with BP 1.2.4.1 and BP Gallery RC4update2 :-)
Posted 1 year ago # -
What a coincidence! Just the environment I'm running! :)
That should be a great feature. I've been trying to figure out how to embed single media into things like posts and forum posts.
Posted 1 year ago # -
Hi Mercime,
You went in the right direction but the images will not be embedded in wire by default. I am working on something which will allow you to do the same without much code. Please allow me 3-4 days and you will have it . If I miss it in the upgrade, please do remind me the same day and I will put the code. Actually, I am working to allow embedding of gallery files on same network/cross network and that will open the opportunity for multiple things like embedding in forum posts/wire and so on.Thanks
BrajeshPosted 1 year ago # -
Will that also put images in forum posts?
Posted 1 year ago # -
"like embedding in forum posts/wire and so on."
Brajesh, thank you. It was fun trying to make it work via wire ... at least I got the image appeared in the activity stream, LOL.
Cheers.Posted 1 year ago # -
what ever happened to this? Is it possible to post gallery items (upload media) to someone's wire?
Posted 9 months ago # -
@reboot,
I dropped this since the bp-wire needs a much needed upgrade for threading and better look.I am not sure when I will have an update of wire with threads, but once that is available, I will simply put the functionality in gallery.
btw, if you want to embed gallery media into the wrire posts, please install the BP Gallery media Embedder plugin.
Posted 9 months ago #
Reply
You must log in to post.