Content Ratings

Content Ratings [Paid] 2.8.5

No permission to buy ($35.00)
It is probably the "positive reactions" group name which is forcing the reflow. Try renaming the category to just "Positive" and you should get the landscape layout in portrait mode.
 
It is probably the "positive reactions" group name which is forcing the reflow. Try renaming the category to just "Positive" and you should get the landscape layout in portrait mode.
Just renamed it to "P" and same problem. Ensured that all rating items have short names too just in case that was the issue.
 
This would require some template edits


Could you please provide the template edits. I assume it's not hard for you but it will be useful for a lot of members who are migrating from Post Ratings.
 
Hi @Xon,
After upgrading xF and CR to 2.1.9 respectively some users experiencing issues with links in alerts. I've done some rebuild, but it didn't help.
1589834343940.webp
 
Hi, I am trying to get my ratings to display like this in the postbit:

postbit-numerical-ratings-png.166679


But these are the only options I have under 'Message user info elements'....

1589911633809.webp

and if I check both Reaction Score and Reaction Totals, it displays the reactions totals within the reaction score and looks out of alignment, like this:

1589911581160.png

Any idea what I'm doing wrongly?
 
Hi, I am trying to get my ratings to display like this in the postbit:

postbit-numerical-ratings-png.166679


But these are the only options I have under 'Message user info elements'....

View attachment 225493

and if I check both Reaction Score and Reaction Totals, it displays the reactions totals within the reaction score and looks out of alignment, like this:

View attachment 225492

Any idea what I'm doing wrongly?
It's not you... I have the same issue as well on my installation, does exactly the same issue.

I just figured maybe it's a case of having one or the other (and them sharing a common field).
 
Hi @Xon,
After upgrading xF and CR to 2.1.9 respectively some users experiencing issues with links in alerts. I've done some rebuild, but it didn't help.
View attachment 225435
The XF phrase for the alert has changed, you will need to adjust your customized phrases. From memory this is a core XF phrase that was changed.

Hi, I am trying to get my ratings to display like this in the postbit:

postbit-numerical-ratings-png.166679


But these are the only options I have under 'Message user info elements'....

View attachment 225493

and if I check both Reaction Score and Reaction Totals, it displays the reactions totals within the reaction score and looks out of alignment, like this:

View attachment 225492

Any idea what I'm doing wrongly?
This looks to be a bug with the template modification injecting the reactions. Does this happen on the XF standard style?
 
It's not you... I have the same issue as well on my installation, does exactly the same issue.

I just figured maybe it's a case of having one or the other (and them sharing a common field).

In my case if I only check totals, though, I just get nothing at all to display. No score or totals.
 
The XF phrase for the alert has changed, you will need to adjust your customized phrases. From memory this is a core XF phrase that was changed.


This looks to be a bug with the template modification injecting the reactions. Does this happen on the XF standard style?

This doesn't happen in the standard style, everything displays correctly in the standard style
 
Same

Are you able to get the reaction totals to show up by sacrificing the reactions score? I can't get the reaction totals to show up at all unless I also have the reactions score clicked.
Nope I had exactly the same issue.

In the interest of streamlining, I ditched it displaying "reaction points" and just left trophy points showing (as it can be viewed under member profile and member profile popup anyway).

@Russ or @Steve F are the guys who might need to investigate this one, as they are at Pixel Exit :)
 
One other question...is getting the ratings to show up in assigned order instead of category order using this method still possible?

This is doable, but it would require editing a couple templates. The data is there, just need to remove the category loop.

In the template:macro sv_contentratings_macros:rate_menu_tooltip
Convert;
Code:
<xf:foreach loop="$ratingTypeCategories" key="$ratingTypeCategoryId" value="$ratingTypeCategory">
   <xf:foreach loop="$ratingTypeCategory.RatingTypes" key="$ratingTypeId" value="$ratingType">
      <xf:if is="{{ $usableRatingTypes.{$ratingTypeId} }}">
To
Code:
<xf:foreach loop="$usableRatingTypes" key="$ratingTypeId" value="$ratingType">
Then trim out the extra </xf:if></xf:foreach> at the end of the block.

You may need to edit sv_contentratings_macros:rate_menu_dropdown and sv_contentratings_macrosrate_menu_bar for the same sort of thing.

Not 100% sure if the display order will work as expected.

I noticed that the code in the template uses different terminology now than it did back then.
 
We add a small conditional for an alternate display for icons.

Code:
                    <xf:if is="$extras.reaction_score">
                        <dl class="pairs pairs--justified">
                            <xf:if is="property('xbMessageUserIcons')">
                                <dt><xf:fa icon="fa-thumbs-up fa-fw" data-xf-init="tooltip" title="{{ phrase('reaction_score') }}" /></dt>
                            <xf:else />
                            <dt>{{ phrase('reaction_score') }}</dt>
                            </xf:if>
                            <dd>{$user.reaction_score|number}</dd>
                        </dl>
                    </xf:if>

If I had to guess, it's searching for the <xf:if> and the closing </xf:if> which would find our custom placement.
 
Back
Top Bottom