Pixelbart
Forum Replies Created
-
Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginThe Feedback item is only for feedback via the feedback form. You can disable feedback for this in the settings (I always do this for myself, because I don’t need it).
So Helpful > Settings > General there then disable the feedback completely. But then you don’t see the Feedback menu item anymore. The Yes and No is Helpful by default. You can use the Blank template if you want to use your own CSS.
Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginDid you also not disable the feedback under Helpful > Settings > General?
There are only the three filters that always work and the possibility to disable the feedback completely. It works on every page of mine (and also of friends).
Forum: Plugins
In reply to: [Helpful] Helpful freezes GutenbergHi, thank you for your feedback!
Could you disable the meta box once in the settings of Helpful and see if it is better then? I don’t have the error with me and can’t think of any other reason – I always write with the Gutenberg.
That would be great, then I know where to look.
Thank you!
Forum: Plugins
In reply to: [Helpful] After updating version one issue happenedYou’ve basically already asked the question once. I would also continue the support in the other thread.
Therefore, look here then further: https://wordpress.org/support/topic/editor-role-cant-see-settings-menu-of-helpful-plugin-2/
Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginThere are already filters for this that you can simply put into your functions.php. I still have to write them all in the documentation.
functions.php:
/* HELPFUL SETTINGS */ add_filter('helpful_settings_capability', function() { return 'delete_others_posts'; }); add_filter('helpful_capability', function() { return 'delete_others_posts'; }); /* FEEDBACK SETTINGS */ add_filter('helpful_feedback_capability', function() { return 'delete_others_posts'; });Capabilities of the individual roles can be found here:
EDIT: I have now added these filters to the documentation.
- https://helpful-plugin.info/docs/filters/helpful_capability/
- https://helpful-plugin.info/docs/filters/helpful_settings_capability/
- https://helpful-plugin.info/docs/filters/helpful_feedback_capability/
- This reply was modified 4 years, 9 months ago by Pixelbart.
Forum: Plugins
In reply to: [Helpful] Show buttons on archive pageForum: Reviews
In reply to: [Helpful] Fantastic plugin.Thank you so much for your review, it means a lot to me!
Forum: Reviews
In reply to: [Helpful] simple yet greatVery well summarized. 🙂
I wanted a simple plugin at the time and with Helpful I hope to have reached that goal somewhere, even if it is getting bigger. Thank you for your feedback!
Forum: Reviews
In reply to: [Helpful] Fantastic and reliable feedback pluginThank you very much! Glad you like Helpful!
Forum: Plugins
In reply to: [Helpful] Display Amount of Votes in Loop-Element?Hi again,
this should already be possible with the shortcode. You should be able to do the following:
[helpful heading=”question 1″]
[helpful heading=”question 2″]You can find all available values here: https://helpful-plugin.info/docs/getting-started/shortcodes/
—
Zu deinem PS: Das ist möglich, aber überhaupt nicht notwendig. Hier findest du die Kaffeekasse: https://pixelbart.de/kaffeekasse/
Das schreibe ich dir auf Deutsch, da dies ja nicht wirklich den Support betrifft und nicht so relevant für die anderen ist.
Forum: Plugins
In reply to: [Helpful] Display Amount of Votes in Loop-Element?This is possible in principle. You can do this with the following function of Helpful:
https://helpful-plugin.info/docs/functions/helpful_get_pro/
If you need a shortcode here, you would have to build it yourself. Here is an example:
Place this in functions.php:
add_shortcode('helpful_loop_pro', function () { $post_id = get_the_ID(); if (!$post_id) { global $post; $post_id = (isset($post->ID)) ? $post->ID : false; } if (false === $post_id) { return 0; } return helpful_get_pro($post_id); });After that you can use [helpful_loop_pro] and the shortcode should do what you need – if the loop is set correctly with have_posts() etc.
Maybe this already helps you. Maybe I’ll build more shortcodes for such cases that specifically concern a loop. Most of the people who want to put something in the loop just use the functions, because they already work with PHP.
More Helpful functions: https://helpful-plugin.info/docs/functions/
Stay healthy and thanks for your feedback!
Forum: Plugins
In reply to: [Helpful] Dashboard loading timesThank you for your feedback. The problem is the dashboard widget that tries to load all the content.
You can work around that a bit by enabling Helpful’s cache. Then it won’t always show you the latest, but it won’t have to load so long every time. I would set it for one day and then you can check once a day how your content performs.
Settings URL: /wp-admin/admin.php?page=helpful&tab=system
Here you click on “Cache” and then you set the cache as it suits you. Then the Dasbhoard loads only once slowly and then always fast, because the data was stored in the cache.
The cache works with WordPress transients, so it stores all data in your wp-options table and then calls them there. Depending on how you set the cache time, the cache is then always refreshed.
I write me that times on the todo that I do with cronjobs, as an option then. Currently, I am still working on my documentation. When I have finished, I’ll try to find a solution for you or for all who have the problem. But I think that caching will help you.
Please stay healthy and have a good time!
Forum: Plugins
In reply to: [Helpful] Find out who voted whatHi @theart8
you have to check first in the settings of Helpful under Details, the checkbox “Use the WordPress user instead of the Helpful ID (if the user is logged in and votes)”. Then you have to use the following code:
add_filter('helpful/logs/user_string', function ($user_string, $row) { $user = get_user_by('ID', $row->user); if ( $user ) { $user_string = $user->user_login . ' (' . $user->ID . ')'; } return $user_string; }, PHP_INT_MAX, 2);See: https://wordpress.org/support/topic/find-out-who-voted-what/#post-14681404
Then it should be as you need. The changes are only valid when you select the option.
The code is necessary and not an option, as this is a custom change that not many people need, apparently – which is why I didn’t hard-code it. That’s what the filters/hooks are for.
With the latest update, it is now possible to remove individual votes, directly in Helpful logs.
Stay healthy and have a great weekend!
Forum: Plugins
In reply to: [Helpful] Error MessageShould be better or even fixed with the current version (4.4.43). Please read the changelogs if you don’t see the fix.
Thank you for your feedback!!!
Forum: Plugins
In reply to: [Helpful] Error MessageI can reproduce the error this way, but I have to think of a solution first – which I haven’t thought of yet.
The browser does not reload the page when going back, which is why Helpful is still shown. Here I have to check with the help of the history. Let’s see how I solve this.
Thank you!