[General] iframe in post |
Autor |
Wiadomość |
evilmc

Posty: 289
|
Wysłany: 07-10-2014, 16:36 [General] iframe in post
|
|
|
How to add iframe in post? |
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
Oneitatsu

Pomógł: 841 razy Posty: 2324
|
Wysłany: 07-10-2014, 19:43
|
|
|
1. add iframe tag into "Allowed HTML tags" line
(admin panel>general admin>configuration>posting>Allowed HTML tags).
2. switch on html for admin-rank users
(admin panel>general admin>configuration>posting>Allow HTML" for Admin's).
Now you can use iframe tag in threads. Of course default posting.php settings won't allow any html, so you must also turn off option "Disable HTML in this post" via input in post editor. |
|
|
|
 |
evilmc

Posty: 289
|
Wysłany: 07-10-2014, 21:28
|
|
|
Oneitatsu napisał/a: | Now you can use iframe tag in threads. Of course default posting.php settings won't allow any html, so you must also turn off option "Disable HTML in this post" via input in post editor.
|
what line?
and it's ok?
[ Added: 07-10-2014, 21:39 ]
Only show blank page (white)
This is my code:
Kod: | <iframe src="http://www.twitch.tv/footballmanagerofficial/embed" frameborder="0" scrolling="no" height="378" width="620"></iframe> |
|
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Oneitatsu

Pomógł: 841 razy Posty: 2324
|
Wysłany: 07-10-2014, 22:16
|
|
|
Kod: | <iframe src="http://www.twitch.tv/footballmanagerofficial/embed" frameborder="0" scrolling="no" height="378" width="620"></iframe> | that window seems ok, or at least it's working for me with the same settings you've showed. Maybe web browser you're using is killing frames - it happens. |
|
|
|
 |
Tommekk80


Pomógł: 1411 razy Posty: 4780
|
Wysłany: 09-10-2014, 06:37
|
|
|
Oneitatsu napisał/a: | that window seems ok, or at least it's working for me with the same settings you've showed |
Wersja forum - evilmc ma 1.12.6...
Trzeba zobaczyć co było zmienione w posting.php i być może jeszcze gdzie indziej. W starej wersji były problemy właśnie z html-em.
evilmc, you must update your forum to newest version. |
|
|
|
 |
evilmc

Posty: 289
|
Wysłany: 09-10-2014, 17:32
|
|
|
How to update forum? Because I have a lot modification and maybe not works on new version? |
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Tommekk80


Pomógł: 1411 razy Posty: 4780
|
Wysłany: 10-10-2014, 05:02
|
|
|
In old version html in posts didn't work like should be. |
|
|
|
 |
Oneitatsu

Pomógł: 841 razy Posty: 2324
|
|
|
|
 |
evilmc

Posty: 289
|
Wysłany: 30-10-2014, 18:29
|
|
|
Oh f*ck!
It's possible add on topic javascript code? |
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Oneitatsu

Pomógł: 841 razy Posty: 2324
|
Wysłany: 30-10-2014, 21:14
|
|
|
depends on script, so we need more details to be sure. |
|
|
|
 |
evilmc

Posty: 289
|
Wysłany: 30-10-2014, 23:13
|
|
|
This:
Kod: | <script type="text/javascript" src="http://bet.sporttifo.com/scripts/iframe.js"></script>
<script type="text/javascript">
TifoBet.show();
</script> |
|
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Oneitatsu

Pomógł: 841 razy Posty: 2324
|
Wysłany: 31-10-2014, 17:56
|
|
|
Well, i've tried, i've searched for any solution in that matter and finally came up with nothing. Since there's no direct way i recommend using files to attach such script - viewtopic_body.tpl or overall_header.tpl.
|
|
|
|
 |
evilmc

Posty: 289
|
Wysłany: 02-11-2014, 20:23
|
|
|
Tommekk80 napisał/a: | In old version html in posts didn't work like should be. |
When I update forum 1.12.8, iframe works? Right? |
_________________ Looptroop - Bandit Queen |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
Tommekk80


Pomógł: 1411 razy Posty: 4780
|
Wysłany: 02-11-2014, 21:47
|
|
|
evilmc napisał/a: | When I update forum 1.12.8, iframe works? Right? |
Yes. |
|
|
|
 |
|