Notifications
Clear all

This addon as karma.

2 Posts
2 Users
0 Likes
1,732 Views
Posts: 1
Customer
Topic starter
(@nervosaur)
Member
Joined: 5 years 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: 5872
Admin
(@astgh)
Illustrious Member
Joined: 6 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:
Scroll to top