Quote:
Originally Posted by yoyoyoyo
The code posted above is incorrect. Here is the proper code:
put this at the bottom of the header template:
Code:
<if condition="$bbuserinfo[field8] !='YES'">
<script type="text/javascript" src=" /forum/script/snowstorm.js"></script>
</if>
|
Dude,
$bbuserinfo[field8] !='YES' doesn't make any sense. Why should the Javascript be included when the Users have set the Snow-Mode to
NO?! Please get your knowledge on operators in php up to date.
@all the others: Please read all the text I posted VERY thoroughly! I didn't include the javascript in my hack because it is NOT my work. It seems that most people didn't even bother to read the first step in my list

And also the second step, which even mentions that there are files to upload!
If you follow it to the letter it works flawlessly, either in headinclude or an the end of the header template.