Eric Daams
Forum Replies Created
-
Just a heads-up: Charitable 1.3.2 just came out and fixes this issue. Once you’ve upgraded, you should be able to safely deactivate the code snippet you added before.
Cheers,
EricThanks for the great review!
Also, to implement this code snippet, see https://github.com/Charitable/library#how-to-use-the-code-snippets which has a couple suggestions. The easiest option is probably to use the Code Snippet plugin.
Cheers,
EricHi santha,
You can use this code snippet:
https://github.com/Charitable/library/blob/master/campaigns/remove-stats-summary-block.php
Be sure to “uncomment” this line:
// add_action( 'charitable_campaign_content_before', 'charitable_template_donate_button', 6 );
Just remove the two backslashes at the start of the line.Cheers,
EricAwesome, glad that worked for you. Code Snippets is pretty great for little snippets like this.
Cheers,
EricGreat to hear Maruko80! Thanks for letting me know.
Cheers,
EricHi wpbigbig,
I’m so sorry for this. It’s a bug that crept in in the most recent version of Charitable. We should have an updated version out in the next few days.
In the meantime, here’s a bit of code you can add to your site to re-enable comments everywhere except for the donation pages and receipt page:
https://gist.github.com/ericnicolaas/2bd145e9d3ca7a293a0d
To add that to your site, you can copy and paste it into the
functions.phpfile in your theme, or you can use the Code Snippets plugin.Again, really sorry for this hassle and we’ll make sure it’s sorted in the next couple days.
Cheers,
EricI think this is because of a bug in Charitable at the moment. Basically, the issue is that if payment fails for some reason (e.g. the donor uses the wrong card number), the donor is sent back to the donation form to complete their donation. But if they then complete the donation, it actually creates it as a new donation, leaving that old one pending.
You can track this issue here: https://github.com/Charitable/Charitable/issues/106
For now, you can basically ignore those pending donations; in all likelihood they are donations that failed for one reason or another.
Cheers,
EricYou can add it to the end of your functions.php file, just before ?>. You might not see ?> at the end of the file, in which case you can just drop that code right at the end.
Hope that is clear. If not, try the Code Snippets plugin. It makes it much simpler and also means you can deactivate the snippet easier when Charitable fixes this problem itself.
Cheers,
EricOh dear, that’s nasty. I have put together a fix which will go into Charitable 1.3.2, but in the meantime, here’s a bit of code you can add to your site to re-enable comments everywhere except for the donation pages and receipt page:
https://gist.github.com/ericnicolaas/2bd145e9d3ca7a293a0d
To add that to your site, you can copy and paste it into the
functions.phpfile in your theme, or you can use the Code Snippets plugin.Cheers,
EricHi Beth,
Could you post your code here?
Cheers,
EricIn which context do you want to hide these? Could you post a screenshot?
Cheers,
EricGreat! Glad things are working for you as expected now.
Cheers,
EricGreat, glad you got this resolved. I’ll work on improving this in Reach so it’s a smoother setup process.
Cheers,
EricHi wpler,
I just pushed up version 1.3.1 which fixes all of these issues. Again, I’m really sorry about the inconvenience this caused you.
Cheers,
Eric