This hack is actually two hacks rolled into one. It allows users to receive e-mail notification for posts they reply to in addition to start, and it also allows them to turn e-mail notification off or on later by editing their post. The hack is pretty smart, in that it understands the current method of doing post notification in addition to its own, and will convert from the old to new method automatically. I would have figured someone would have done this hack a long time ago, but I guess not. I feel kind of dumb writing hacks for the current version when UBB6 is right around the corner, but oh well, it only took me about an hour, and half of that was while watching Outlaw Star.
This hack is currently only confirmed to work on v5.45c, as that's the version I'm using (I stopped upgrading when all the releases were either bug fixes I had fixed a long time ago, or features I didn't want or already had
). The internals of my UBB are hacked to pieces, and I've totally rewritten several inefficient routines, so I don't know if this will work on anyone's board but mine. I guess we'll find out.
Also, I know there are a couple existing hacks out there for editing e-mail notification, but I wrote my own a while ago and don't use either, so I expect there will probably be a conflict if use one of them, but of course you all have at least a working knowledge of Perl and understand what you're doing to the code, so it won't be a problem, right?
One more caveat, this hack has the potential to spew out a lot of e-mails if you have a busy board full of people who all use the e-mail notification feature. I've limited the number of people per thread who will receive e-mail notification to 30, but you can change that if you like. If your server starts to hang and you see postings.cgi showing up a lot in top, you may want to reduce that number a ways. With all that said, you can find the hack here:
http://www.magictraders.com/ubb/emailreply.txt Please post here with your version number if you get this working successfully, I'd like to know which versions this works on. If you have any questions please ask them here first, don't e-mail me, that way everyone can benefit from the answer.
------------------
Leshrac leshrac@magictraders.com Founder, Owner -
Magic Online Trading League (MOTL)
http://www.magictraders.com MOTL Bulletin Board