rhewlif
Forum Replies Created
-
Forum: Reviews
In reply to: [Donation Thermometer] Worked very wellThank you for the kind review. If you have any problems with the plugin, don’t hesitate to raise them in the forum.
Forum: Plugins
In reply to: [Donation Thermometer] legend shortcode is causing an errorOk, try the latest plugin version 2.0.9
Forum: Plugins
In reply to: [Donation Thermometer] legend shortcode is causing an errorHi,
I’m glad to hear you’re enjoying the plugin 🙂
It seems like this error will appear if the thousands separator is set to none; if you change this setting it should disappear. I will update this bug soon though.Cheers
Forum: Plugins
In reply to: [Donation Thermometer] floating point numbersI’m having trouble reproducing the bug you described – the percentage values seem to change ok for me, and I’ve tried with decimals too. Could you let me know the shortcode you are using for the thermometer? Are you adjusting the raised/target values from the settings page? Presumably you are using the latest version of the plugin? I can’t imagine it’s the browser but can maybe test that too.
Forum: Plugins
In reply to: [Donation Thermometer] floating point numbersI think it’s actually the dollar sign that has been cropped. You can adjust the font size to account for the extra decimal places via the custom css tab on the Thermometer’s settings page. The class is “therm_target”.
Ok, I will check out that bug. cheers
Forum: Plugins
In reply to: [Donation Thermometer] floating point numbersHi,
This is a fairly easy edit if you’re happy to modify the plugin files directly. Just open the /includes/therm_svg.php file and edit lines 53-55 to:
$raisedPercent = ($targetTotal > 0) ? number_format(($raisedTotal/$targetTotal * 100),2) : $raisedTotal; $raisedValue = ($thermProperties['trailing'] == 'true') ? number_format($raisedTotal,2,'.',$thermProperties['sep']).$currency : $currency.number_format($raisedTotal,2,'.',$thermProperties['sep']); $targetValue = ($thermProperties['trailing'] == 'true') ? number_format($targetTotal,2,'.',$thermProperties['sep']).$currency : $currency.number_format($targetTotal,2,'.',$thermProperties['sep']);You’re basically updating the number_format function to 2 decimal places
Forum: Plugins
In reply to: [Donation Thermometer] Dynamic raised valueTry like this (the apostrophes are important):
[thermometer raised='sales id="1947"' target=100]Forum: Plugins
In reply to: [Donation Thermometer] Dynamic raised valueHi Sharon,
I have not used Woocommerce, but this page might help with what you want to do..https://docs.woocommerce.com/document/product-sales-count/
If you can generate a shortcode that will output a value for the calendar sales then it can be integrated like this: [thermometer raised=’the_woocommerce_shortcode’ target=100]
cheers
Hi, no as long as it outputs just a number. This should work:
[thermometer raised=’total_dons’]
Hi, this is now incorporated into the latest plugin update, 2.0.8.
Forum: Plugins
In reply to: [Donation Thermometer] Dynamic raised valueHi,
Thanks for the suggestion – I’ve implemented this now into the latest plugin update.Cheers
Forum: Plugins
In reply to: [Donation Thermometer] % of Total not calculatingHi, sorry for not replying sooner, but I have now fixed this bug with the therm_% shortcode in the latest update.
thanks
Forum: Plugins
In reply to: [Donation Thermometer] Settings page not saving valuesTry updating the plugin now to see if your settings page works. It hopefully sorts the problem out.
Thanks for the donation too 🙂Forum: Plugins
In reply to: [Donation Thermometer] Settings page not saving valuesCan you post some of the php errors with line number? Are you on the latest plugin version? I suspect it is the options array that is not getting brought in correctly. It should be a straightforward fix.
Do edits to the custom CSS get saved/reappear correctly on the settings page?
Thanks
Forum: Plugins
In reply to: [Donation Thermometer] Settings page not saving valuesOn the dashboard front page, the raised and target values are displayed, but I have to link to the settings page to edit them.
Can you click the configure link in the widget titlebar to bring up the short form for raised and target values on the dashboard? Percentage gets calculated automatically.
As soon as I update values in settings, I get a settings are saved notice, and the preview and thermometer display correctly. The setting fields all revert to blank values. If I just edit the raised and target values, all colors revert to black and other values to default on next save.
It sounds like settings do get saved correctly but that the settings page cannot read them back in fro the database. I have not seen this before, so it may be conflicting with another plugin. I will have a look, but it may also be useful if you could look for error messages using the Query Monitor plugin.