Phpbb3 U koji dio foruma moram ubaciti skriptu

U koji dio foruma moram ubaciti ovu skriptu? :hmmmmmm:

Add the javascript snippet to the HTML on your page template right before the closing head tag or anywhere between the open and close body tags. The higher up you place it in your page code, the sooner it will begin to work when your pages load.

yoursite.com page title .
[code=php]<span class="syntaxhtml"><span class="syntaxdefault"></span><span class="syntaxkeyword"><!--&nbsp;</span><span class="syntaxdefault">BEGIN&nbsp;Tynt&nbsp;Script&nbsp;</span><span class="syntaxkeyword">--><br />&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">script&nbsp;type</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"text/javascript"</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span class="syntaxdefault">document</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">location</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">protocol</span><span class="syntaxkeyword">==</span><span class="syntaxstring">'http:'</span><span class="syntaxkeyword">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;</span><span class="syntaxdefault">Tynt</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">Tynt</span><span class="syntaxkeyword">||[];</span><span class="syntaxdefault">Tynt</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">push</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'dBUQ3I9Yer4z5Oacwqm_6r'</span><span class="syntaxkeyword">);</span><span class="syntaxdefault">Tynt</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">i</span><span class="syntaxkeyword">={</span><span class="syntaxstring">"ap"</span><span class="syntaxkeyword">:</span><span class="syntaxstring">"Read&nbsp;more:"</span><span class="syntaxkeyword">};<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(function(){var&nbsp;</span><span class="syntaxdefault">s</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">document</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">createElement</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'script'</span><span class="syntaxkeyword">);</span><span class="syntaxdefault">s</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">async</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"async"</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">s</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">type</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"text/javascript"</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">s</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">src</span><span class="syntaxkeyword">=</span><span class="syntaxstring">'http://tcr.tynt.com/ti.js'</span><span class="syntaxkeyword">;var&nbsp;</span><span class="syntaxdefault">h</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">document</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">getElementsByTagName</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'script'</span><span class="syntaxkeyword">)[</span><span class="syntaxdefault">0</span><span class="syntaxkeyword">];</span><span class="syntaxdefault">h</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">parentNode</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">insertBefore</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">s</span><span class="syntaxkeyword">,</span><span class="syntaxdefault">h</span><span class="syntaxkeyword">);})();<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault"></script><br /></span>&nbsp;&nbsp;&nbsp;&nbsp;<!--&nbsp;END&nbsp;Tynt&nbsp;Script&nbsp;--></span>[/code]
. . .

Kao što piše, prije nego zatvoriš
Znači…

skripta…

[quote=“Chris”]Kao što piše, prije nego zatvoriš
Znači…

skripta…

[/quote]

Ma dobro to nego me zanima gdje je moram ubaciti u koji dio foruma , jeli npr. u overall_header ili ??

Potrazi u kojem se dijelu nalazi , mislim da ga nece biti na vise mjesta od jednog. Overall_header bi moglo biti to mjesto.

izgleda da nije u overall_header ,kad ubacim skriptu izbaci mi nekakav error na forumu

Koji error?

http://img405.imageshack.us/img405/6739/screenshot55y.png

http://img145.imageshack.us/img145/8661/screenshot56qr.png

Probaj tocno prije closing ili probaj prije .

Ako ni to ne radi onda stavi prije ali u literal tagove:

{literal}
tvojkod
{/literal}

:slight_smile: probat cu pa javim šta je bilo

ma kakvi ,nece nonstop izbacuje error, ma nema veze hvala na trudu :slight_smile:


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja