private message coloured notification

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: private message coloured notification

Post by wide »

Thanks.
am.hitek
BBCoder II
BBCoder II
Posts: 15
Joined: 27 May 2010, 14:15

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 -->
chris1002
BBCoder II
BBCoder II
Posts: 17
Joined: 04 Apr 2010, 19:24
Location: Germany

Re: private message coloured notification

Post by chris1002 »

thanks for the snippet, this is a good gimek.

Chris
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: private message coloured notification

Post by Steve »

1st post updated with an unread pm info code ;)
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked