In the ubb_forum_summary.cgi in the PM links hack (i think easy made it) for ubb 6.0, you had to put this 3 times above the: print "$ThisHTML";
$howmuch='0'; if (-e "$vars_config{MembersPath}/pm_users/$user_number.pos") { open (FILE, "<$vars_config{MembersPath}/pm_users/$user_number.pos"); &lock; $in=; $howmuch=$in; &unlock; close (FILE); if ($howmuch eq "yes") {$howmuch = "a"}; $search=""; $replace='You have '.$howmuch.' new PM in your message inbox'; if ($howmuch ne "0") { $ThisHTML =~ s/$search/$replace/gim; } else{ $ThisHTML =~ s/$search//gim; } }
In this the code to trigger a wav file when there is a new PM. Could it be possible to do a similar addition in this mod? I hope so.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.