# begin turn off e-mail notification in edit if ($in{'ReplyNum'} eq '000000' && $UseEmail eq 'ON') { $cataux = $thisthread[0]; @firstpostlinecat = split(/||/, $cataux);
if ($firstpostlinecat[1] eq '') { $DisableNotificationcat = ' Email Notification: emails sent to you whenever someone replies. Only registered users are eligible.'; } else { $DisableNotificationcat = ' Email Notification: emails sent to you whenever someone replies. Only registered users are eligible.'; } } # end turn off e-mail notification in edit
print < ** find **
$DisableSmiliesWording
** replace for **
$DisableSmiliesWording $DisableNotificationcat
thats it i think. its working fine here
quick explanation: this will give topic starters the ability to turn on/off e-mail notification by editing their 1st messages.
edit: added compatibility with "Email Features On" in General Settings options
------------------
This message has been edited by CopyCat on January 12, 2001 at 09:28 PM
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.