Post Ratings - taking likes to the next level [Deleted]

I just did as you advised, but it failed again. (And this time sooner than the first time I tried it.) Oh well, I needed some sleep anyway. :)
 
Bad news… I tried a couple more times, first cutting everything down to 50 per page, then five, and it still eventually timed out with that error. It does seem to have partially done the job; that is, my user profile now shows probably about a third of the Thanks from the old site. So, how does this recount script work? Is the effect cumulative, so I can just keep trying the script again and again and eventually it will finish? Or is it starting from the beginning each time, and if I keep running it, I'll end up with way more converted Thanks than there were to begin with? Is there any way to do this manually, like with a LIMIT, so I can make sure it finishes?

So close!
 
Bad news… I tried a couple more times, first cutting everything down to 50 per page, then five, and it still eventually timed out with that error. It does seem to have partially done the job; that is, my user profile now shows probably about a third of the Thanks from the old site. So, how does this recount script work? Is the effect cumulative, so I can just keep trying the script again and again and eventually it will finish? Or is it starting from the beginning each time, and if I keep running it, I'll end up with way more converted Thanks than there were to begin with? Is there any way to do this manually, like with a LIMIT, so I can make sure it finishes?

So close!

Do you have control over the mysql server, ie is it a VPS/dedi? Just upping the timeouts in my.cnf temporarily should do the trick
 
@Luke F The template dark_postrating_member_card has hardcoded colors vs using a CSS class + style properties.

The offending bit:
Code:
<dt>{xen:phrase dark_ratings_received}:</dt>
<dd><xen:if is="{$postrating_enabled_ratings.positive}"><span style="color:#C6FF8C">+{xen:number $postrating_ratings_total.positive}</span>
  <xen:if is="{$postrating_enabled_ratings.neutral} || {$postrating_enabled_ratings.negative}"> / </xen:if>
</xen:if>
<xen:if is="{$postrating_enabled_ratings.neutral}">{xen:number $postrating_ratings_total.neutral}
  <xen:if is="{$postrating_enabled_ratings.negative}"> / </xen:if>
</xen:if>
<xen:if is="{$postrating_enabled_ratings.negative}"><span style="color:#FF9D8C">-{xen:number $postrating_ratings_total.negative}</span></xen:if>
</dd>

Using CSS like class="dark_postrating_positive" instead of style="color:#C6FF8C" would be better.
 
@Luke F The template dark_postrating_member_card has hardcoded colors vs using a CSS class + style properties.

The offending bit:
Code:
<dt>{xen:phrase dark_ratings_received}:</dt>
<dd><xen:if is="{$postrating_enabled_ratings.positive}"><span style="color:#C6FF8C">+{xen:number $postrating_ratings_total.positive}</span>
  <xen:if is="{$postrating_enabled_ratings.neutral} || {$postrating_enabled_ratings.negative}"> / </xen:if>
</xen:if>
<xen:if is="{$postrating_enabled_ratings.neutral}">{xen:number $postrating_ratings_total.neutral}
  <xen:if is="{$postrating_enabled_ratings.negative}"> / </xen:if>
</xen:if>
<xen:if is="{$postrating_enabled_ratings.negative}"><span style="color:#FF9D8C">-{xen:number $postrating_ratings_total.negative}</span></xen:if>
</dd>

Using CSS like class="dark_postrating_positive" instead of style="color:#C6FF8C" would be better.

I think the reasoning behind that was to avoid an extra css request when loading the member card, but on second thoughts probably redundant, will fix
 
  • Like
Reactions: Xon
For anyone using Post Ratings along with new versions of Tapatalk plug-in (3.0.x) there's a slight change needed to be made in library/Dark/PostRating/Model/Post.php file. I have attached the patch file and the modified file itself.
 

Attachments

That's still in Beta, isn't it? I won't be upgrading that until the full release, and then probably will want a month until they work all the bugs out of that.
 
It is in beta, but according to their forum it will go "gold" if there's no more errors. So maybe more Release Candidate...
 
Some of my users report that sometimes they liked some posts, and after some time when they look at that posts, they see that posts are unliked, like they did not give like for that post at all.

I don't know where to look to resolve that error.
Any help?
 
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Is it possible to show ratings received there instead of likes received?
 
Good evening,

I want to know how to translate the phrases associated with icons, like on the screenshot.

QYB6Ykf.png



Thank you in advance for your help.
 
I'm fairly certain you only need to change the Title in Applications -> Ratings. You can also add new ratings and call them whatever you like.
 
- Sort of. If you disable news feed integration, alerts integration and disallow the permission to see detailed rating lists, then there's no way to tell who rated who.

I'm not sure if I'm missing something

I have everything disabled but it still shows up in sidebar

Ratings showing up in side bar
upload_2016-5-2_7-35-42.webp

disabled features

upload_2016-5-2_7-33-22.webp
upload_2016-5-2_7-33-43.webp
 
Can you see your own ratings? I mean on your post, when people rate you, would you be able to see it?

Yes

My last version sent is 1.7.2. I have not received subsequent releases. Was the price just a yearly thing?

PM me your email address and I'll get the latest version re-sent to you

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Is it possible to show ratings received there instead of likes received?

Where are you referring to? Post Ratings should replace this pretty much everywhere

Good evening,

I want to know how to translate the phrases associated with icons, like on the screenshot.

QYB6Ykf.png



Thank you in advance for your help.

You can change the text on your main language by editing the rating title in Admin CP > Applications > Ratings

Or you can translate it for a particular language only by finding the phrase dark_postrating_rating_x_title, where x is the numeric ID of the rating (get this from the address bar when editing a rating)

I'm not sure if I'm missing something

I have everything disabled but it still shows up in sidebar

Ratings showing up in side bar
View attachment 133453

disabled features

View attachment 133451
View attachment 133452

Delete the contents of templates:
  • dark_postrating_account_wrapper
  • dark_postrating_account_ratings_received
  • dark_postrating_account_ratings_given
(do not actually delete the templates, just remove all the text in them)
 
Back
Top Bottom