Notifications
Clear all

Compatibility question: How to sync wpForo Advanced Attachments with WordPress Media Library (for WP Offload Media / S3)

2 Posts
2 Users
0 Reactions
152 Views
Posts: 1
Customer
Topic starter
(@carlo-tumaliuan)
Member
Joined: 5 months ago
[#14594]

Hello wpForo Support Team,

I am currently using wpForo alongside the wpForo Advanced Attachments addon. For cloud storage delivery, I use the WP Offload Media plugin connected to Amazon S3 and Cloudflare.

In the core wpForo settings, I have enabled the option "Insert Forum Attachments to Media Library". However, because I am using the Advanced Attachments addon, the files skip the standard WordPress Media Library upload hooks and go directly into the custom /wp-content/uploads/wpforo/ folder structure. As a result, WP Offload Media cannot detect the files to offload them to S3.

Could you please guide me on the correct action hook or filter to use specifically for the Advanced Attachments addon? I want to create a custom function that programmatically registers the files into the WordPress Media Library (wp_insert_attachment) the moment they are successfully attached to a post/topic, so that third-party offloading plugins can intercept them.

Any code snippets or specific hook recommendations (e.g., an AJAX-safe upload hook tailored to the addon) would be greatly appreciated.

Thank you for your time and excellent plugins!


1 Reply
Posts: 4250
 Tom
Admin
(@tomson)
Famed Member
Joined: 11 years ago

Hi @carlo-tumaliuan,

wpForo Advanced Attachments addon and WP Offload Media plugin are not integrated or compatible plugins. They are developed by different theme and they cannot work together as you expect. I'm really sorry but the Advanced Attachments addon is not designed to offload files to S3. 


Reply
Share:
Scroll to top