andikundi
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Wishlists for Weddings, Birthdays etc.] Breaking other PluginHi
Its hard as it is mostly in Admin-Area:
https://ibb.co/kcMp4S
https://ibb.co/fM6p4SFor instance it Breaks the WP Editor Plugin. Fail = activated GiftRegistry OK = deactivated. Same happens with other (mostly CSS / Code related) Plugins. Also Custom CSS Pro breaks.
I guess somewhere in the generally loaded files:
/wpgiftregistry/admin/css/style-admin.css
/wpgiftregistry/admin/js/main-admin.js
/wpgiftregistry/admin/js/vendor/vendor.js
/wpgiftregistry/includes/libraries/cmb2/js/cmb2.min.jsprobably the admin-related ones is a mistake.
But I could be totally wrong…
greetz
Forum: Plugins
In reply to: [Cool Timeline (Horizontal & Vertical Timeline)] Shortcode not executedWorks great thanks.
Will this be included in future releases or do i have to re-enter it at every update?no problem at all. I am a lot around software development myself. so I know the struggle 🙂
thx for the Github links.
By the way – gave Give a 5star rating – great functionalities and even better support! keep on like that!
Hi – I found the mistake. The thousand separator in Switzerland is a ‘ -> so that made the logic crash in the new version 1.6. I used a . now as a separator – which is wrong in Switzerland terms – but I can live with it 🙂
In Version 1.5.2 the ‘ worked fine – so may be the separators should be encapsulated better in the code of next version (1.6.1)
Hey – yes I did all the re-calculation of the different tools. Even deleting the testdata.
–> The Dashboard widget shows the correct numbers – so the data is correct. See screenshot: https://picload.org/image/rrcwopio/dr-give-dashboard.pngYes I changed the goal to 2000 instead of 1900 and re-saved the form. The calculation in “percentage” then adjusted correctly down to 72% instead of 75%.
But with the amount setting it’s still “1 CHF of 1 CHF” –> it somehow doesn’t get the amounts from $income and $goal even though they are surely correctly in the code because the percentage calculation works.I also switched the site into english to make sure that it’s not a mistake from localization – but there again it says “1 CHF of 1 CHF raised”:
I also deactivated all other plugins – but that did not help either.
So may be there must be something wrong in that area of shortcode_goal.php?
<?php if ( $goal_format !== 'percentage' ) : // Get formatted amount. $income = give_human_format_large_amount( give_format_amount( $income ) ); $goal = give_human_format_large_amount( give_format_amount( $goal ) ); echo sprintf( /* translators: 1: amount of income raised 2: goal target ammount */ __( '%1$s of %2$s raised', 'give' ), '<span class="income">' . apply_filters( 'give_goal_amount_raised_output', give_currency_filter( $income ) ) . '</span>', '<span class="goal-text">' . apply_filters( 'give_goal_amount_target_output', give_currency_filter( $goal ) ) . '</span>' );Screenshot from the progress bar and text: https://picload.org/image/rrcwgogl/give_goal2.png
I temporarily switched to the percentage value until problem is solved…
hey.
here is the link to the form: http://www.dankeruth.tk/spenden/ the goal should be 1631 of 1900.
screenshot: https://img5.picload.org/image/rrcpwowp/give_goal.png
transaction of 100 (08/12) and 20 (08/09) are not confirmed yet
as said. it worked in Version 1.5 and stopped after the update to version 1.6 thanks for the help
Update: I looked into the code of the shortcode_goal.php. Percentage seem to be calculated correctly so the $income and $goal and therefore the $progress for the bar are correct. may be something with translation (my site is in German) went wrong?
Recalculation doesn’t solve that problem. It worked fine before updating to the newest version 1.6 a few days ago. Now it only shows “1 of 1 Dollar raised”
Seems that it does not get the data from the form correctly in the Amount Goal. With Percentage it seems to work because there it correctly shows “74% funded”