WPCharitable
Forum Replies Created
-
If you’re referring to the percentage in the progress bar in the link that you sent, that progress bar is not generated by Charitable. That being said by the looks of it you might be able to add this custom CSS might make the text invisible:
.prg-wrp .progress .progress-bar > span { color: transparent; }If that doesn’t work, you might want to confirm if this bar is coming from a page builder or the theme (my guess is the theme) and follow up with their support folks.
@fixing2022 thanks for reaching out.
The best non code solution would be to install Loco Translate which doesn’t just translate from one language to another but can change wording of the same language.
https://ww.wp.xz.cn/plugins/loco-translate/
You can also try adding a code snippet by installing WPCode using this snippet which you can add to your site via the plugin with a click:
https://library.wpcode.com/snippet/32j0vx5l/
Finally you can likely – depending on where the wording is – change it manually in a template which would need to copy and paste from Charitable into your child theme and modify the wording there.
Let me know if you have any questions or want further details. 🙂
@styzer I’m only speaking to things as they current exist. There are no plans currently to do this so therefore today I couldn’t speak to what we wouldn’t or would do in the future. We want to make sure as many people as possible get value out of Charitable. Hope this helps! Thanks!
@styzer at the time of this writing there shouldn’t be non-Stripe transaction fees with the lite version (although gateway fees any gateway would charge you would still apply). Email receipts can be activated and customized in Charitable settings, and can be sent to a donor (and others) automatically. Hope this helps!
Hi @styzer,
Thanks for reaching out.
- For the best and most accurate information we would suggest you confirm with any agency to determine what is officially recognized, as Charitable produces similar receipt pages, emails, and (with addons) PDFs as most other commerce systems.
- Charitable collects 3% platform fees (Stripe) for the lite version, and no fees for any paid license.
Let me know if you have any further questions! Thanks for checking us out!
@starpage5054 no problem. thanks for checking that. at the present time, Charitable counts unique donors by email address.
Glad we could help. Thanks for using Charitable and have a good rest of the day!
@starpage5054 Thanks for your response. First off please do this additional troubleshooting to rule out a few basic common items:
1. Make sure your cache is off/cleared both on the WordPress end and anything that your server might be running.
2. View the page with non-Charitable plugins turned OFF and also on a WordPress default theme (you can switch right back and turn on the plugins when done). This helps greatly determine quickly if this is a third party coding issues of some sort.
If that isn’t the case then the current theory is that although you have 15 donations, you have 14 donors according to your database. Please make sure all 15 donations are coming from 15 unique donors with unique email addresses. After that we need to get more details about what is being pulled from the database:- Enable logging with WP_DEBUG and WP_DEBUG_LOG. Here’s an article showing the few ways you can do this.
- Look at /charitable/includes/data/class-charitable-campaign-donations-db.php around line 460 in the count_campaign_donors function and right before the “return $wpdb” line of code, add this before it:
error_log( ‘count_campaign_donors’);
error_log( print_r( $sql, true ) ); - Then go back to your public page and refresh the page. Make sure you clear any cache prior to this.
- Examine the debug.log file in your wp-content folder to see/confirm what SQL is being generated. You should get a number in the logs below “count_campaign_donors”). You can view also additional instructions on viewing the logs here.
If you get the same incorrect number, then you might need to grant our team additional access to take a direct look into your database to see if there is corrupted or incorrect information in the tables/rows that store donors for donations.
Hi @starpage5054,
Thanks for reaching out and providing the screenshots (that helps alot). On the surface and what you provided so far – yes, that is odd. The 15 items in the admin are really donations NOT donors – although in theory each one should be from a unique individual (I double checked and not seeing duplicate names). But if you had 15 donations and 1 person is responsible for two of them, that could be a reason.
I see an anonymous donor on the list. Can you try making that payment briefly “pending” which should remove it from the donor list but we’ll see if the “14” number changes?
Otherwise you may need to share some additional information for our support team to gain access to your site and trace the database call to confirm why it’s pulling that particular total.
Thanks!
I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Hey @jdowns1,
We might need some more information here to help you. Can you put to a public url of the button or area on your site that you wish to change the text on? Is it in the menu, like the article is instructing (and if so what you are doing differently)?
I’m not seeing a charitable_text_switcher as a valid function mentioned. The more information to share about your specific case (urls, code) the better and faster we can respond.Edit: Now seeing the function you are referring to in the code snippet library. The best way to answer the question if you can use that function is for you to dump the vars coming into the function to see if there’s any unique markers to test again. You can also hook into globals in the function ($wp_query, $post, etc.) and dump those while inside the function for additional possible methods of unique markers (it may depend on when this function is firing off and where the text you want to change is).
Thanks!
- This reply was modified 2 years, 9 months ago by WPCharitable.
Hi @jdowns1
Sadly there is no shortcode version.
The template at charitable/templates/widgets/donate.php is pretty straight forward though if you want to add some PHP code that should deliver something similar.
$campaign_id = 'current' == $view_args['campaign_id'] ? get_the_ID() : $view_args['campaign_id']; $campaign = charitable_get_campaign( $campaign_id ); $form = new Charitable_Donation_Amount_Form( $campaign ); $form->render();You need to adjust how the campaign_id is discovered, but that effectively produces the same form the widget does. Plugins like WPCode and others can take snippets and turn them into shortcodes.
I hope this helps! BTW this a good recommendation I’ll pass along to our developers.
- This reply was modified 2 years, 9 months ago by WPCharitable.
I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Hi @jdowns1
This depends on your purposes on why you are changing the donation. I believe the filter you may want to look into is the charitable_donation_form_submission_values filter located in the public function get_donation_values() function in charitable/includes/forms/class-charitable-donation-form.php.
As a developer you’ll need to log the output and check the context of the connecting functions and code to confirm, but you might find this useful. Here’s the filter I’m referring to. Hope this helps!
/** * Filter the submitted donation form values, before any processing happens. * * @since 1.0.0 * * @param array $values The structured submitted values. * @param array $submitted The raw submitted values (i.e. $_POST). * @param Charitable_Donation_Form $form This instance ofCharitable_Donation_Form. */ return apply_filters( 'charitable_donation_form_submission_values', $values, $submitted, $this );Hi @martinpineault – since you reached out to us via our support system on the website we are going to close this so we don’t have two different conversations. 🙂 Thanks!
@murraydailymaverick i’m closing this ticket assuming you are reaching out to our licensed support area, since we can potentially share sensitive information there securely (etc) but i’m happy to continue the conversation here if need be. Our team has this on their radar regardless to look at closely and confirm if there is a big – if there is a confirmation or update we’ll make sure to make it publicly known in any future release. Thanks!