Luke F
Well-known member
Hello!
I loaded a backup of the site after the server died with storage problem. The rating bar under each post where users give ratings doesn't display now.
I'm getting this error too:
Illegal string offset 'like_count' in /home/web/domains/domain.com/public_html/library/Dark/PostRating/EventListener.php, line 266
That condition should not be possible. I would advise re-uploading the Post Ratings files, 'upgrading' with the current Post Ratings addon XML file, and also running the XF file health checker
Hey!
For some reason the ratings displayed in sidebar and in postbit is different. The memberinfo on sidebar says for example (5) likes while the postbit says (1) like. Is there some setting I'm missing?
Do you have 'Enable postbit totals integration' disabled?
Hi Luke,
At lot of my members tell me that they keep accidentally hitting the wrong like option when scrolling using mobile devices. It seems the main issue is because the like action buttons are on the right of a post but the like results show on the left of a post.
How do I change these around please, so that the action is by the avatar and the result is on the right?
That should be as simple as:
Code:
.dark_postrating_inputlist { float: left !important; }
.dark_postrating_outputlist { float: right !important; }
(in EXTRA.css)
Hello!
I'm very interested in this add-on, but I do have a question if you don't mind.
Can you assign individual trophies for all of the elements or is it grouped under the existing system?
Trophies can only be assigned for positive, negative, neutral and total rating counts. They cannot be assigned for individual rating counts
Hi @Luke F
Still hoping for usergroup setting to allow self-ratings, have you considered it further again recently?
Cheers,
Regs.
I don't see it being a particularly popular option, but if you want to hack it into your own installation, in library/dark/postrating/model.php, remove:
Code:
if ($post['user_id'] == $viewingUser['user_id'])
{
$errorPhraseKey = 'dark_cant_rate_own_posts';
return false;
}

