Hi, a small problem with this hack if the access to the PN system is not allowed by the admin for a special usergroup like "awaiting confirmation" and having the "
New user welcome PN" Hack installed.
The user get's the sound message that he has new PN but can't read the mail unless he confirms his registration and an admin has activated his account.
Solution:
find in Template Navbar:
PHP Code:
<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">
$sound
</if>
replace it with:
PHP Code:
<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">
<if condition="$show['pmstats']">$sound </if>
</if>
With this change vB first check if the PN system is activated and then play the sound. Otherwise no sound will played.