One thing I've always hated is the Forumotion private message popup, because it's focused on in the Javascript, it seems to freeze all other Javascript.
However, with template editing we can remove that pop up and replace it with something much better, very easily.
Visit your [ic]overall_header[/ic] template[tip]Found at ACP - Display - Templates: General[/tip] and find this:
Now scroll down your [ic]overall_header[/ic] template until you find the [ic]<body>[/ic] tag. It should be near the <!-- BEGIN hitskin_preview --> loop and may have attributes.
Add this below the [ic]<body>[/ic] tag:
So you should now have a nice custom pop up in the top corner when you receive a new PM. Much nicer
To do the same with the report pop up, see this post: http://www.avacweb.com/t548-simple-private-message-pop-up#6462
#tips
However, with template editing we can remove that pop up and replace it with something much better, very easily.
Visit your [ic]overall_header[/ic] template[tip]Found at ACP - Display - Templates: General[/tip] and find this:
- Code:
[panda=html] <!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
pm.focus();
<!-- END switch_enable_pm_popup -->
Now scroll down your [ic]overall_header[/ic] template until you find the [ic]<body>[/ic] tag. It should be near the <!-- BEGIN hitskin_preview --> loop and may have attributes.
Add this below the [ic]<body>[/ic] tag:
- Code:
[panda=html]<!-- BEGIN switch_enable_pm_popup -->
<div id="LGpm">
<a href="/privmsg?folder=inbox">You have new private messages in your inbox</a>
<br />
<br />
<a onclick="this.parentNode.style.display='none';">Close</a>
</div>
<!-- END switch_enable_pm_popup -->
- Code:
[panda=css]#LGpm {
position: fixed;
top: 20px;
right: 20px;
background: #137ADA;
padding: 20px 40px;
border: 1px solid #1652EC;
font-size: 1.3em;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;
-moz-box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;
-webkit-box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;
}
#LGpm a {
color: white;
text-shadow: 0 1px blue;
font-weight: bold;
text-decoration: none;
}
So you should now have a nice custom pop up in the top corner when you receive a new PM. Much nicer
To do the same with the report pop up, see this post: http://www.avacweb.com/t548-simple-private-message-pop-up#6462
#tips