Mike Krall
Member
Does anyone know how to get the bar to showup without hovering? I'm not sure if I have it installed right as the only way I can see to add comments is if there was already a like on a post in the first place. Thanks!
Does anyone know how to get the bar to showup without hovering? I'm not sure if I have it installed right as the only way I can see to add comments is if there was already a like on a post in the first place. Thanks!
<div class="dark_postrating {xen:if $postrating_has_ratings, 'likesSummary secondaryContent'}">
<div class="dark_postrating likesSummary secondaryContent">
Set 'Input bar minimum opacity' to 1
If you additionally want the background/border always visible too, edit template dark_postrating and replace
Code:<div class="dark_postrating {xen:if $postrating_has_ratings, 'likesSummary secondaryContent'}">
with:
Code:<div class="dark_postrating likesSummary secondaryContent">
...
- Run these queries:
Code:update xf_user u set like_count = like_count - (select count(*) from xf_liked_content where content_user_id = u.user_id and content_type='post'); delete from xf_liked_content where content_type='post';
- Recount ratings again
SQL-Befehl:
update xf_user u set like_count = like_count - (select count(*) from xf_liked_content where content_user_id = u.user_id and content_type='post')
MySQL meldet:
#1690 - BIGINT UNSIGNED value is out of range in '(`relaunch`.`u`.`like_count` - (select count(0) from `relaunch`.`xf_liked_content` where ((`relaunch`.`xf_liked_content`.`content_type` = 'post') and (`relaunch`.`xf_liked_content`.`content_user_id` = `relaunch`.`u`.`user_id`))))'
I've got the following error on that query
Code:SQL-Befehl: [IMG]http://www.planet-liebe.de/phpmyadmin/themes/dot.gif[/IMG] update xf_user u set like_count = like_count - (select count(*) from xf_liked_content where content_user_id = u.user_id and content_type='post') MySQL meldet: [IMG]http://www.planet-liebe.de/phpmyadmin/themes/dot.gif[/IMG] #1690 - BIGINT UNSIGNED value is out of range in '(`relaunch`.`u`.`like_count` - (select count(0) from `relaunch`.`xf_liked_content` where ((`relaunch`.`xf_liked_content`.`content_type` = 'post') and (`relaunch`.`xf_liked_content`.`content_user_id` = `relaunch`.`u`.`user_id`))))'
update xf_user u set like_count = (select count(*) from xf_liked_content where content_user_id = u.user_id)
I want to +1 this one. My users really like the idea of being able to self police using the negative feedback feature to soft hide a post, but not if the user they are thumping sees who is thumping them.In latest version of Post Ratings is it possibile to hide who gived a negative rating?
json_decode() expects parameter 1 to be string, array given
[LIST=1]
[*]XenForo_Application::handlePhpError()
[*]json_decode() in Dark/PostRating/Model/Post.php at line 103
[*]Dark_PostRating_Model_Post->preparePost() in LiamW/StickyFirstPost/Extend/ControllerPublic/Thread.php at line 63
[*]LiamW_StickyFirstPost_Extend_ControllerPublic_Thread->actionIndex() in XenForo/FrontController.php at line 347
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /data2/laneros/public_html/index.php at line 13
[/LIST]
Could be an issue with the sticky first post as well. I would suggest contacting the developer of the add-on you installed and used last. I had a problem with Add-ons crashing and i contacted the developer of the last add-on installed. They had to come into my board and put on debug mode to find the issue, which is now solved.Hello,
I'm having some trouble when I have this addon and the Sticky First Post addon installed. The following error start to appear in several threads on my forum:
Code:json_decode() expects parameter 1 to be string, array given [LIST=1] [*]XenForo_Application::handlePhpError() [*]json_decode() in Dark/PostRating/Model/Post.php at line 103 [*]Dark_PostRating_Model_Post->preparePost() in LiamW/StickyFirstPost/Extend/ControllerPublic/Thread.php at line 63 [*]LiamW_StickyFirstPost_Extend_ControllerPublic_Thread->actionIndex() in XenForo/FrontController.php at line 347 [*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 [*]XenForo_FrontController->run() in /data2/laneros/public_html/index.php at line 13 [/LIST]
Disabling the sticky first post addon solves the problem. Do you know if there's anything that I can do in order to fix this error?
Hello,
I'm having some trouble when I have this addon and the Sticky First Post addon installed. The following error start to appear in several threads on my forum:
Code:json_decode() expects parameter 1 to be string, array given [LIST=1] [*]XenForo_Application::handlePhpError() [*]json_decode() in Dark/PostRating/Model/Post.php at line 103 [*]Dark_PostRating_Model_Post->preparePost() in LiamW/StickyFirstPost/Extend/ControllerPublic/Thread.php at line 63 [*]LiamW_StickyFirstPost_Extend_ControllerPublic_Thread->actionIndex() in XenForo/FrontController.php at line 347 [*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 [*]XenForo_FrontController->run() in /data2/laneros/public_html/index.php at line 13 [/LIST]
Disabling the sticky first post addon solves the problem. Do you know if there's anything that I can do in order to fix this error?
any news on tapatalk integration? is there a way to submit tickets to them or support requests? If they entertain the idea would you be willing to work with them if required?
PostRating/Model/Post.php has less than 103 lines and no call to json_decode, so your issue is probably from a modified or out of date version of post ratings.
$post['rating_cache'] = is_array($post['rating_cache']) ? json_encode($post['rating_cache']) : $post['rating_cache'];
We use essential cookies to make this site work, and optional cookies to enhance your experience.