Custom Rating Level...
 
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Solved] Custom Rating Level doesnt update Rating 0/10 on MembeActivity

4 Posts
2 Users
0 Reactions
1,066 Views
Paul Griffiths
Posts: 7
Topic starter
(@paul-griffiths)
Active Member
Joined: 6 years ago

If I set a member Custom Rating Level in Users Profile this doesnt update the Rating 0/10 level shown on the Member Activity in the Member Profile.

p.s. Just setting up my forum & so far loving wpForo.

Thank you

Topic Tags
3 Replies
Sofy
Posts: 5486
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @paul-griffiths,

Thank you for using wpForo and for contacting us.

Please wait a bit. I'll ask the wpForo plugin's developers and back to you asap. 

Sofy
Posts: 5486
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

@paul-griffiths,

Thank you for letting us know. The issue will be fixed in the next version release. 

If you need to fix it asap, please follow the steps below:

1. Open the /wp-content/plugins/wpforo/wpf-themes/classic/profile-home.php file

2. Find the following line:

<div class="wpf-statbox-value"><?php echo WPF()->member->rating_level( $posts, FALSE ) ?>/10</div>

3. Replace with the following one: 

<div class="wpf-statbox-value"><?php echo ( wpfval( $stat, 'rating') ) ? $stat['rating'] : WPF()->member->rating_level( $posts, false ) ?>/10</div>
1 Reply
Paul Griffiths
(@paul-griffiths)
Joined: 6 years ago

Active Member
Posts: 7

@sofy

Perfect.

I was in no rush, but have tried the fix & can confirm that it works.

Thank you Thank you 🙂