Нашел несколько модов, в основном на java.
Понравился этот:
Код: Выделить всё
###############################################
## Hack Title: Forum Layer PM Alert
## Author: Mike D <mike@aaitechnologies.co.uk>
Description: Many of you are probably aware that the PHPBB forum private messages alert popup gets blocked by microsoft service pack2 and the google toolbar, this quick hack replaces the standard popup window with a floating layer in the left of the window alerting users to a new private message.
If you use this script on your forum all I ask is you make a few usefull posts on my forum or
place a link to my site/forum.
Updates available at: http://www.aaitechnologies.co.uk/chat/viewtopic.php?t=53
##
## Installation Level: Easy
## Installation Time: 1 minute
##
## Files To Edit: 1
## /templates/{ThemeName}/overall_header.tpl
##
##
## Support: http://www.aaitechnologies.co.uk/chat/viewtopic.php?t=53
## Copyright: ©2004 Forum Layer PM Alert 1.0.0 AAITechnologies.co.uk
#
#-----[ OPEN ]------------------------------------------
#
/templates/{ThemeName}/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
#
#-----[ REPLACE WITH ]------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
document.write('<div id="TopLeftPM" style="position:absolute; top:0; left:0; width:180; height:30; background-color:646464"><font color=ffffff>You have a new <a class="mainmenu" href=/forum/privmsg.php?folder=inbox/><B>Private Message</B></a></font></div>')
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Script created by Mike {at} http://www.aaitechnologies.co.uk/chat/viewtopic.php?t=53 -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
you can modify the style using either external or inline styles
Remember replace "forum/privmsg.php?folder=inbox/" with the URL of your PM page.
and thats it.
добавил ещё одно условие
Код: Выделить всё
'{PRIVATE_MESSAGE_INFO}'!="You have no new messages"
Вот хотел узнать можно через яву как-нидь получить кол-во новых сообщений в папке "входящие"?