- You are here:
- Main › Forum › Application Support
cbb Autowords problem
3 posts
• Page 1 of 1
- Leinad4Mind
- Posts: 213
- Joined: Thu Oct 15, 2015 10:10 pm
Sun Aug 02, 2020 10:21 pm • via Web
Hi there, canidev,
I've a problem with autowords. When enabled and with phpbb media embed extension enabled priori, it makes pages with youtube video to stop working. (Flatboots and prosilver, but prosilver its harder to see a problem, you need to go to editing a post that has a youtube video and then try to on the Polls tab for example, it will not work. All JS stops working)
Btw I didnt set any word to autowords yet. Dunno if thats a problem...
I've a problem with autowords. When enabled and with phpbb media embed extension enabled priori, it makes pages with youtube video to stop working. (Flatboots and prosilver, but prosilver its harder to see a problem, you need to go to editing a post that has a youtube video and then try to on the Polls tab for example, it will not work. All JS stops working)
Btw I didnt set any word to autowords yet. Dunno if thats a problem...
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Mon Aug 03, 2020 3:33 pm • via Web
Hi,
Try with this change:
1. Open /ext/canidev/core/lib.php
2. Find:
3. Replace with:
Try with this change:
1. Open /ext/canidev/core/lib.php
2. Find:
- Code: Select all
$text = preg_replace('#(<(?:img|br|hr|input).*?)(?<!/)>#i', '$1/>', $text);
3. Replace with:
- Code: Select all
$text = preg_replace('#(<(?:img|br|hr|input|iframe).*?)(?<!/)>#i', '$1/>', $text);
- Leinad4Mind
- Posts: 213
- Joined: Thu Oct 15, 2015 10:10 pm
Mon Aug 03, 2020 8:01 pm • via Web
Thank you! Problem solved!
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev