Adding comment meta
-
Any luck with this Wayne? I’m looking to do the same thing.
Hey Wayne / Tyrun
Would this help? http://www.soapboxdave.com/2010/02/using-wordpress-comment-meta/
If you find a working solution please let me know, I’m going to play around with this as well so if I get it to work I’ll let you know.
Cheers
Jonathan
Has anyone written a plugin for this (adding/displaying extra fields for comments) that works with 2.9.2 or 3.0 yet?
Just an update, I got the Extra Comments Field plugin working on my 3.0 with a bit of code change. I posted a download for the updated plugin file here if anyone else needs it:
justbishop, download link leads to spam page. Please fix it!
Hi Hi
I am seeking the holy grail: the Extra Comments Field plugin that works !
After spending a whole day trying to get the original code to work – I;’m on the verge of paying out good money I don’t have to get it working.
Your link above is broken – any chance you could please post again ?
Thanks you
Cheerfully
Sorry about that, guys! It’s not a spam site, I just let that domain name lapse and am still debating repurchasing it. In the meantime, you can access the updated, WP 3.0 compliant version of the Extra Comment Fields plugin by Nate Weiner HERE 😉
Resolved for anyone interested see here:
http://ww.wp.xz.cn/support/topic/adding-an-extra-field-to-the-comments?replies=18
The topic ‘Adding comment meta’ is closed to new replies.
(@waynesmallman)
16 years, 2 months ago
Hi guys!
I’ve added another field to the standard comments field. I want the data in this field to be saved to the comments meta table with the ID of the comment it belongs to.
I’m trying to make use of the update_comment_meta() and get_comment_meta() functions.
So far, I’ve not been able to find any documentation here on WordPress, which has been a problem. However, I’ve managed to get update_comment_meta() working and writing data to the comments meta table.
Problem is, I can’t retrieve it — the reason being I don’t know what the ID is of the comment I’m attempting to associate the meta data with.
I’ve written up my code into a Plugin, so I’m calling from within there.
Any ideas how I grab the ID of the comment?