BuddyDev

Search

Connecting MediaPress to Media Cloud (Digital Ocean)

  • Participant
    Level: Initiated
    Posts: 3
    Olivia D. on #39372

    Hello! I really enjoy the concept of BuddyDev’s MediaPress and am currently setting things up. I’m looking to route all user uploads through MediaPress to the cloud via Media Cloud. I’ve reviewed the discussions in https://buddydev.com/support/forums/topic/hhow-to-connect-mediapress-to-a-cloud-server/#post-27694 and https://buddydev.com/support/forums/topic/cloud-based-image-storage/ and am having trouble coming to a clear solution. I’m no coding expert (artist/designer here!) and wanted to know if there’s anything I need to do in order to get everything sorted out? I’ve pasted the debug info below!

    // Generated by the MediaPress Debug tool //

    Multisite: No

    SITE_URL: https://twistedfates.net
    HOME_URL: https://twistedfates.net

    WordPress Version: 5.7.2
    Permalink Structure: /%postname%/

    Active Theme: blocksy-child 1.0.0
    Parent Theme: blocksy-child 1.0.0

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, abandoned, processing, active, inactive, spam, preapproval_pending, preapproval, cancelled

    // Browser Details //
    Browser Name: Firefox
    Browser Version: 89.0
    Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
    Platform: Windows
    // End Browser Section //

    PHP Version: 7.4.20
    PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,zlib,bcmath,bz2,calendar,ctype,curl,dba,dom,enchant,hash,fileinfo,filter,ftp,gd,gettext,gmp,SPL,iconv,session,intl,json,mbstring,standard,mysqlnd,pcntl,mysqli,PDO,pdo_mysql,pdo_pgsql,pdo_sqlite,pgsql,Phar,posix,pspell,readline,Reflection,imap,shmop,SimpleXML,soap,sockets,sodium,exif,sysvmsg,sysvsem,tidy,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,cgi-fcgi,memcached,ionCube Loader,Zend OPcache
    GD enabled: Yes

    //GD Info
    GD Version: 2.2.5
    FreeType Support: 1
    FreeType Linkage: with freetype
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    WebP Support: 1
    BMP Support: 1
    TGA Read Support: 1
    JIS-mapped Japanese Font Support:
    // End GD Info

    MySQL Version: 5.7.32-35-log
    Web Server Info: Apache

    WordPress Memory Limit: 40M
    PHP Safe Mode: No
    PHP Memory Limit: 768M
    PHP Upload Max Size: 256M
    PHP Post Max Size: 256M
    PHP Upload Max Filesize: 256M
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled
    SCRIPT_DEBUG: Disabled

    // Table Prefix //
    Table Prefix: rga_

    Show On Front: page
    Page On Front: Welcome to Ambrosia. (#96)
    Page For Posts: Blog (#2047)

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: Off

    DISPLAY ERRORS: On (1)
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.

    ACTIVE PLUGINS:

    Age Gate: 2.16.1
    Akismet Anti-Spam: 4.1.9
    BBSpoiler: 2.01
    Blocksy Companion: 1.8.6.4
    Branda: 3.4.5
    BuddyPress: 8.0.0
    Easy Digital Downloads: 2.10.6
    Easy Username Updater: 1.0.4
    GDPR Cookie Consent: 2.0.4
    Invitation Based Registrations: 2.2.82
    Jetpack: 9.8.1
    Loginizer Security: 1.6.7
    Media Cloud: 4.2.37
    MediaPress: 1.5.1
    Patreon WordPress: 1.7.5
    SG Optimizer: 5.8.1
    Smart Slider 3: 3.5.0.9
    Wordfence Security: 7.5.4
    WP Maintenance Mode: 2.4.0

    // MediaPress Settings //

    active_components: members,groups
    default_status: loggedin
    active_statuses: public,private,loggedin
    active_types: photo
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
    size_thumbnail: 150,150,1
    size_mid: 350,350,1
    size_large: 600,600
    single_media_size: large
    lightbox_media_size: large
    mpp_upload_space: 10
    mpp_upload_space_groups: 10
    show_upload_quota: 0
    show_max_upload_file_size: 1
    default_storage: local
    enable_file_upload: 1
    enable_remote: 1
    enable_remote_file: 1
    download_remote_file: 0
    enable_oembed: 0
    enable_debug: 0
    has_gallery_directory: 1
    activity_upload: 1
    activity_disable_auto_file_browser: 0
    activity_photo_default_view: default
    show_orphaned_media: 0
    delete_orphaned_media: 0
    activity_media_display_limit: 6
    members_active_types: photo
    members_enable_type_filters: 1
    members_photo_gallery_default_view: default
    groups_photo_gallery_default_view: default
    enable_group_galleries_default: yes
    contributors_can_edit: 1
    contributors_can_delete: 1
    groups_enable_my_galleries: 1
    galleries_per_page: 12
    media_per_page: 20
    media_columns: 4
    gallery_columns: 4
    show_gallery_description: 0
    show_media_description: 0
    enable_audio_playlist: 1
    enable_video_playlist: 1
    gdoc_viewer_enabled: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 1
    lightbox_media_only: 0
    enable_activity_lightbox: 1
    enable_gallery_lightbox: 1
    enable_lightbox_in_gallery_media_list: 1

    // End of MediaPress Settings //

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #39377

    Hi Olivia,
    Welcome to BuddyDev support forums.
    Thank you for using MediaPress.

    It seems that Media Coud plugin works out of the box with MediaPress as specified in this discussion.
    https://buddydev.com/support/forums/topic/hhow-to-connect-mediapress-to-a-cloud-server/

    MediaPress does not need any specific configuration as all the MediaPress media are WordPress attachment. If you configure the plugin to move your WordPress media to clod, that should take care of MediaPress(I am hoping, I haven’t tried the plugin).

    Please give it a try and let me know.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Olivia D. on #39392

    Hey Brajesh, thanks so much for getting back to me!
    So I’ve been checking everything out and verifying that my configuration is correct. I then proceeded to test uploading media via mediapress both through the WordPress admin panel and on the frontend in Buddypress and I’ve had no such luck getting it to copy over and serve through the cloud. I did confirm that it does in fact work when uploading through the core WordPress media uploader, though, so I think I’m getting somewhere! It’s just a matter of getting Mediapress and Media Cloud to talk to each other, I think? Please let me know what you think!

    Best wishes,
    Olive

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #39423

    Hi Olivia,
    Thank you for the reply.

    Please allow me to ask one of our team members to test and get back to you in next 48 hours.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Olivia D. on #39439

    Hey there, Brajesh,
    No worries! Thank you so much for helping me look into this! I really appreciate it! <3

    Cheers!
    Olive

  • Participant
    Level: Initiated
    Posts: 3
    Olivia D. on #39970

    Hello, were there any updates as far as this is concerned? I’m really curious to know if this is possible!

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #39978

    Hi Olivia,
    I am sorry I did not update you earlier.

    no, The cloud storage is not compatible with MediaPress. we are using 2 hooks(for generating attachment metadata and on uploading) which are different from default WordPress.

    We tried hooking Media Cloud to our hooks but the Media Cloud plugin is using closures for attaching the related code and that makes it unavailable for us.

    A solution will be to approach the Media Cloud author and request for supporting MediaPress. We can provide the details on where the minor change is needed.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved