Not Receiving Points for New Activity Posts/Comments/Replies
-
Hi there,
This same question was opened almost a year back and @arsalantariq posted a link to a plugin via weTransfer but the transfer has expired. Could you please post a new link as this would be exactly what I need?
Kind regards,
Nella
-
Hello Nella,
Thanks for contacting us. Hope you are doing well.
Here is the download link below.
Let me know if you have any questions. We will help you out.
Thanks & Regards,
WP Experts Support TeamHi @daniyalraza01,
Thanks so much for your swift reply! This seems to be exactly what I need but it breaks my website. It states that there’s been a critical error on my website. I turned on debugging and found that it has something to do with the ranks add-on (which I’ve disabled on my website as I have no need for it).
PHP Fatal error: Uncaught Error: Call to undefined function mycred_get_ranks() in public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php:222
Stack trace: 0 /public_html/wp-includes/class-wp-hook.php(312): myCRED_buddy_blockusers_Settings->mycred_buddypress_get_member_avatar(‘<img src=”https…’)
1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<img src=”https…’, Array)
2 /public_html/wp-content/plugins/buddyboss-platform/bp-members/bp-members-template.php(837): apply_filters(‘bp_get_member_a…’, ‘<img src=”https…’, Array)
3 /public_html/wp-content/plugins/buddyboss-platform/bp-members/bp-members-template.php(786): bp_get_member_avatar(”)
4 /public_html/wp-content/plugins/buddyboss-platform/bp-core/classes/class-bp-core-follow-following-widget.p in /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php on line 222
It’s also throwing some PHP notices.
I’m the latest using buddyboss platform 2.4.50, buddyboss platform pro 2.4.20 and the boss theme. Any way to fix this?
Kind regards,
Nella
Hey @daniyalraza01,
That was super fast, I appreciate it! The critical error is gone but, the activity feed is stuck on loading updates. This is what I’m getting from the debug log at the moment:
[23-Oct-2023 12:19:55 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php on line 255
[23-Oct-2023 12:19:55 UTC] PHP Notice: Undefined variable: ranks in /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php on line 289Kind regards,
Nella
Thanks for sharing the error.
Our team is looking into this and I’ll update you soon on this.
Let me know if you have any other questions.
Thanks
Hello Nella,
Hope you are doing well. Please try now with the below updated plugin and let me know it works fine for you.
Also, if this works then I would really appreciate you to give 5 star review on this plugin profile and mycred main plugin profile. It will be really helpful for us.
Hope to hear from you soon.
Thanks
Hi @daniyalraza01,
First off, I will definately leave a 5 star rating, you guys are so helpful and swift to react, it’s awesome!
I just tried the latest zip file you send me but the activity feed is still stuck on loading status updates. I notice that the feed does load when I enable ranks, but the site layout gets really messed up. As I mentioned before, I do not need the ranks add-on so this is disabled on my website. This is the debug log output.
[24-Oct-2023 11:38:49 UTC] PHP Notice: Undefined variable: ranks in /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php on line 290
[24-Oct-2023 11:39:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mycred_get_my_rank() in /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php:809
Stack trace: 0 /public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php(766): myCRED_buddy_blockusers_Settings->mycred_bp_user_details_display(826, ‘activity’)1 /public_html/wp-includes/class-wp-hook.php(310): myCRED_buddy_blockusers_Settings->mycred_bp_activity_content(”, Object(stdClass))
2 /public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(”, Array)
3 /public_html/wp-content/plugins/buddyboss-platform/bp-activity/bp-activity-template.php(1418): apply_filters_ref_array(‘bp_get_activity…’, Array)
4 /public_html/wp-content/plugins/buddyboss-platform/bp-activity/bp-activity-temp in /home/u238143830/domains/flirtopia.nl/public_html/wp-content/plugins/mycred-buddyboss/includes/mycred-buddyboss-blockusers.php on line 809
Kind regards,
Nella
Hello Nella,
Sorry for the inconvenience.
We had made some changes in the plugin. Please download now from the below link and try again.
Let me know if it still face any error then I’ll connect you directly to technical team.
Thanks
Hi @daniyalraza01,
I highly appreciate all your efforts but it’s still not working. The activity stream won’t load and for some reason it keeps showing the amount of credit each user has in the widgets, member directory and their profile page. I have set this to not be displayed at all. If you could redirect me to the technical team I would be very greatful as I really need this feature for my website.
Kind regards,
Nella
Hey there,
Thanks for your kind response.
Actually, It’s site specific issue. It’s working fine on our end. So we need to check this in your site.
Please create a ticket on our official website. So that we can connect you directly with our Technical team. Also, share ticket number to me.
Looking forward to getting your issue resolved.
Hope to hear from you soon.
Thanks
Hey @daniyalraza01,
One more question: Have you guys checked to see if it works when ranks are disabled?
Kind regards,
Nella
Yes it works when ranks addon is disabled.
Hi @daniyalraza01,
I seem to have found a way to make this work with the hooks provided! I only need to be able to deduct points without users having a negative balance. Right now it will deduct the points even if the user has 0 points and show -1. How do I dissalow negative balances and show them a message that they don’t have sufficient points for the action?
I found a partial code that disallows negative balances but it still allows the user to reply in the activity stream. Balance just show’s 0.
Kind regards,
Nella
The code I found on github can be viewed here:
https://gist.github.com/gabrielmerovingi/8c03987b961d85c1ddbee8654b520ed0
- The topic ‘Not Receiving Points for New Activity Posts/Comments/Replies’ is closed to new replies.