Quote:
Originally Posted by techanalyst
I just tried adding this to the footer and it says:
Code:
<script type="text/javascript">
try {
var re_name_tag = "{vb:raw bbuserinfo.username}";
reinvigorate.track("XXXXXXXXXX");
} catch(err) {}
</script>
It comes back with this error
The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
Right. I have this with Google AdSense too. I fixed it with:
Code:
<script type="text/javascript">
var re_name_tag = "{vb:raw bbuserinfo.username}";
reinvigorate.track("XXXXXXXXXX");
</script>
(no try - catch)
if it persists, try:
Code:
<script type="text/javascript">
var re_name_tag = '{vb:raw bbuserinfo.username}';
reinvigorate.track('XXXXXXXXXX');
</script>
(single quotes for strings)
--------------- Added [DATE]1310720348[/DATE] at [TIME]1310720348[/TIME] ---------------
The final word however would be a little plugin which adds the full code to the templates at runtime = no complaints