Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

[Solved] Custom Ratings meta key  

  RSS

AAPC
 AAPC
(@aapc)
New Member
Joined: 11 months ago
Posts: 2
12/12/2019 10:56 pm  

Hello!  I'm relatively new to wpDiscuz and so far I love it!  Unfortunately, I've run into an issue that I hope you can help with. 

I'm adding wpDiscuz to a food blogger site.  The site uses a plugin called WP Tasty to create recipe cards and it also does comment ratings.  They store ratings in a comment meta key "ERRating".  When I tried to add this in wpDiscuz using the form builder, it saves the value as "errating" (lowercase) which will not work with Tasty.  Is there any way to allow upper/lowercase for the meta_key value for the Ratings field?

If the above is not possible, do you have any developer documentation for adding custom fields to the comment form?  I could write something to integrate the Tasty functionality into the form given the appropriate actions/filters for wpDiscuz.  I tried hooking into do_action('comment_form_top') but the field needs to be inside the <form> tag.

Any assistance you can provide would be greatly appreciated!


Quote
Topic Tags
Elvina
(@elvina)
Noble Member Moderator
Joined: 1 year ago
Posts: 1349
13/12/2019 3:42 pm  

Hi @aapc,

The feature will be added in the next version update.

For now, please deactivate the wpDiscuz plugin, delete it, then download and activate the new wpDiscuz plugin (it's attached below). It is should work fine.

All changes will be included in the next update. 


ReplyQuote
AAPC
 AAPC
(@aapc)
New Member
Joined: 11 months ago
Posts: 2
13/12/2019 8:33 pm  

Thank you for the quick reply!  I ended up using the "wpdiscuz_button" action to insert the Tasty ratings.  I would have preferred an action hook inside the form  and above and/or below the comment field but this worked out OK.  I will update the plugin when the next release is published.

Thanks again and love the plugin!


ReplyQuote
Share:
Scroll to top