PDA

View Full Version : How to add this to archive/index.php?


final kaoss
08-30-2019, 01:39 PM
Hi there I'm having a little trouble adding this to the archive/index. Every time I fire up filezilla & browse to the archive folder, open index.php I try to add this external js.

Every time I save, it gives a 500 error

Can anyone fix this? Thanks


<div id=\"copyright\">$vbphrase[vbulletin_copyright]</div>
<center>
<br> <script src="//t1.extreme-dm.com/f.js" id="eXF-vgchat1-0" async defer></script> </center>
</div>
</body>

And yes it must have those little //'s before the url..

The Tracker-code has to be copied into the source of your page integrally and without *any* changes. Only then the tracking will be accurate. If you change the code eXTReMe digital shall have the right to suspend services. The button included within the code must be visible on your page and in the size as exposed below.

Dave
08-30-2019, 01:53 PM
Around line 548, look for
$output .= "
<div id=\"copyright\">$vbphrase[vbulletin_copyright]</div>
</div>
</body>
</html>";

and replace with

$output .= "
<div id=\"copyright\">$vbphrase[vbulletin_copyright]</div>
<center><br><script src=\"//t1.extreme-dm.com/f.js\" id=\"eXF-vgchat1-0\" async defer></script></center>
</div>
</body>
</html>";

All you had to do was escape the double quotes with a slash because the $output string itself is between double quotes too.

final kaoss
08-30-2019, 03:08 PM
Thanks for that, my knowledge on coding with php is practically next to nothing.