threaded comments notification

ok i guess when i wrote up my threaded comments hack, i did not include the feature where the comment author who you are replying to will get notified by email. hrm it’s just an update in your functions.php under wp-includes.

here’s my code. you can replace your old wp_notify_postauthor function with it.

like always. BACK UP before you overwrite anything.

small bug fix - spotted by ecila
:) the reply notification does not include the commenter’s email address so i added it in now.


15 Comments Leave a Comment

Bubs [ Quote ]

Thanks so much Dodo, it works! :D

January 23rd, 2005 at 8:18 pm
aline [ Quote ]

it’s working! thanks Ying zhang! :)

January 24th, 2005 at 1:06 am
Sarah [ Quote ]

Sweet Code :):):) Love it!

January 24th, 2005 at 8:26 pm
dodo [ Quote ]

test test test

January 27th, 2005 at 12:30 pm
dodo [ Quote ]

test again

January 27th, 2005 at 12:30 pm
dodo [ Quote ]

meeeeeeeeeeeeeeeeep

January 27th, 2005 at 12:31 pm
dodo [ Quote ]

??????????

January 27th, 2005 at 12:33 pm
ecila [ Quote ]

testing dodo’s treaded reply :)

January 27th, 2005 at 12:34 pm
dodo [ Quote ]

ok this is werid.. come on work!

January 27th, 2005 at 12:34 pm
ecila [ Quote ]

replying me own comment

January 27th, 2005 at 12:35 pm
jet [ Quote ]

testing your hack :P

February 7th, 2005 at 5:05 pm
jet [ Quote ]

once again :)

February 7th, 2005 at 5:08 pm
jet [ Quote ]

hrmn… you got any idea how to get this working with kubrick? the wp-comments.php is very different from the default one with kubrick. i’m not sure what to edit in it.

February 7th, 2005 at 10:05 pm
Aneesah [ Quote ]

Hi Dodo, not sure if this is the place to ask, but I downloaded the 1.5 hack, with the notification stuff in comment-function.php too, and yet the notification e-mail thing doesn’t work. I replied to other people, I replied to myself with another name and e-mail, but still there is no e-mail sent.

Do you know what might be the problem?

April 20th, 2005 at 1:22 pm
chase [ Quote ]

jet on 2/7/2005 at 5:05 pm said:

testing your hack :P

testing

February 12th, 2008 at 3:29 am

Leave a Comment Name, email and comment are required.
Email will never be displayed.

Leave a Comment
  1. :biggrin: :blank: :blush: :bored: :confused: :cool: :down: :evil: :frown: :grin: :grr: :laidback: :left: :mad: :right: :sad: :secret: :shock: :smile: :stress: :tongue: :up: :wink: :yawn: :cute: :dead: :film: :floppy: :glasses: :grumpy: :headphones: :heart: :lightbulb: :ouch: :tv: :upsidedown: :vodka: :yell: :yuck: :yummy: