Also, if you want your members to be able to turn the hearts on and off then you can do the following:
Go to AdminCP => Profile Fields => Add New Profile field => Single Select Menu
Title: View Floating Hearts?
Description: Choose yes to have little Valentine hearts floating around.
Options:
Yes
No
Set Default: Yes, but No First Blank Option
Editable By User: Yes
Display Page: Options: Other Options
Write down your field number eg. field6
Then wrap the code in these tags.
Put this tag above the code and change the
X to your field number.
Code:
<if condition="$bbuserinfo[fieldX] != 'No'">
and put this tag at the end of the code
An example will look like this:
Code:
<if condition="$bbuserinfo[fieldX] != 'No'">
<!-- Valentine Hearts by Funinthesun -->
<script type="text/javascript" src="/images/misc/hearts.js">
</script>
<!-- /Valentine Hearts by Funinthesun -->
</if>
Done!