Notifications
Clear all

wpForo 1.x.x [Solved] How to stop wpForo from auto embedding image urls?

6 Posts
2 Users
1 Likes
863 Views
Florian
Posts: 92
Topic starter
(@florian)
Trusted Member
Joined: 3 years ago

I don't want to automatically transform image URLs into embedded images.

I asked that question before and I was told that TinyMCE is responsible for that, not wpForo. But when I inspect the image with Chrome developer tools, it has a class called "wpforo-auto-embeded-image". Does that indicate wpForo is responsible for embedding the image?

Topic Tags
5 Replies
Sofy
Posts: 4057
 Sofy
Admin
(@sofy)
Support Team
Joined: 5 years ago

Hi @florian,

I'm sorry, but there is no option to disable it.

You should make some customization for this in the wp-content/plugins/wpforo/wpf-includes/functions.php file, find the wpforo_content_filter function and comment out the second line of the function, as shown in the screenshot below.

However, you should keep this topic as this is not an update safe way. All changes will be lost after the plugin update. 

Florian
Posts: 92
Topic starter
(@florian)
Trusted Member
Joined: 3 years ago

Thank you, I will try that!

Florian
Posts: 92
Topic starter
(@florian)
Trusted Member
Joined: 3 years ago

Thank you, it works. Is there no way to override this update-safely? Would you consider making this an optional settings in future updates?

1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 5 years ago

Support Team
Posts: 4057

Dear Florian,

 Is there no way to override this update-safely

I'm sorry but not. Just keep this topic or safe somewhere (in some file) the information. 

Would you consider making this an optional settings in future updates?

We'll take it into consideration for future releases. 

Florian
Posts: 92
Topic starter
(@florian)
Trusted Member
Joined: 3 years ago

Thank you for your help!

Share: