Notifications
Clear all

wpForo 1.x.x [Solved] How to put video controls code in posts

25 Posts
4 Users
4 Reactions
3,740 Views
Posts: 44
Topic starter
(@gilbau)
Trusted Member
Joined: 4 years ago

Thank you for that, but what was the problem because I have to correct it in an other website

I saw you ad in tools menu and Options to control and filter post content

, div(class id style)

But it seems that there is another thing i dont see

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@gilbau,

Go to wp-content\plugins\wpforo\wpf-includes open function.php and delete the below code

$text = preg_replace('#(?:{\w+})?:[^/.\s]+:#iu',                     '', $text);
Posts: 44
Topic starter
(@gilbau)
Trusted Member
Joined: 4 years ago

Thanks again , so i delete this code in functions.php but in my main forum the problem remain at https://www.vivrenu.com/forum-du-naturisme/reportages-emissions-tv/1974-08-04-ina-congres-naturiste/ the elite video shortocde  dont work

And i check in comparing all the files between my test website and the main website and there is no other differences in the files. So I think you have change another third thing 

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@gilbau,

Open wp-content/plugins/wpforo-emoticons/wpforosmile.php find

wpforo_strip_shortcodes

and dellete it.

Posts: 44
Topic starter
(@gilbau)
Trusted Member
Joined: 4 years ago

Now that works fine now

thanks very much

Page 3 / 3