Jump to content
Bullnose Forums

Gary's Testing On Alert Me By Email


Recommended Posts

I apologize if this causes any of you extra email, but I need a place to capture what I'm learning about the forum, and what better place than on the forum.

null_to_false: I modified this macro and effectively made it so "null" equals "true", as shown below. And that makes the "Alert me by email" tick box show up as ticked on all replies. But not on the initial post of a thread.

Note that this macro is used in a whole bunch of places, so this can't be a good approach, even if we don't care about the initial post in a thread - but we do. So, if we really want to go this way I think I will have to write a new macro called "null_to_true" and have the appropriate routines call it instead of null-to-false.

Null_to_false_set_to_True.thumb.jpg.bb561dcad2ff28f8abefe52722d5bba6.jpg

And in this case the null_to_false macro is called by the save_alert_field macro. So maybe some should be done there? At least to call a new null_to_true macro.

Note that having ticked the box once for me causes the box to be ticked the next time I replied. But un-ticking it causes it to come up unticked the next time when null_to_false is in its original state.

Link to comment
Share on other sites

I sorta "wrote" a new macro. Essentially what I did was to override the original null_to_false, then copied the original code from that macro below the overwritten macro. Then I changed the name of the macro to null_to_true. Then I went back to the save_alert_field macro and changed the call to null_to_true.

And the way it seems to work is that when I start a new thread the box isn't ticked. But when I reply the box is ticked. And if I untick it in my reply the next time I reply it is ticked again. Kinda think that might tick people off.

Basically, what I'd like is to figure out how to tick the box by default when I start a new thread, and when Joe Blow replies the box is ticked by default. But that however the box is ticked when I reply the system remembers it.

null_to_true.thumb.jpg.817b6108add97e40c02ab0ee0f730c50.jpg

Link to comment
Share on other sites

I sorta "wrote" a new macro. Essentially what I did was to override the original null_to_false, then copied the original code from that macro below the overwritten macro. Then I changed the name of the macro to null_to_true. Then I went back to the save_alert_field macro and changed the call to null_to_true.

And the way it seems to work is that when I start a new thread the box isn't ticked. But when I reply the box is ticked. And if I untick it in my reply the next time I reply it is ticked again. Kinda think that might tick people off.

Basically, what I'd like is to figure out how to tick the box by default when I start a new thread, and when Joe Blow replies the box is ticked by default. But that however the box is ticked when I reply the system remembers it.

Testing to see if being subscribed and ticking the box gets two emails.

Link to comment
Share on other sites

  • 9 months later...

Testing to see if being subscribed and ticking the box gets two emails.

It looks like the previous poster didn't bother to record the results of his tests. :nabble_smiley_oh::nabble_smiley_blush:

But if we want to modify the code we are going to have to be more diligent. And speaking of the code, it is in NAML, and a couple of tutorials are available on that here.

Link to comment
Share on other sites

×
×
  • Create New...