When I activate the plugin I have the following error:
Recoverable fatal error: Object of class Twig_Source could not be converted to string in /home/admin/public_html/wp-content/plugins/comment-popularity/inc/lib/twig/twig/lib/Twig/Lexer.php on line 87
I did all the advanced steps described in the faq section, but nothing helped.
Thank you
]]>Hello,
I’m looking to use the Comment Popularity plugin for one specific custom post-type and it’s comments template. How do I go about doing this? I know I need to stop it from loading on ALL comments, and just limit it to one post type/ comment template. But how?
]]>If you press the first button, then on the second, again the second and then press the first button, we get a double value of karma
https://image.prntscr.com/image/RaL4nw4RRuOg9R8lX6rf4A.gif
When I allow the plugin to be used by non-logged-in users, I get an “Invalid argument supplied for foreach” PHP warning pointing to line 383 of /inc/class-comment-popularity.php.
Rest of the plugin seems to work fine, so the following on 383 should fix (and does on my install):
if( is_array( $votes ) ) {
foreach ( $votes as $key => $vote ) {
$comment_ids_voted_on[ str_replace( 'comment_id_', '', $key ) ] = $vote['last_action'];
}
}
]]>
Hi guys,
Here’s the JS file the plugin’s trying to reference:
But the folder is called “wp-assets,” not “assets.” So pretty sure the latest version of the plugin’s broken everywhere. Let me know if you have a chance to look at this?
Fred
]]>Hello,
Can we add some text next to the up and down arrows?
Thanks
]]>On the latest verison of wordpress (4.6.1), upon trying to activate the plugin I’m getting a parse error on line 32 in comment-popularity.php
Any help on how to fix this?
Thanks
]]>We have been running our WP website for about 3 weeks, with no issues. Today, the following error preceded any comments:
“Warning: Invalid argument supplied for foreach() in D:\Hosting\123456789\html\pieceofcake\wp-content\plugins\comment-popularity\inc\class-comment-popularity.php on line 354”
Any help would be appreciated…
Ta
Punch
Hi, the ajax post.done function has issues because the returned data variable contains “Are you sure you want to do this” error. So there is no updating of vote value unless the user performs a page refresh – the vote gets registered into the database.
I suppose there is a problem with the nonce. I checked and the nonce seems to be valid, not sure where in the ajax backend trouble appears.
]]>I installed your plugin and it didn’t show up in the comments stream.
I”m using the following comment plugins:
Simple Comment Editing
Epoch
So I assume I have to insert the code in your FAQ for “advanced use”. Can you please tell me where to insert that code?
]]>Hey sir,
Visitors are not able to vote on my website and I am not sure why.
I have activate the option inside the plugin settings.
This is what ive added to my functions.php
add_filter( 'hmn_cp_allow_guest_voting', '__return_true' );
add_filter( 'hmn_cp_allow_negative_comment_weight', '__return_true' );
This is what I have in my custom page
<?php echo hmn_cp_the_comment_upvote_form(); ?>
No HTML is generated when the user is not logged on.
You can see the example here:
https://overmvp.com/heroes/bastion/
If you scroll down to “Community Tips”
Thanks for any help !
]]>I just was notified of this today. If someone is logged in and tries to vote it doesn’t work, it just jumps to the top of the page. If a user is not logged in, it seems to work fine.
]]>Hey!
I have multiple custom post type on my wordpress website, but I would like to active this plugin on only one of those type. Am I able to do this?
Thank You !
Hi great plugin thanks.
I read where you have expert karma can be shown on Author page, ie:
” Try get_user_option( ‘hmn_user_karma’, $expert_id ); “
As we don’t use the Expert option, Can we show author’s total comment karma on that authors page? … ie:
get_user_option( ‘hmn_user_karma’, $author_id );
Thanks.
]]>This plugin currently mistakenly populates the comment karma in all custom columns in the comment admin panel, not just its own custom column.
The fix is a check for the correct custom column name in the function populate_comment_column
Need something like the following at the start of the populate_comment_column function:
/* fix to check custom column */
if ( $column != 'comment_karma')
return;
]]>
Hello,
I disabled the sorting by comment weight but I would like display the 2 most voted comments (like Youtube), how can I do that ? ??
Thank you in advance
]]>It looks like any function I’m attempting to call on ‘plugins_loaded’ never fires. Here’s my code, at the top of the functions.php file:
]]>Is there a way to show a user how they voted on past comments? Simply altering the up and down arrows to a different color after someone has voted will suit my purposes.
Thanks!
https://www.civicbeast.com
PHP Fatal error: Cannot call overloaded function for non-object in /home/site/public_html/wordpress/wp-content/plugins/comment-popularity/comment-popularity.php on line 33
how to solve this fatal error…
Whenever i comment on product(or)post, login and logout i get this error
provide me solution(or) suggestion for this problem
]]>Can we enable the ability for users to upvote their own comment?
]]>Is there any way I can display a comment query with the voting system in separate part of the page from the rest of the comments section?
for example:
>title
>certain comments with voting capabilities
>post content
>comments section with normal comment popularity functionality
]]>When Force SSL Admin directive is set to true this plugin does not work. Is there a way to resolve this?
]]>The commenting system is great, but it doesn’t serve my site’s purpose if there isn’t a file upload system.
Is there any way you can help me add this functionality? If you do not have a custom file upload designed for your plugin, could I add the following jQuery code to the php files of the plugin?
$(“#example3”).jqUploader({background: “FFFFDF”,barColor: “FF00FF”});
Source: https://pixeline.be/experiments/jqUploader/test.php
Thanks for making this wonderful plugin!
]]>I am very interested in implementing this comment system on my website, but I want to try it first before we go live. I have a “staging” area, where I can copy the website over to a staging server, play around with it, and then copy those changes back to the live site if I like them. However, when I go to install the plugin in the staging website, I install, click “activate plugin” and then I can no longer access the staging dashboard. All I get is a blank page when I try to load it.
I’m not sure what is causing this problem, but any help is appreciated!
]]>Hi
I like how when you vote a nested reply for a comment, it goes up in order.
But it doesn’t seem to do the same for the parent comments?
I’m using custom post types if that’s an issue.
Also, what would be cool is if I could set a specific user to always be on top. Any push of doing this with the plugin code using something like :
if (user_can($authorID, ‘isadmin’) == true) {
}
or something?
(admin has isadmin set as ‘1’)
]]>First of all, I love this plugin and thank you for creating it.
I don’t like how the up and down arrows look so I would like to replace them with a better design. Could you give me some pointers on how I would go on about doing this?
Also, I would like to move the arrows in the bottom right corner instead of where they are now.
Lastly, I don’t have a lot of use for the “karma” so how can I remove the karma system and simply leave the voting system?
Thank you!
]]>Hello, I’ve installed your plugin on my site and everything seems to be ok, but it probably clashes with nRelate Related Content plugin or with my iHost theme: The thumbnails of nRelate don’t display properly.
Also, when I test my blog in Google pagespeed insights I get the error “An error occurred” for Mobile. I was forced to uninstall your plugin, but when I try to delete plugin I get the error “Fatal error: Class ‘HMN_Comment_Popularity’ not found in /home/filmcu5/public_html/wp-content/plugins/comment-popularity/uninstall.php on line 93.”
]]>Don`t work
Advanced Usage
I want to use this with a custom comment template.
from FAQ in free theme Hueman
]]>this is exactly what i need, but can i sort by vote, date, karma etc?
]]>I was digging a bit through the plugin code to remove the time limit (easy ?? when I found code for a widget which shows the most voted comments. Now I activated widgets in my theme but the widget isn’t showing up in Appearance > Widgets.
Do I have to activate that somewhere first?
What I want to achieve is to make an overview of the most high rated comments.
]]>