Pixelbart
Forum Replies Created
-
Forum: Plugins
In reply to: [Helpful] Control Helpful with ACFI would not use Helpful functions for this, but those from WordPress. So you can override options:
/** * ACF Field: helpful_exists */ add_filter( "pre_option_helpful_exists", 'pre_option_helpful_exists', 10, 2 ); function pre_option_helpful_exists( $option, $default ) { return get_field( 'helpful_exists', 'options' ); } /** * ACF Field: helpful_after_pro */ add_filter( "pre_option_helpful_after_pro", 'pre_option_helpful_after_pro', 10, 2 ); function pre_option_helpful_exists( $option, $default ) { return get_field( 'helpful_after_pro', 'options' ); } /** * ACF Field: helpful_after_contra */ add_filter( "pre_option_helpful_after_contra", 'pre_option_helpful_after_contra', 10, 2 ); function pre_option_helpful_exists( $option, $default ) { return get_field( 'helpful_after_contra', 'options' ); } /** * ACF Field: helpful_after_fallback */ add_filter( "pre_option_helpful_after_fallback", 'pre_option_helpful_after_fallback', 10, 2 ); function pre_option_helpful_exists( $option, $default ) { return get_field( 'helpful_after_fallback', 'options' ); }Source: https://developer.wordpress.org/reference/hooks/pre_option_option/
- This reply was modified 5 years, 7 months ago by Pixelbart.
Forum: Plugins
In reply to: [Helpful] Unable to Override MetaboxHello! Thanks for your feedback!
That is correct. Not all files can be customized. This currently only works with the helpful.php and feedback.php files.
https://helpful-plugin.info/documentation/templates/
If this is also important for the other files, I will change this. However, I can’t do this that fast.
Stay healthy!
Forum: Plugins
In reply to: [Helpful] Notice: Trying to get property ‘ID’ of non-objectGreat. Sorry for not answering earlier, I didn’t get any info because you had edited your entry. In the future it’s better to simply write a new message for updates.
Thank you for your feedback and stay healthy!
Should be fixed with 4.4.7, at least as far as possible without saving user data.
Helpful does not recognize whether a vote was taken for or against, so not every option works. But the fallback text is now used if no feedback form is selected.
Forum: Plugins
In reply to: [Helpful] Kill my texts after updateThe bug should be fixed now. Unfortunately I can not restore your texts.
Please excuse me for this! If the problem should not be fixed in the future, please report it again so that I can investigate the matter.
Thanks again for your feedback!
Forum: Plugins
In reply to: [Helpful] Kill my texts after updateThank you for your feedback!
Sorry for the misfortune! I will see why this happens and fix the bug. Unfortunately I will not be able to retrieve the texts.
If I have fixed the bug, I will write to you here, so that this will not happen again in the future. Please excuse me for this!
Stay healthy!
Forum: Plugins
In reply to: [Helpful] Feedback Form not working on FirefoxHello!
I have looked at this in Firefox and could not find any bugs. I checked “Feedback” > “Form” > “Show form after negative vote”.
What exactly did you try? You do not need to use the shortcode {feedback_form} if there is a setting for it.
Thank you for your feedback!
Forum: Plugins
In reply to: [Modern Polls] Bug mit Modern Polls + CustomizerThe class
FelixTzWPModernPollsAppshould be plugged into an instance and then loaded using the plugins_loaded hook.This way WordPress itself can control how something is loaded. But if the class is set directly in the plugin file, this causes problems with internal features of WordPress. So also with the CSS-Editor.
Unfortunately the plugin is broken, unless this is fixed.
Hello!
I just tested this on my own (a WordPress installation where only Helpful is used as plugin). There are no problems with the texts or settings.
Do you use a caching plugin? Maybe the texts are from the cache. Helpful does not change the texts when sessions and cookies are disabled. Here only the ID of the user is changed, which is used to store the vote.
Everything else is as usual.
Thank you for your feedback!
Forum: Plugins
In reply to: [Helpful] Critical Error after updating to 4.4.1Thank you for your feedback!
Should be fixed with 4.4.2. I went through all files again and checked if I could find any more wrong methods.
Luckily it was only this one method which was called checkUser but should be called check_user.
If you notice anything else, I would be happy if you would report it.
Thanks again!
Forum: Plugins
In reply to: [Helpful] Query top rated postsHello! I have updated the gist. With the code in your
functions.phpthe whole thing should work again.Sorry for the inconvenience!
https://gist.github.com/pixelbart/ad4e0c6f4ae4d589818950d5d468db4c
Forum: Plugins
In reply to: [Helpful] PHP exceptions if no votes in databaseShould be fixed with 4.4.1. We can continue writing on Github. I’m just getting used to having Github always open!
Thanks for your feedback!
Forum: Plugins
In reply to: [Helpful] How to adjust “Give Feedback Button” to display positionHello @kbmanage
This should do the trick. I didn’t do that because themes have different content widths. So everybody has to do it himself with CSS.
CSS:
.helpful-exists .helpful-content p { display: inline-block !important; width: auto; } .helpful-exists .helpful-content .helpful-feedback-toggle-container { display: inline-block !important; width: auto; } .helpful-exists .helpful-content .helpful-toggle-feedback { width: auto; display: inline-block; font-size: 12px; padding: 0px 10px; height: 30px; }- This reply was modified 5 years, 8 months ago by Pixelbart.
Forum: Plugins
In reply to: [Helpful] Ability to toggle /show feedback form for user who votedYou can now use {feedback_toggle} for a button. (Version 4.4.0)
Forum: Plugins
In reply to: [Helpful] PHP exceptions if no votes in databaseShould be fixed with version 4.4.0 We can now continue writing at Github. I always look there now!