Change History
(6)
#1
@jaredatch
12 years ago
-
Cc
jared@… added
-
Keywords
visual editor images removed
-
Milestone
changed from Awaiting Review to Future Release
-
Summary
changed from Upload and insert images from visual editor to Allow users to upload/insert images using TinyMCE
-
Version
trunk deleted
I've talked to jjj about this a long time ago. I know it's something we like to do at some point, but it just isn't high priority compared to the moderation/performance features.
We also discussed how it would be an interesting challenge. The uploader would need to be locked down to only allow a small subset of file types. Additionally, it would be hard to use the WP media gallery/uploader because you do not want the user to be able to see the contents of your entire media gallery.
So we'd need to customize and lock down the WP media uploader or come up with our own, both which are no small task :)
#2
@tbermudas
12 years ago
Thanks, I don't know how it works... but there was a plugin, the U buddypress forum editor, I never used it because is not working, but maybe it is a good starting point.
#4
@Stagger Lee
10 years ago
Is it not possible with this ?
Limit users to see only own uploaded files (doesnt apply to Admins):
function filter_my_attachments( $wp_query ) {
if (is_admin() && ($wp_query->query_vars['post_type'] == 'attachment')) {
if ( !current_user_can( 'activate_plugins' ) ) {
global $current_user;
$wp_query->set( 'author', $current_user->id );
}
}
}
add_filter('parse_query', 'filter_my_attachments' );
Then activate media button in reply form with this:
add_filter( 'bbp_after_get_the_content_parse_args', 'tp_bbpress_upload_media' );
function tp_bbpress_upload_media( $args ) {
$args['media_buttons'] = true;
return $args;
}
Seems it is all needed. Insert image inline in reply with text and visual editor. Size, styling and captions are easy to do and style.
#5
@Robkk
10 years ago
There is a plugin that piggybacks off of
BuddyPress, but it does the exact functionality of what we expect.