Notifications
Clear all

Points accrued before myCRED installation

4 Posts
2 Users
2 Reactions
1,542 Views
Posts: 43
Customer
Topic starter
(@wp-user)
Member
Joined: 5 years ago

Hi gVectors Team,

I've been using wpDiscuz for a while on my site and various users have received upvotes/downvotes for their contributions. Now I've recently decided to install myCRED and the wpDiscuz myCRED addon. Is it possible somehow for the votes that users have accrued previously to be added to their points total? Currently all users have 0 points. 

Kind regards.

3 Replies
Astghik
Posts: 6159
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

@wp-user,

I'm really sorry, but there is not such an option. You should manually edit the user and assign the points to user. 

Reply
2 Replies
Customer
(@wp-user)
Joined: 5 years ago

Member
Posts: 43

@astgh Thanks for the reply. I'm happy to do this manually. A follow-up question is... is there a log somewhere that lists all the upvotes/downvotes a user has received?

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6159

@wp-user,

Those are being displayed on the BuddyPress Profile > Discussions > Votes page. However, those are visible only for the current users. Admins, moderators, etc. are not able to see it. 

You can use the following hook code. So the tab will be visible for the admins:

add_filter("wpdiscuz_bpi_user_has_access_to_votes_tab", function ($hasAccess) {
return $hasAccess || current_user_can("manage_options");
});

Put the code in the active theme function.php file. 

 

Reply
Share:
Scroll to top