Users browsing this thread: 2 Guest(s)
venam
Administrators
It wasn't in the class_parser.php, it was in the database, where the template are stored:
Code:
mysql> select * from mybb_templates where title like '%video_yout%';
+-----+---------------------+---------------------------------------------------------------------------------------------------------------------+-----+---------+--------+------------+
| tid | title               | template                                                                                                            | sid | version | status | dateline   |
+-----+---------------------+---------------------------------------------------------------------------------------------------------------------+-----+---------+--------+------------+
| 589 | video_youtube_embed | <iframe width="560" height="315" src="http://www.youtube.com/embed/{$id}" frameborder="0" allowfullscreen></iframe> |  -2 | 1610    |        | 1395060274 |
+-----+---------------------+---------------------------------------------------------------------------------------------------------------------+-----+---------+--------+------------+
1 row in set (0.00 sec)

mysql> update mybb_templates set template = ' <iframe width="560" height="315" src="https://www.youtube.com/embed/{$id}" frameborder="0" allowfullscreen></iframe> ' where title = 'video_youtube_embed';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0


Messages In This Thread
I'm Loki123 - by Loki123 - 29-02-2016, 08:20 PM
RE: I'm Loki123 - by venam - 01-03-2016, 01:40 AM
RE: I'm Loki123 - by venam - 01-03-2016, 02:07 AM
RE: I'm Loki123 - by z3bra - 01-03-2016, 07:03 AM
RE: I'm Loki123 - by pranomostro - 01-03-2016, 12:13 PM
RE: I'm Loki123 - by xero - 01-03-2016, 12:19 PM
RE: I'm Loki123 - by Wildefyr - 01-03-2016, 12:43 PM
RE: I'm Loki123 - by Loki123 - 01-03-2016, 12:55 PM
RE: I'm Loki123 - by pranomostro - 03-03-2016, 05:21 PM
RE: I'm Loki123 - by Loki123 - 03-03-2016, 10:55 PM
RE: I'm Loki123 - by pranomostro - 05-03-2016, 01:31 PM
RE: I'm Loki123 - by Loki123 - 05-03-2016, 07:10 PM
RE: I'm Loki123 - by pranomostro - 07-03-2016, 05:32 PM