AI Assistant
Notifications
Clear all

Points accrued before myCRED installation

4 Posts
2 Users
2 Reactions
2,427 Views
Posts: 43
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@wp-user)
Member
Joined: 6 years ago
[#7845]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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: 6 years ago

Member
Posts: 43
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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