Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-06-05 21:01:22
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
comment.saved
Callback for comments that are saved complete with commentid.
Offline
#2 2012-06-06 04:00:32
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: comment.saved
I’m considering a core-file edit to get around this limitation for a current plugin, or a tricksy get-hash-value-of-comment pre-save (comment.save) and compare if commented != Null. Make my life easier, add a call back and a mechanism to get the $rs value.
Offline
Re: comment.saved
Please try r3805.
Offline
Offline
#5 2012-06-06 13:58:17
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: comment.saved
Yes. That’s absolutely awesome. THANKS!
Offline
#6 2012-06-07 03:44:32
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: comment.saved
Errr… Maybe I’m daft, but how am I supposed to get that array?
Offline
#7 2012-06-07 04:39:55
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: comment.saved
nm… I’m stuck on stupid
$argv = func_get_args();
Offline
Re: comment.saved
Eric, fork this!
Offline
Pages: 1