Jasiek’s Blog

Jasiek’s Blog header image 4

Entries from July 2008

Backup Exec failure detection with a script

July 13th, 2008 · Comments Off · General

Sometimes Backup Exec fails or it is left in a state that does not generate an error of any kind. I saw instances where the backup job would go into “loading…” state and would remain in this state for weeks!
Of course any good network administrator should catch it assuming that his/her job is to check [...]

[Read more →]

Tags:

phpBB and Google Analytics

July 9th, 2008 · Comments Off · General

Google Analytics code needs to be inserted before in the file:
phpBB 2: overall_footer.tpl file that located in /”forum folder”/templates/”template name”.
phpBB 3: overall_footer.html file that located in /”forum folder”/styles/”style name”/template.
like this:

[-]?View Code LANGUAGE1
2
3
4
5
6
7
8
9
10
11
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.")
document.write(unescape("%3Cscript src=’" + gaJsHost + "google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E"))
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-YOURNUMBER")
pageTracker._initData()
pageTracker._trackPageview()
</script>
 
</body>

Every template installed [...]

[Read more →]

Tags: