This addon as karma.  


nervosaur
Posts: 1
Customer
(@nervosaur)
Member
Joined: 7 months ago

Can I use this addon as karma? I mean the total number of the likes/dislikes would be displayed below the avatar. if the user has received 10 likes and 5 dislikes, under his avatar will se -5. (sorry for my eng) Thanks. And next question, when i give like/dislike, i wanna see, if liked it before or not .

https://www.kometafans.cz/

1 Reply
Astghik
Posts: 2651
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi nervosaur,

I'm sorry, but there is no any option for this purpose. 

However, there is a wv_rating filed in the wp_usermeta table, it stores the total number of the like/dislike. You can get this value and display it using the wpdiscuz_after_label hook. 

wp_ is just a WordPress database tables default prefix. In your case, the prefix can be different.

 And next question, when i give like/dislike, i wanna see, if liked it before or not .

Once you've clicked on the like or dislike buttons, it'll change the color. The colors' value can be changed from Dashboard > Comments > Settings > Addons > Advanced Likers admin page ( the "Vote result like color/Vote result dislike color" option).

Reply
Share: