Opened 12 years ago
Last modified 11 days ago
#2313 new enhancement
Allow users to upload/insert images using TinyMCE
Reported by: | tbermudas | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | General - Content Creation | Keywords: | |
Cc: | jared@…, pericam@…, robkk17@… |
Description
Member can insert an image by URL like now and: uploading from their computer via uploader to insert the image in the content. Possibility to set size and align.
Change History (6)
#1
@
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
#2
@
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.
#3
@
12 years ago
For those who find this ticket, the best known third party alternative is http://wordpress.org/extend/plugins/gd-bbpress-attachments/
#4
@
10 years ago
- Cc pericam@… added
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
@
10 years ago
- Cc robkk17@… added
There is a plugin that piggybacks off of BuddyPress, but it does the exact functionality of what we expect.
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 :)