bukhari10
Forum Replies Created
-
Hi @vkarta
We have added a custom shortcode so you can show the total amount you have withdrawn (approved CashCred requests) on any page or profile tab.
Shortcode:
[mycred_cashcred_total]add_shortcode( 'mycred_cashcred_total', function() {
if ( ! is_user_logged_in() ) {
return '';
}
$user_id = get_current_user_id();
$total = 0;
$posts = get_posts( array(
'post_type' => 'cashcred_withdrawal',
'post_status' => 'publish',
'posts_per_page' => -1,
'fields' => 'ids',
'meta_query' => array(
array( 'key' => 'status', 'value' => 'Approved', 'compare' => '=' ),
array( 'key' => 'from', 'value' => $user_id, 'compare' => '=' ),
),
) );
foreach ( $posts as $post_id ) {
$points = (float) get_post_meta( $post_id, 'points', true );
$cost = (float) get_post_meta( $post_id, 'cost', true );
$total += $points * $cost;
}
return 'Total withdrawn: <strong>' . esc_html( number_format( $total, 2 ) ) . '</strong>';} );Thanks & Regards
WP Experts Support TeamHi @vkarta
I hope you are doing well. Please confirm which plugin you are using for the user profile.
Best Regards,
myCred Support TeamHello @vkarta
Thanks for contacting us,
You are trying to display the total withdrawal amount for a user on their profile, which is currently not supported by the cashCred addon.
But we can look at possibilities after discussing with our technical team.
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @vkarta
Thanks for contacting us.
Currently, there is no option to show the total amount that the user has withdrawn from their account. There is no shortcode or Gutenberg block related to it. Please confirm are you using CashCred to withdraw points or any other myCred addon?
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @ilianskia
Thanks for contacting us.
The code
if($this->buddypress['visibility']['history'] == true)was a bugged privacy check introduced in version 2.8.The Problem: It only checked if ‘Public Visibility’ was enabled. If a user set their points to private, the code incorrectly hid the table from everyone, including the profile owner themselves.
The Fix: We have removed this incorrect check. Now, even if the history is private to others, the profile owner and site admins will always be able to see their points table, restoring the behavior from version 2.7.0.
Here is the updated plugin link: https://drive.google.com/file/d/1jktKdwBekCDYAJYMJpN00fWq1tlC8n9_/view?usp=sharingIf you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @ausiuming
Thanks for contacting us.
We have identified and fixed the limit issue with Contact Form 7. Previously, the system combined the limits across all forms. We have updated the code so that the limits are now tracked individually for each Form ID. Please test it now by submitting Form A (400 points) and Form B (50 points), and confirm that points are awarded and limits are enforced independently.
Here is the updated plugin link: https://drive.google.com/file/d/1jktKdwBekCDYAJYMJpN00fWq1tlC8n9_/view?usp=sharing
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHi @debra15
Thanks for contacting us,
We have fixed the reported issue and have submitted the patch to Patchstack for review. We will release it as soon as they approve the patch.
Please let us know if you need any further clarification.
Best regards,
myCred Support TeamHello @usefulmike
We are pleased to inform you that these issues have been fixed in our recent plugin update, which has already been released. Please update the plugin, and the issues will be resolved.
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @usefulmike
We have successfully resolved the issue with the ‘Link’ and ‘Watch Video’ widgets in Elementor.
The problem was caused by a naming conflict in the widget settings that was preventing Elementor from removing them properly. We have updated the code to correct this conflict.
You should now be able to add, edit, and delete these widgets without any issues, and your videos and links will continue to display correctly.
We are also attaching the updated plugin for your reference.
https://drive.google.com/file/d/1jktKdwBekCDYAJYMJpN00fWq1tlC8n9_/view?usp=sharing
Thank you
Hello @usefulmike
Thanks for contacting us.
We have replicated the reported issue on our end and have forwarded it to our technical team for resolution. As soon as the issue is resolved, we will provide you with an update.
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support Team- This reply was modified 4 months, 2 weeks ago by bukhari10.
Hello @marcguay
Thanks for contacting us.
We are pleased to inform you that the strings have been updated and a new version has been released. Kindly update the plugin at your convenience.
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @marcguay
Thanks for contacting us.
We are pleased to inform you that the strings have been updated and a new version has been released. Kindly update the plugin at your convenience.
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support TeamHello @ravanh
We have resolved the issue you reported by applying the necessary code adjustments in the plugin. With these updates, the browser console error will no longer appear, and the badge can now be assigned to the same user multiple times without any problem.
We have attached the updated myCred plugin for your convenience. Please install it on your site, and let us know if you notice anything else.
Here is the myCred plugin file link: https://drive.google.com/file/d/1jktKdwBekCDYAJYMJpN00fWq1tlC8n9_/view?usp=sharing
TThanks & Regards
WP Experts Support TeamHello @ravanh
Thanks for contacting us.
We have fixed the issue. Some code changes were made to fix the issue. We are attaching the updated myCred plugin for your reference. Once you enter the value 0 in the ‘Maximum Earnings Per User’ field, remember to click the ‘Save All Badge Requirement’ button and then click Save to save the Badge plus post. If you do not click the ‘Save All Badge Requirement’ button, the settings will not be saved. A particular Badge Plus badge can be assigned to a particular user multiple times.
Here is the updated plugin file link: https://drive.google.com/file/d/1jktKdwBekCDYAJYMJpN00fWq1tlC8n9_/view?usp=sharing
If you have any questions, feel free to reach out. We’re here to assist you.
Thanks & Regards
WP Experts Support Team