Notifications
Clear all

wpForo 1.x.x [Solved] WP_Editor for wpForo "Add media" button

4 Posts
2 Users
2 Reactions
1,623 Views
Posts: 22
Topic starter
(@etrimon)
Eminent Member
Joined: 5 years ago

Hello,

I am trying to add the "Add media" button the the wp_editor for topics and posts.

I used your filter "wpforo_editor_settings" to modify settings, but even I set the setting:

'media_buttons'  => true 

it does not work and "add media" button does not show up (the option: drag_drop_upload' => true works well, so I have no idea, why media_buttons option does not work).

Thank you very much for hints or tutorial, how to manage this problem.

Best wishes,

Etrimon

3 Replies
Sofy
Posts: 4408
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @etrimon,

This hook is provided for disabling the formatting buttons. I'm sorry, you cannot add the "Add media" button using this hook. There is no alternative one I can provide here. 

We've removed the ability to add the "Add media" button for spam protection reason. 

1 Reply
(@etrimon)
Joined: 5 years ago

Eminent Member
Posts: 22

But honestly honest, it is my problem, how I fight the spam. Right?

Can you at least give a hint where what should I do, or do I have to go all the code through by myself and edit the core files...?

Thank you very much for your time.

Tom

Posts: 22
Topic starter
(@etrimon)
Eminent Member
Joined: 5 years ago

Ok. I found it. So this can be marked as solved.

Thank you.