admin
04-04-2010, 10:15 AM
This little mod will simply enhance your Private Message alert and adds a little flash animation to the bottom right corner of your board. The flash mail box can then be clicked and will redirect to your private message box. Animation is based on forum home page and will dissapear when mailbox is read.
http://www.tabletennistalk.co.uk/forum/table/mail1.jpg
Edit template - FORUMHOME
Find
{vb:raw footer}
After add
<!-- mail -->
<vb:if condition="$bbuserinfo[pmunread]">
<a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!">
<object type="application/x-shockwave-flash"
data="/path-to-your/you-got-mail.swf"
width="150" height="250">
<param name="movie" value="/path-to-your/you-got-mail.swf" />
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
</object>
</vb:if>
<!-- end of mail -->
Save template
Upload - you-got-mail.swf to your forum root
Note: the flash file target url is based on the relative path of
/forum/private.php although this can be changed via the fla
Demo can be seen via the site ............ HERE (http://www.tabletennistalk.co.uk/forum/forum.php)
you can use the login - username: mail-test
password: 123
You will see the mail notification as the site sends an auto pm to new users - you can click the mailbox animation but please respect others and do NOT read the pm as it means the animated notification will not be shown after it is read.
Tested on ie and ff
http://www.tabletennistalk.co.uk/forum/table/mail1.jpg
Edit template - FORUMHOME
Find
{vb:raw footer}
After add
<!-- mail -->
<vb:if condition="$bbuserinfo[pmunread]">
<a style="display:scroll;position:fixed;bottom:-40px;right:-20px;" title="Click Here - new message!">
<object type="application/x-shockwave-flash"
data="/path-to-your/you-got-mail.swf"
width="150" height="250">
<param name="movie" value="/path-to-your/you-got-mail.swf" />
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
</object>
</vb:if>
<!-- end of mail -->
Save template
Upload - you-got-mail.swf to your forum root
Note: the flash file target url is based on the relative path of
/forum/private.php although this can be changed via the fla
Demo can be seen via the site ............ HERE (http://www.tabletennistalk.co.uk/forum/forum.php)
you can use the login - username: mail-test
password: 123
You will see the mail notification as the site sends an auto pm to new users - you can click the mailbox animation but please respect others and do NOT read the pm as it means the animated notification will not be shown after it is read.
Tested on ie and ff