Topic: new email blink..
hey guys i found this mod n a web site but it does not seem to work..is there a similar mod ?
i get an unrefined 1 error..
when a member get a new message it show: message 1
but you can have it like this: message 1
both nice and easier for members too see then a new messages arrived.
change it in templates/your_templates/header.tpl
save get_mail.gif above and upload it to templates/yours_templates/media/.
find this code:
<!– IF settings.enable_messaging –>
<li><a href=”{virtual_path}{ifelse:settings.fancy_urls,”1″,”account/messages/”,”index.php?
m=account_messages”}” title=”{lang:”core”,”usermenu_messages”}”>{lang:”core”,”usermenu_messages”}
<!– IF session.new_messages > “0″ –> ({session.new_messages})
<!– ENDIF –></a></li>
replace it with this code:
<li><a href=”{virtual_path}{ifelse:settings.fancy_urls,”1″,”account/messages/”,”index.php?
m=account_messages”}” title=”{lang:”core”,”usermenu_messages”}”>{lang:”core”,”usermenu_messages”}
<!– IF session.new_messages > “0″ –> ({session.new_messages})
<img border=”0″ src=”{virtual_path}/templates/your_templates/media/get_mail.gif” />
<!– ENDIF –></a></li>
we found a better solution, change this:
<img border=”0″ src=”{virtual_path}/templates/your_templates/media/get_mail.gif” />
to radioacts solution instead:
<img border=”0″ src=”{virtual_tpl_path}{session.template}/media/get_mail.gif” />
and save a copy of header.tpl before you change anything in case something goes wrong