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 //
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
// 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 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
// Table Prefix //
Table Prefix: rga_
Show On Front: page
Page On Front: Welcome to Ambrosia. (#96)
Page For Posts: Blog (#2047)
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
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.
Age Gate: 2.16.1
Akismet Anti-Spam: 4.1.9
Blocksy Companion: 126.96.36.199
Easy Digital Downloads: 2.10.6
Easy Username Updater: 1.0.4
GDPR Cookie Consent: 2.0.4
Invitation Based Registrations: 2.2.82
Loginizer Security: 1.6.7
Media Cloud: 4.2.37
Patreon WordPress: 1.7.5
SG Optimizer: 5.8.1
Smart Slider 3: 188.8.131.52
Wordfence Security: 7.5.4
WP Maintenance Mode: 2.4.0
// MediaPress Settings //
// End of MediaPress Settings //
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.
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.
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!
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.
You must be logged in to reply to this topic.