Pixelbart
Forum Replies Created
-
Forum: Plugins
In reply to: [Helpful] Not fully working with WP Rocket + Cloudflare?Hi, thank you for your feedback!
This is always a problem with the cache. Do you have a preview link for me, then I can see if I can find a simple solution to the problem for you.
Thank you!
Forum: Plugins
In reply to: [Helpful] How to change the displayed languageHere you will hopefully find all the filters. For me it’s a bit difficult to give you a specific answer when you ask for everything. Therefore, I can only give you everything:
Before vote: https://helpful-plugin.info/docs/filters/helpful_shortcode_atts/
Available variables: https://github.com/pixelbart/helpful/blob/e7f155c031f2633370b73a408d2d4807bb5f80a8/core/helpers/class-values.php#L57Documentation: https://helpful-plugin.info/all-documentation-entries/
If you specifically request the fields, I can also specifically pick out the filters for you. Basically, there should be filters for everything. After voting, the after_vote method always takes effect. So this one:
There are some filters stored there.
With WPML, however, most content should be able to be translated. WPML does cost something though.
Stay healthy and greetings
KevinForum: Plugins
In reply to: [Helpful] How to change the displayed languageHello @jmwebmaster
that’s unfortunately not possible without associated plugins that make your website multilingual. Helpful can be easily translated with plugins or poedit.
How you deliver multilingualism to your users is up to you. I can’t offer you a solution for that.
Stay healthy and have a nice day!
Forum: Plugins
In reply to: [Helpful] Displayed on every page of a multi pageThat’s a good idea that I hadn’t considered. I’ll put that on my todo list to make it an option.
In order for you to use Helpful in the meantime, you first need to go to Helpful > Settings > Details > General and set that to no longer automatically output Helpful in the content.
After that you can use the following code:
functions.php:
add_filter('the_content', function ($content) { global $wp_query, $page, $numpages, $multipage, $more; if (!is_single()) { return $content; } $shortcode = do_shortcode('[helpful post_id="' . get_the_ID() . '"]'); if ($multipage) { if ($page === $numpages) { return $content . $shortcode; } return $content; } return $content . $shortcode; });Forum: Plugins
In reply to: [WP-LESS] ID reference prefixedI have now looked at the parser from wikimedia that is used for parsing LESS.
I think it’s because your ID is matched with the following regex:
/\\G#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/So the value is parsed differently than it should. Have you tried this with an ID longer than 6 characters?
WP-Less uses the libraries from wikimedia (since 1.9.0), so this is more a bug from there and not from WP-Less.
Greetings Kevin
Rel: https://github.com/wikimedia/less.php/blob/main/lib/Less/Parser.php#L1241
Forum: Plugins
In reply to: [Helpful] Counter bugyou are using a cache which probably causes problems. For example, I can’t even vote on your site, or it takes a very long time to vote.
I can’t reproduce the error with me right now and I haven’t received any messages from others about it yet. Which is why I assume that there is some other plugin or theme colliding with Helpful.
The target page is also not provided as https. Something doesn’t seem to be right with you either?
The maintenance only deletes erroneous entries, but does not change any texts or existing functions.
Greetings Kevin
Forum: Plugins
In reply to: [WP-LESS] ID reference prefixedHi @woakley
What should myClip contain? Since it is in the URL, the ID is automatically pulled. If you want to store certain things in LESS, do you need to use variables or mixins?
Greetings Kevin
Forum: Plugins
In reply to: [WP-LESS] there has been a critical error on your websitePlease read once and then tell what is in the logs:
So
wp-config.php:define('WP_DEBUG', true); define('WP_DEBUG_LOG', true);After that look under
wp-content/debug.logand tell here. Please make sure that there is not unintentionally any data from your server.Forum: Plugins
In reply to: [WP-LESS] Critical error on your websitePlease read once and then tell what is in the logs:
So
wp-config.php:define('WP_DEBUG', true); define('WP_DEBUG_LOG', true);After that look under
wp-content/debug.logand tell here. Please make sure that there is not unintentionally any data from your server.Forum: Plugins
In reply to: [WP-LESS] V1.9.3-3 Critical ErrorHi @osmosvfx
if you would share the error with the rest of the forum users, the rest of us might be able to help you as well.
Thank you and stay healthy!
Kevin
Forum: Plugins
In reply to: [Helpful] How to change the displayed languageThank you for your feedback!
You can’t put an array with your translation there. This must be a URL. This is also in the documentation that you can store a URL.
You can find the available translations and URLs here: https://datatables.net/plug-ins/i18n/
On the landing page, choose your language and click on the language. Then you will find a “CDN link” there. You can then enter this into the Helpful filter.
Note that this only applies to the datatables. That is, the ones in the Helpful settings.
Greetings Kevin
EDIT: And Helpful’s language can’t be changed that way. For that, translations have to be created first: https://translate.wordpress.org/projects/wp-plugins/helpful/
- This reply was modified 4 years, 8 months ago by Pixelbart.
Forum: Plugins
In reply to: [Helpful] How are user voices stored?Thank you for the detailed video!
The error in the overview, so why 11 are shown with you, I can not quite understand. So I could not reproduce the error. I do not know exactly whether there is perhaps another plugin, which affects the columns of WordPress with you.
The error that Helpful does not hide, should be fixed with 4.4.47. Can you look at the update yes once.
Thank you and sorry that this answer took a little longer. I had a lot to do at work today and only now got to help you.
Videos always gladly in German. I speak fortunately also. Here in the forum then preferably English, so that others can read and understand.
Greetings Kevin
Forum: Plugins
In reply to: [Helpful] How are user voices stored?Hello Manuel,
in the Helpful settings you can select that the voices do not use the Helpful user string, but the user ID. This should actually work, because it does not change.
Without this option, Helpful generates a random string. Other plugins might do a bit better, because they don’t store GDPR compliant data. It is not allowed to store data in such a way that users can be identified – which is why Helpful creates this user string.
Greetings Kevin
Forum: Plugins
In reply to: [SCSS-Library] Not working with BootstrapI also have this problem. Here is an excerpt of the error messages. Concerns probably the divide function.
expecting color, null received: ../bootstrap/scss/mixins/_table-variants.scss on line 5, at column 5 Call Stack: #0 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #1 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #2 function divide ../bootstrap/scss/_functions.scss on line 140 #3 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #4 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #5 function divide ../bootstrap/scss/_functions.scss on line 140 #6 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #7 function divide ../bootstrap/scss/vendor/_rfs.scss on line 60 #8 function divide ../bootstrap/scss/_functions.scss on line 140Forum: Plugins
In reply to: [Helpful] Editor role can’t see settings menu of helpful pluginYou cannot export the voting results. There is no possibility for that at the moment. I have written this on my todo list and will build a suitable function.
But I can’t promise you that I will do it soon. Helpful is just an unpaid hobby for me, which I do in my spare time. That’s why it always takes some time to build new features, which are a bit more complex than small customizations.
You can build something like that yourself if need be. You can find all the data in the PREFIX_helpful database table. Just remember that no data about the user is stored. Helpful creates a user string which is generated randomly.
So you will only get the values: pro, con, user string, date and post.