Pixelbart
Forum Replies Created
-
Forum: Plugins
In reply to: [Helpful] helpful_user cookies prior consentHello @ludovicsclain
there is currently no filter, but Helpful does not store anything important.
This is a random string that is generated and stored as a cookie by the user. You cannot read anything from it, it is purely random. It is then used by Helpful to identify the user/visitor. If the user deletes the cookie, he can vote again.
In my opinion, this should not cause any privacy issues. So I couldn’t tell you who the user with a certain ID is. So you couldn’t even delete the data, because he can’t be assigned to a visitor.
Stay healthy and thanks for your feedback!
Forum: Plugins
In reply to: [Helpful] Helpful and Multilanguage PagesForum: Plugins
In reply to: [Helpful] Helpful and Multilanguage PagesIf I understand you correctly, are you using the display for “number of votes” of Helpful?
https://gist.github.com/pixelbart/26377d738ff2ed8b38d1b9cfae026977#file-functions-php-L22
I just adjusted the gist for this. This might solve your problem. Actually the wpml_object_id should always be the ID of the parent.
- This reply was modified 5 years, 5 months ago by Pixelbart.
Forum: Plugins
In reply to: [Helpful] Helpful and Multilanguage PagesHello Dan,
if WPML uses a separate post with its own ID for each translation, this is a bit difficult.
https://gist.github.com/pixelbart/26377d738ff2ed8b38d1b9cfae026977
Unfortunately I am not familiar with WPML and don’t know if the variant used will find the original ID of the post. Also I have not tested the code I am sharing with you here.
Stay healthy!
Forum: Plugins
In reply to: [Helpful] Unable to Override MetaboxUpdated the status of the topic, as it is more a request than a bug.
Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginUpdated the status of the topic, as it is more a request than a bug.
Forum: Plugins
In reply to: [Helpful] Plugin ‘Helpfull’ by Pixelbart – only show the yes buttonHello and thanks for your feedback!
Unfortunately this does not work by itself. You can achieve this with CSS and simply hide the button. The CSS code for this:
button.helpful-contra.helpful-button { display: none !important; }Forum: Reviews
In reply to: [Helpful] Great plugin – is export possible?Thank you for your positive review!
Currently it is not so easy to do. You can build something with wpdb. The table for the votes including the post_id is “yourprefix_helpful” and “yourprefix_helpful_feedback”.
So you can write your own export. I will think about something else, I just don’t really have time to add new features at the moment…
Forum: Plugins
In reply to: [Helpful] Updated Feedback messages not appearingThere are actually always only two possibilities why something appears as it does with you:
1) Sessions are not allowed on your server. There is a plugin for this: https://wordpress.org/plugins/wp-native-php-sessions/
2) You have a caching plugin active, which caches the ajax output.Others don’t have the problems, so I don’t expect any problems on the part of Helpful.
Thank you for your feedback!
Forum: Plugins
In reply to: [Helpful] Helpful font too smallHelpful uses the font size of the theme. But you can try the following:
.helpful { font-size: 16px !important; } .helpful-content { font-size: 1em !important; }Notice the !important. This will overwrite the styles of Helpful and other CSS.
Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginCurrently you need at least manage_options as capability.
With the latest update (4.4.15) I just uploaded, you can do the following to give the capabilities to editors.
Example: https://gist.github.com/pixelbart/583e28d15dabd661d7a700a689ed6b0c
However, the editors can then also edit the settings. I will change that in the future. But so that you don’t have to wait so long, I made this quick update for you.
Perfect. But every now and then Helpful has to build the cache. This can be defined in the settings, how long something should be in the cache.
But it’s great that this has worked out now. Shame on me for not having done this before.
Should be fixed with 4.4.14. Just remember that Helpful has to build up the cache from time to time and the queries are then retrieved. But once this is done and the cache is active, the loading time should be improved.
The cache for the widget will be cleared, in addition to the time you have selected, whenever a new vote exists. So if you get a new vote every second, you will unfortunately not notice any difference.
Forum: Plugins
In reply to: [Helpful] js error on exportThanks for your feedback!
Should be fixed with 4.4.14. If it does not work immediately, empty the browser cache once, because I had to make a correction to the Javascript.
I will definitely take another look at it. There are still hissing queries. This should not be a problem in itself, but with the number of queries, it is a lot. I have measured up to 700 queries, which take 0.07s time in total.
I will think of something and put the queries together.
—
But please do not forget to disable Query Monitor when you are done. Query Monitor also makes the page very slow if there are many queries.
- This reply was modified 5 years, 7 months ago by Pixelbart.