Blinking icon then you get a new messages.

Blinking icon then you get a new messages.

Postby admin » September 17th, 2010, 11:14 pm

Then a member get a new message it show: message 1
but you can have it like this: message 1Image
both nice and easier for members too see then a new messages arrived.

Image

change it in templates/your_templates/header.tpl
save get_mail.gif above and upload it to templates/yours_templates/media/.

find this code:

Code: Select all
<!-- 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:
Code: Select all
<!-- 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})
<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

thanks emir.smajovic and radioact for your solutions
//gugu
Admin VldMods Forum
User avatar
admin
Site Admin
 
Posts: 105
Joined: 13 Aug 2010
Location: sweden
Knowledge: 6
Vld Version: 2.7
Vld Site: http://www.love2u.se

Re: Blinking icon then you get a new messages.

Postby leoleon » January 4th, 2011, 4:12 pm

hi,
but its not not work by firefox :-(
why???
leoleon
 
Posts: 12
Joined: 22 Sep 2010
Knowledge: 1
Vld Version: 2.5.3
Vld Site: http://www.myvldmods.de

Re: Blinking icon then you get a new messages.

Postby admin » January 5th, 2011, 12:16 am

okey I will check it ! but it is strange nobody had tell me this before ...
but thanks ... maybee it is some css issue ...
it can be different between ie and firefox !
I will write here later then I know thats wrong ...
//gugu
Admin VldMods Forum
User avatar
admin
Site Admin
 
Posts: 105
Joined: 13 Aug 2010
Location: sweden
Knowledge: 6
Vld Version: 2.7
Vld Site: http://www.love2u.se


Return to Free Mods

Who is online

Users browsing this forum: No registered users and 1 guest

cron