To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

English version - [General] iframe in post

evilmc - 07-10-2014, 16:36
Temat postu: [General] iframe in post
How to add iframe in post?
Oneitatsu - 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 - 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>

Oneitatsu - 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 - 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 - 09-10-2014, 17:32

How to update forum? Because I have a lot modification and maybe not works on new version?
Tommekk80 - 10-10-2014, 05:02

In old version html in posts didn't work like should be.
Oneitatsu - 10-10-2014, 11:49

about updating... http://przemo.org/phpBB2/...=149692&start=0 - download "update-1.12.8-manual" since you've got many mods. A lot of work, but it has to be done.
evilmc - 30-10-2014, 18:29

Oh f*ck! :)

It's possible add on topic javascript code?

Oneitatsu - 30-10-2014, 21:14

depends on script, so we need more details to be sure.
evilmc - 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>

Oneitatsu - 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 - 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?

Tommekk80 - 02-11-2014, 21:47

evilmc napisał/a:
When I update forum 1.12.8, iframe works? Right?

Yes.



Powered by phpBB modified by Przemo © 2003 phpBB Group