private message coloured notification

Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets

Re: private message coloured notification

Post by wide »

Thanks.

Re: private message coloured notification

Post by am.hitek »

First post, and great snippet! But one thing: you forgot to include the "X new messages, X unread messages" part so I added it to my forum. Here is the code:

Code: Select all

<!-- IF S_USER_NEW_PRIVMSG or PRIVATE_MESSAGE_INFO_UNREAD --> &nbsp;<a href="{U_PRIVATEMSGS}" style=" color: #FF0000;">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- IF S_USER_NEW_PRIVMSG --><!-- ELSE --><!-- ENDIF --></a><!-- ELSE --> &nbsp;<a href="{U_PRIVATEMSGS}" >{PRIVATE_MESSAGE_INFO}</a><!-- ENDIF -->

Re: private message coloured notification

Post by chris1002 »

thanks for the snippet, this is a good gimek.

Chris

Re: private message coloured notification

Post by Steve »

1st post updated with an unread pm info code ;)