Notifications
Clear all

Buddypress integration & Rates

6 Posts
2 Users
0 Reactions
550 Views
Posts: 3
Customer
Topic starter
(@sjoerd-walburg)
Member
Joined: 10 months ago

Yesterday I bought the Buddypress addon for WPDisuz. However, the rating is not displayed properly in Activitystream ( https://www.intopic.nl/activity/) and it is also not displayed properly in the profile ( https://www.intopic.nl/leden/redactie/discussions/rates/). Who can help me with this?

Thank you in advance!

5 Replies
Astghik
Posts: 6153
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @sjoerd-walburg,

Could you please provide a screenshot illustrating the issue? This will help us better understand and address the problem efficiently.

Reply
Posts: 3
Customer
Topic starter
(@sjoerd-walburg)
Member
Joined: 10 months ago

The first thing is that the Buddypress integration options for profile only visible are for the Admin account. Not in the public for members?

Member:

Schermafbeelding 2024 01 14 om 08.02.05

Admin:

Schermafbeelding 2024 01 14 om 08.07.58

 

The second problem is that ratings not shown:

Schermafbeelding 2024 01 13 om 18.57.32

But in the reaction you could see it correct:

Schermafbeelding 2024 01 13 om 18.57.08
Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6153

@sjoerd-walburg,

The second problem is that ratings not shown:

The addon adds only if the article is rated and/or the comment is voted. 

» Settings ‹ wpDiscuz — WordPress — Mozilla Firefox
subscriber – wpDiscuz   Google Chrome

 

The first thing is that the Buddypress integration options for profile only visible are for the Admin account. Not in the public for members?

For privacy reasons, this feature is disabled by default. You can control it using the hooks provided below:

  • wpdiscuz_bpi_user_has_access_to_discussions_tab
  • wpdiscuz_bpi_user_has_access_to_comments_tab
  • wpdiscuz_bpi_user_has_access_to_reactions_tab
  • wpdiscuz_bpi_user_has_access_to_rates_tab
  • wpdiscuz_bpi_user_has_access_to_subscriptions_tab
  • wpdiscuz_bpi_user_has_access_to_votes_tab
  • wpdiscuz_bpi_user_has_access_to_follows_tab
  • wpdiscuz_bpi_user_has_access_to_followers_tab
This is an example:
add_filter('wpdiscuz_bpi_user_has_access_to_rates_tab', '__return_true'); 

The remaining tabs should be enabled using the same logic.

Reply
Posts: 3
Customer
Topic starter
(@sjoerd-walburg)
Member
Joined: 10 months ago

Thank you very much. Where do I need to put that text? I am not a very good programmer? 

And is this also the solution for not showing a rating on the right tab in profile?

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

Illustrious Member
Posts: 6153

@sjoerd-walburg,

Sure this doc should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

And is this also the solution for not showing a rating on the right tab in profile?

No the code is solution for your secon quetsion. Please read attentively my answer:

The addon adds only if the article is rated and/or the comment is voted. 

» Settings ‹ wpDiscuz — WordPress — Mozilla Firefox

 

subscriber – wpDiscuz   Google Chrome
Reply
Share:
Scroll to top