cadena
26 Nov 07, 20:04
Hi, friends.
Is it possible that when a user has a new PM message, it displays a different icon? (Eg, an animated icon to bring attention of the user).
I have seen this tutorial
http://www.easytutorials.org/phpbb3_tpl_privmsg.html
but I want that when the user has a new PM, then he can see an animated icon.
I tried to modify \styles\subsilver2 \overall_header.html this way:
<!-- IF S_DISPLAY_PM -->
<!-- IF S_NEW_PM -->
<a href="{U_PRIVATEMSGS}"><img src="{T_IMAGESET_PATH}/topic_unread_hot.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
<!-- ELSE -->
<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
<!-- ENDIF -->
<!-- ENDIF -->
The topic_unread_hot.gif icon is an animated icon. But I have not luck, my knowledge is limited. Perhaps someone can guide me in the right direction.
Thanks.
--
Carlos
Is it possible that when a user has a new PM message, it displays a different icon? (Eg, an animated icon to bring attention of the user).
I have seen this tutorial
http://www.easytutorials.org/phpbb3_tpl_privmsg.html
but I want that when the user has a new PM, then he can see an animated icon.
I tried to modify \styles\subsilver2 \overall_header.html this way:
<!-- IF S_DISPLAY_PM -->
<!-- IF S_NEW_PM -->
<a href="{U_PRIVATEMSGS}"><img src="{T_IMAGESET_PATH}/topic_unread_hot.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
<!-- ELSE -->
<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
<!-- ENDIF -->
<!-- ENDIF -->
The topic_unread_hot.gif icon is an animated icon. But I have not luck, my knowledge is limited. Perhaps someone can guide me in the right direction.
Thanks.
--
Carlos