Custom Rating Level...
 
Notifications
Clear all

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

4 Posts
2 Users
0 Reactions
950 Views
Paul Griffiths
Posts: 7
Topic starter
(@paul-griffiths)
Active Member
Joined: 5 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: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 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: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 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: 5 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 🙂