Yet another question

XcapeX

Madly Diligent
Joined
Jul 30, 2008
Messages
6,397
Reaction score
0
FP$
6
Might as well post it.

On FP..the little box shows when you have a new PM. Obviously that is a Mod, which to be exact.

I'm not sure to as whether or not I'll install the mod, but if not, how to make it so when a member receives a new PM, the little popup window displays?
 
Not sure what you mean.
Go to UCP then click board preferences and then change this Pop up window on new private message, this is for users.
 
Not a MOD, just a bit of CSS and HTML.

HTML: Add into styles/xabblue/template/overall_header.html where it looks nice.)
Code:
<!-- IF not S_IS_BOT && S_USER_LOGGED_IN && S_DISPLAY_PM --> 
	<!-- IF S_USER_NEW_PRIVMSG --> 
		<div class="pm-new-notify"><div class="pm-header-notify">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div> 
	<!-- ELSEIF S_USER_UNREAD_PRIVMSG --> 
		<div class="pm-unread-notify"><div class="pm-header-notify">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div> 
	<!-- ENDIF --> 
<!-- ENDIF -->

CSS: (add to the bottom of: styles/xabblue/theme/colours.css)
Code:
.pm-new-notify, .pm-unread-notify {
	border: 1px solid #105289;
	background-color: #cadceb;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.pm-new-notify a, .pm-new-notify a:visited, .pm-unread-notify a, .pm-unread-notify a:visited { text-decoration: underline; }

.pm-new-notify { padding: 10px; }

.pm-header-notify {
	margin-bottom: 10px;
	color: #FF0000;
}
 
Back
Top Bottom