Hello
i've regestered At
http://webstats.motigo.com
This Site Gives Me Some Codes To Add To Body Of Pages .
How can i Add This Code To footer of
archive pages and
printthered pages as i added to the full version of board footer ?
You need to edit your archive/index.php or make a small plugin for that.
But... what type of code is ? Javascript ?
mybbromania Wrote:You need to edit your archive/index.php or make a small plugin for that.
But... what type of code is ? Javascript ?
Thank you for your attention
yes,the type of code is javascript
<!-- Begin Motigo Webstats code -->
<!-- Title: ^^IRANIAN-IT^^ -->
<!-- URL: http://www.iranian-it.net/ -->
<script language="JavaScript" type="text/javascript" src="http://m1.webstats.motigo.com/m.js">
</script>
<script language="JavaScript" type="text/javascript">
<!--
motigo_webstats("AENWawsvknJlklbs7O30PQ/voICA", 0);
// -->
</script>
<!-- End Motigo Webstats code -->
?
mahdy2021 Wrote:?
ok.
1. backup your archive/index.php
2. open your archive/index.php with editor and find
default:
header("HTTP/1.0 404 Not Found");
echo $lang->archive_not_found;
}
- and AFTER insert:
echo "
<!-- Begin Motigo Webstats code -->
<!-- Title: ^^IRANIAN-IT^^ -->
<!-- URL: http://www.iranian-it.net/ -->
<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://m1.webstats.motigo.com/m.js\"></script>
<script language=\"JavaScript\" type=\"text/javascript\"><!-- motigo_webstats(\"AENWawsvknJlklbs7O30PQ/voICA\", 0);// --></script>
<!-- End Motigo Webstats code -->";
Or replace with this: [
attachment=9030]
I include this code inside for you.
For "printthread" page, you must to add your code in:
AdminCP --> Template (Modify / Delete)--> printthread
And find:
</body>
BELLOW insert this:
<!-- Begin Motigo Webstats code -->
<!-- Title: ^^IRANIAN-IT^^ -->
<!-- URL: http://www.iranian-it.net/ -->
<script language="JavaScript" type="text/javascript" src="http://m1.webstats.motigo.com/m.js">
</script>
<script language="JavaScript" type="text/javascript">
<!--
motigo_webstats("AENWawsvknJlklbs7O30PQ/voICA", 0);
// -->
</script>
<!-- End Motigo Webstats code -->
WoooooooOOOooooooooW!
That did it! Thank you so much!