Donation Can is a WordPress plugin that lets you set monetary goals and collect donations to meet them. Donations are collected through PayPal and can be tracked inside your WordPress admin area separately for each goal.
Key features:
- Define goals with name, description and amount of money required to meet the goal. For example “Help me buy a MacBook Pro” or “Save the rainforests.”
- Use WordPress widgets to define how and where the donation forms and progress bars are shown in your blog layout.
- Be notified when someone makes a donation to one of your goals.
- Follow the progress and browse donations inside the WordPress admin area.
- Get a quick glance at the overall status of your donations using the Donation Can dashboard widget.
- Customize (almost) everything.
The Plugin is completely FREE.
Download
Download Donation Can from the WordPress plugin directory.
Feedback
For any feedback, questions or improvement ideas, leave a comment to this page and I will address your issue promptly. Thank you for your help!
P.S. I’d love to highlight some actual use cases on this page, so if you are using Donation Can to collect donations and don’t mind a few more visitors, leave a comment!
A really good looking plug-in. Thanks for making and sharing. I’m sure I’ll find use for it.
Thanks, Sampsa!
I started to wonder if this kind of “tipping” is somehow regulatedin Finland. Any idea?
@sampsa You know, that’s a good question.
I would imagine that for a business it’s OK to think of them as income, put it in your bookkeeping and pay your taxes for the money. After all, it’s a payment for the content delivered — just not mandatory.
But I’m not sure. As you know, in Finland (I don’t know about other parts of the world), fundraising is heavily regulated and you cannot go door to door collecting money without a permit to do so. So, if for some reason this would be considered such an activity instead of voluntary payment for a service, I guess it would be illegal (without applying for a permit).
What do you think?
Jarkko,
I would be interested in a version of this that would allow the donor to register for re-current donation billing with PayPal, the length of their commitment, for the goal to be set in terms… like “We want to raise $365,000 for the year!” And then if they are giving $85 per month and have pledged to give for 12 months, the meter bar would show the roughly $1000 instead of $85 towards the goal. Does that make sense?
I would give you a significant donation for it. ;)
This really is a sweet little plugin.
is there a way to see if a goal is met or not to display content? The idea is to display google adverts until the goal is met, and then have them automagically disappear when the goal is met.
am I making sense?
@Jimmy: Actually, that does sound like an interesting addition to the plugin. Certainly something I haven’t seen done before. Let me think about that a bit, and as I’m planning for some updates soon, let’s see… this could be one of the things worth adding. :)
@tiki god: The plugin now works so that once a goal is completed, the donation options and button disappear, and instead a text saying something like “The goal has been completed. Thank you for your support” is shown instead. Is that what you’re looking for? I’m thinking I should probably make that text customizable as well.
You would probably make the meter bar a “pledge” bar instead an “actually received” bar. Most places like volunteer fire departments, police, 501c3 organizations all measure this way. Or simply make a pledge version of your product that multiplies the monetary commitment by the length of the commitment then feed that number to the bar. “Donate Plus” plugin allows for recurring donations through Paypal, but does not have any bar. They DO tally the total donation number though at the site if you want it to. So if it’s open source, it may give you some ideas. :)
I think what I meant was that to have somewhere else entirely on the site, I could have some code that said something to the effect of:
if goal=met show :
thank you!
else
advertisement
all in php thought ;)
hi,
thanks for the great plug in!
but iam form Israel and we write form RTL and the RTL of my theme break the css green bar.
maybe u can help me and tell me what css code i need to write?
i don’t have a css skills.
thank u so much.
http://img266.imageshack.us/img266/9056/iliphones200909053.jpg
itay
I have two questions:
1. How can I remove donation options? I want people to choose how much they want to pay.
2. I enter the “Goal ID” but the plugin does not save it. It becomes blank again after saving.
Hi, nice widget! I find the donation options especially helpful. I would like to know how I can use this in a Page instead of the Sidebar as a widget.
Thanks!
I, too, would like to know how to use this plugin in a Page instead of the sidebar as a widget. Otherwise, this looks almost exactly like what I need!
A new release coming up next week, on October 5th.
@itay: Sorry for the delayed response. I suspect there is something I can do in the plugin’s CSS to fix the issue. I’ll look into it for the next release.
@Sourena: Thanks for the feedback.
1) is not possible in the current version. I’ll add an option for this in the next release.
2) I haven’t seen that happen before, but it sounds like a bug in the plugin. I’ll look into it.
@Jessica, @CowDog: Good question! I have two answers:
First, if you are familiar with PHP and WordPress and ready to do some coding, you can do this already with the current version of the plugin: create a special page template and use the following PHP functions to show the donation widgets (see the file theme_methods.php in the donation-can package for exact information):
- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)
But I suspect that’s a bit too much work and you’d prefer the second way of doing this: a short code, such as [donation_can cause_id]. This is at the very top of my feature list for the next update.
I’ll do that release next week — I hope that’s soon enough.
Thanks, Jarkko. I actually figured out how to get the widget into the page so that I wouldn’t have to use the methods, etc.
I’m actually having more fundamental problems where the data doesn’t come back from PayPal and doesn’t write to the database. It sounds like that may be a problem on my end and not yours, but do you have a list somewhere of what PayPal settings are required for the plugin to work? That could ease frustrations and, in the long term, would ensure that people are starting off with the right settings to make everything work smoothly.
Your work is greatly appreciated!
Cowdog, I had the same issue. Some hosts don’t seem to allow php includes or requires in the paypal IPN callback code. Not sure why.
So replace this line in wp-content/plugins/donation-can/callback.php
require( dirname(__FILE__).’/../../../wp-config.php’ );
with the code from wp-config.php that defines the database constants
use the correct values for the ” ones
/** The name of the database for WordPress */
define(‘DB_NAME’, ”);
/** MySQL database username */
define(‘DB_USER’, ”);
/** MySQL database password */
define(‘DB_PASSWORD’, ”);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
@Kitty Cooper: Big thanks for looking into this! I’ll add it to the FAQ section on the plugin page at WordPress.org, and try to find a way to make the include work more reliably. I’m also curious to know which host you are using.
Thanks Jarkko – I do get paid to do this sort of thing but posting the solutions for others is off the clock :) My client has a dedicated server package and I think the previous time I saw this problem with paypal IPN processing, it was also a dedicated server. Contact me privately for the host name.
Hey guys, I released a new version today which fixes some of the issues mentioned here.
I still haven’t found a good solution to the problem with the IPN page, so for now, Kitty’s solution is the best shot if you are having trouble with this. I’ll keep looking into it to find a solution that works out of the box for all of you — just haven’t found one yet. :)
@itay: I added a small fix to make the plugin work with RTL themes… But I’m not sure if it helps, so maybe you want to test the updated version to see what happens now. Also, it would be helpful to test the plugin with your theme, so maybe you can send me a link where to get it from (if you’re using a theme available online, or maybe a copy via email if you’re using a theme created by yourself).
@Jimmy Nimon: I had to leave the recurring donations for now to save some time, but it’s at the top of my list of features to add. Stay tuned :)
Thanks for all the comments and ideas, I really appreciate them!
Hi, I’m trying to activate Donation Can, but once activated it tells me I don’t have access to the configuration page. I’ve tried installing using WPs online installer, and also scp-ing the plugin into the plugins directory. I’ve also tried messing around with the perms on the files (e.g. setting them all to 755) but to no avail.
Any ideas?
Jarko,
I just upgraded to 1.1 and that cased me two problems:
1. I cannot remove “Donation options”. Clicking on “Remove” doesn’t do anything. I thought I can remove them in this version so the donation amount would be optional. “Remove” is completely dysfunctional.
2. Days before upgrading, I had changed “progress_bar.php” so I can add the donations that are donated off-line to the progress bar. I did that by changing “$current” to “$current+AMOUNT” (the word amount was replaced by the actual amount collected offline). This trick worked both on the progress bar as well as the amount mentioned under it in text form.
After upgrading to 1.1 the amount shows up in text form but does not show up in the bar. Any solution for that?
3. Suggestions:
a. Would you add “Offline Donation Collection” to the options? That way the users can add up the donations they have collected in fundraising, or donations through regular mail.
b. Would you add custom donation button to the options so the users can upload the button they want, or copy-paste the URL of the image they want to show as button?
Just noticed on IE the bar shows up really buggy (it goes outside the frame and outside the browser’s window!) On any other browser it does not show up at all. Is there any link to the previous version? I really need to downgrade to version 1.0.
@Sourena: Thanks for your feedback! There indeed was a bug in the released version 1.1. that caused CSS and JavaScript files to not be loaded. I fixed that and created a quick fix version 1.2, which is now available from the WordPress plugin directory as an update.
I’m pretty sure that bug was why the “Remove” button wasn’t doing anything and the CSS looked weird, so this new version 1.2 should fix your issues.
If after updating to this again newer version, your status still shows only as a number, I suggest you check plugin settings to see that you have set a fundraising target for your goal. Starting from 1.1, the plugin works so that if there is no target defined, it will not show the bar (we don’t know what the % should be if there is no max value) but instead shows the current status in text.
Offline donation collection sounds like a fine feature to have. If I added a menu page called something like “Add donation” where you can enter the donation details yourself on the admin page, do you think that would do it?
Thanks for your patience, and I hope this newest quick update will finally make things good :)
Right now, I’m working on my second plugin (a reservation system) but once I have its first version out (beginning of November), I’ll do a new bigger update to Donation Can, addressing the feature requests I still haven’t implemented — including the offline donations support.
@Dermot: I think your issue might be related to the one that was fixed in version 1.2. Basically, in the version 1.1 some paths were messed up, and I believe it could be that when WordPress tells you that you don’t have access, it’s actually a problem with WordPress not finding the file.
If you have the time, take a look at the fixed version and let me know if it helped. Thanks!
Thank you so much for your quick answer. I will install the 1.2 version.
I am also definitely interested in a bar, so one can graphically see how much was raised towards a goal :-)
@Ovidiu: Yes, I too think the bar is still the core feature of the plugin. But as some people might not have a specific goal in mind, I made it so that in the current version as the user of the plugin you can decide yourself whether you want to show the bar or not.
hey what would be really cool is if you have a donation page that lists each donation and a comment from them, Top donors kinda like http://www.justgiving.com/beckyandemmaontherun/
@Nick: I agree, a comment would be cool! Let’s put that on the future features list :)
I am having trouble with the plugin and getting it setup. I have used the plugin on a couple of websites already and it is really awesome. Nice Work!!
I think this has something to do with the host of my current client and their server settings, but I get this error when I go to add a goal:
Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘donation_can_add_goal_menu’ was given in /nfs/home/a/apdc.org/public_html/news/wp-includes/plugin.php on line 339
Not sure what is causing this. Anyone with a thought?
Hi, Jarko. I am glad I found your plugin.
I have one question: Is it possible to donate British Pounds?
thank you, all the best
@wiktor Glad you found the plugin useful! Right now, the currency is still “hard coded” in the plugin’s PHP code, which is something I’m planning to change in the next release.
But if you are not afraid of looking at some PHP code, you should be able to look up the HTML section where the donation form is rendered.
1) Look up the file view/donation_form_single.php
2) Go to the line where it says:
<input type=”hidden” name=”currency_code” value=”< ?php echo $general_settings["currency_code"];?>” />
3) Replace <?php echo $general_settings["currency_code"];?> with GBP
As you see, the code is already set up for multiple currencies, but I just haven’t implemented the settings page yet.
I hope this helps. Let me know if you need more info so I’ll then help you out so you can get this up and running in no time!
Dear Jarkko,
I love the plugin it’s exactly what I need for the site I’m building for an NGO trying to raise money for schools in SE Asia.
We have a number of schools that we are hoping to raise funds for separately and the goals option is perfect for that. Each school that we are raising for has it’s own post, in the sidebar I want to display the donation widget for that specific school. Other than creating and calling a completely new sidebar for each page (do-able but not for more than a few schools) is there any way to accomplish this?
This may be more about sidebar coding that the plug-in itself but any advice you can offer would be very much appreciated.
Cheers,
Mike
Is there a way to include this into a post or a page?
HI Jarkko, very nice and solo plugin that available for Wordpress..thanks for creating and your wornderful support…For me facing a problem the Bar is not updating after making the payment successfully in Paypal, After completing the payment when i reached the page Thank you page….the Bar is not updated….Do i need to make any modifications…..
Even i tried adding database details in Callback.php still no luck, even its not recording in database…any suggestions
Dear Jarkko,
Thanks for an excellent plugin! I’m using it on my website “kingofrpgs.com” (for an upcoming comic book) but I am having some trouble with the graphics & layout. I was wondering if you could help in return for some coffee money? -_-
(1) the donation bar color graphic (showing how much money has been raised) is not aligned with the donation bar itself… it sticks out of the bar.
(2) when I include donation options, the donation options jut out of the sidebar, due to my narrow sidebar width. How can I modify the code so that this doesn’t happen? I have tinkered with a bit of CSS but I’m basically a total amateur so I don’t know where to look to modify this.
My site is here:
http://www.kingofrpgs.com
Many thanks,
Jason
Hello:
Thanks for the GREAT PLUGIN!!
I have a problem.
The GOAL: C.S. Mott Children’s Hospital is automatically escaped (Children\’s) when I edit the GOAL.
It appears on the PayPal site as escaped (Children\’s)
Now, if I use C.S. Mott Children’s Hospital it is not escaped, but Paypal renders it ” Children’s ”
Any ideas?
Thanks,
Greg
@Mike S: Sorry for the delayed answer.
I guess how I would approach this would be to have the id of the donation goal as a custom field in each of the posts / pages and then in the sidebar, read that value and use the widget functions
- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)
to create the widget. If you want, you can use the WordPress function apply_filters (http://codex.wordpress.org/Function_Reference/apply_filters) to create the widget using the [donation-can ..] quick tag.
@Joey: Yes. You can use the quick tag [donation-can]. You can find more instructions on using it here: http://wordpress.org/extend/plugins/donation-can/other_notes/
@sivu: That’s been happening to some people — and there are a few possible causes for it:
- If you are using password protection on your blog (this is an issue I faced often when testing the plugin on my password protected test blog), WordPress will block PayPal from calling the file callback.php. You need to add an exception to allow that specific file to be called.
- I see you already tried Kitty Cooper’s solution: “Some hosts don’t seem to allow php includes or requires in the paypal IPN callback code.”
- There may be still other reasons for this… So if the first idea doesn’t seem to apply to you, let me know and I’ll take a closer look.
@Jason: Glad you like the plugin, and thanks for the coffee money! :)
1) I took a look at your site (nice art, BTW) and it seems that I have been a bit sloppy with the CSS of the sidebar widget. In its current state the widget can easily conflict with the CSS of the page, which is what happened in your case as well. I’m adding this to the official release soon too, but until I get to completing and testing a release, here’s the piece of CSS you can use to fix the widget.
Just copy the CSS to the “Donation widget style” field in the Donation Can settings panel (in wp-admin) and that should do it. (Let me know if it didn’t work)
.donation_meter div { margin: 0px; padding: 0px; } .donation_progress { padding: 5px; }2) Using the same text edit box as above, you can edit the CSS of the drop down list like this:
.donation-can_donation-form select { width: 150px; }I hope that helps :)
@Greg: That sounds like a bug in the plugin. I’ll have to take a look and fix it. Unfortunately right now, I’m dead busy with a client project — but I’ll get back to this as soon as possible.
Thanks for the comments, guys! They keep the plugin improving! :)
Hi Jarkko, Thanks for early response, Its not the problem with password protection, I tested with out login into my site…other than the admin accounts we dont have any password protected pages in my site….hope problem is some where else…not coz of login.
Dear Jarkko,
Thanks, you’re the greatest! The donation drop-down list CSS worked fine. However, the donation meter still doesn’t fit inside the meter area properly. If you have any other ideas of how to fix it that would be really awesome. Many thanks!
Jason Thompson
Jarkko Great plugin, and thank you for the hard work.
I am having issues with the callback.php not updating the donations, so I added Kitty’s solution, it has not updated but now a “log” file has been created in the donation-can directory so the data is coming back its just not being processed. any suggestions?
-Thanks Bryan
Thanks Jarkko for the tip. I’ll try it out and get back to you, if I come up with anything useful I’ll be sure to pass it on!
Cheers,
Mike
@sivu: The plugin uses something called Instant Payment Notification (IPN) to get the success of the payment from PayPal.
I’m not 100% sure about this, but it could be that you’ll have to update the settings of your PayPal account to enable the feature for the plugin to work correctly. Here’s some info from the PayPal documentation:
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_admin_IPNSetup
I’ll look into automating this process and making it less fragile in the next release, so please let me know if these settings fixed the issue.
@Jason: Ah, it seems I didn’t send you all the CSS properties you need to update. Here’s one more:
Seems that your declaration
#sidebar ul li divdefinition for padding conflicts with.donation_progress’spadding: 5px;.One way to fix that is to be quite specific and add the following piece of CSS:
#sidebar ul li div .donation_progress: { padding: 5px; }I hope that helps :)
@Bryan: If you want, I can take a look at the log file (just email it to me to jarkko@jarkkolaine.com) to see if I can locate the issue based on the log.
@Mike: You’re welcome!
Hi Jarkko…even in my site also as Bryan Said, Log is updating values correctly, but it not writing in the database, thats the only problem, i thing if databse is updated, then the donation can bar also will be updated….
@sivu: Yeah, you’re right. You don’t need to enable IPN as by default it’s on :)
However, I took a look at Bryan’s log file and found a problem with it. Basically, there was a problem connecting to
ssl://www.paypal.comand now that I looked at the most recent PayPal documentation, they have actually changed their example code to use a normal HTTP url instead. So probably this has been a common issue.Anyway, I have posted a new version of the plugin (1.3) to WordPress.org, so please try if updating the plugin makes it work. I can also take a look at your log file if you’d like.
Cheers!
Jarkko;
I really love the simplicity of Donation Can. I really want to install it on my site, but every time I click on the link to configure settings, I get an error message that reads: “You do not have sufficient permissions to access this page.” I’m using ComicPress in addition to Wordpress if that has any bearing on my troubles. Any help would be most welcome.
Pyar
@Pyar: Thanks for the feedback!
I created a new version (1.3.1) that should fix this issue, you can get it as an update from your WP admin. Let me know if it helps, so I can keep digging for other solutions. :)
I love the plugin! I’m already receiving donations. One problem I’ve encountered – the donations are showing up twice and therefore being counted twice. How do I fix this or remove the second posting?
Is there any way you can change the currency from US dollars to GBP pounds?
Dear Jarkko,
Thanks, you’re the greatest! Is there any way you can change the currency from US dollars to euro?
Thanks
The two things I need for this plugin to be perfect is the ability to display a donor list and the ability to add in offline donations. I saw offline donations mentioned earlier, can you tell me where this feature stands?
I have just used your wonderful plugin. I am experiencing an error, it is not interfering with the operation but of course I do want to fix this error which returns “Not a directory”.
Appreciate any suggestions you may have with fixing this!
i would like to use it with the paypal sandbox, can so can you plz tell me were to make the changes?
I’m about to release a new version next week, with the following features:
1) Ability to switch to PayPal sandbox (= test mode) from the plugin settings
2) Currency selection option
3) Offline donations
After that, I’ll look into the other issues mentioned in the comments here. Thanks and keep them coming! :)
great work bro.. :)
but can we add this inside the page? i mean not as a widget in the sidebar?
nice work …. :)
Thanks, guys!
@anand: You can use the tags explained on this page to do that: http://wordpress.org/extend/plugins/donation-can/other_notes/
I guess in a future version, I could add a button to the post editor, or something like that, but for now, you’ll still have to type these in manually.
Let me know if the instructions are not clear enough and I’ll help you out.
@jarkko great bro!!
i tried it out.. but… in the progress bar, the progress was always going out of the progress box, even if the goal is not reached…
the code i used is
[donation-can orphan show_progress=true] :(
@anand: This probably has something to do with the plugin’s CSS definition conflicting with that of your blog. If you email me a link to your site or a screenshot where I can check out what’s happening (jarkko@jarkkolaine.com) I can take a look.
hi Jarkko,
thank you so much for your response, i am really sorry to tell u that it was a mistake from my part, coz my client accidently added a “,” in btw the donation goals… like $30,000
so now it is working perfect… :)
Hi,
first of all, thanks for the nice plugin. Thats really great work.
Here is my usecase:
A friend of mine is getting married soon. She wants to raise money for presents and I implemented your plugin into her wordpress marriage page to raise money for different presents (goals). A nice wishingwelllist …
And here is my solution for everybody who has still problems with callback: Just check your permaling setting i n wordpress. It wont work on default. (took me an hour to sort that out :-( )
Cheers,
Michael
@Michael: You’re welcome! I love the idea of using Donation Can for a wedding gift list. Awesome!
And thanks for pointing out that it took an hour for you to realize that you need to change the permalinks. After hearing that it’s pretty clear that I need to make that fact more clearly present in the UI. I tried to do it already with the notification at the top of the page, but I need to try harder :)
Thanks for the plugin. Looks great. I too had to do what Sourena did in October, and it now shows $50/$5000 raised since I had someone send me $50 offline (a friend who’s internet-challenged and hates paypal) … but I wanted it to show up in the bar because…. well frankly, nobody wants to be first to donate! It shows up in the text but not in the graphs, even though the goal is set.
So, I’d love to encourage you to add the offline donation feature.
@Tony: Have you tried the latest version (1.4.2)? I added there a feature that would work for you: offline donations. In the menu, just choose “Add donation” and enter the donation amount you received from your friend.
I have been thinking about having an “initial donation” or “start value” column when creating a goal, but maybe this offline donation feature does the trick for most users?
Yes, thanks! I found it after reading your blog!
Maybe your latest comments should be first. That way as people read through the blog they’re not reading outdated comments. Just a thought!
Thanks Again!
Tony
We just started to use Donation can and it is perfect for our site which is very small and simple. I am having one problem and I could not find any documentation on the settings for the permalinks. We use the WordPress default (id) for our permalinks and this does not seem to work with Donation can. What settings will work or even better, what do we need to do get the default working.
Thanks
Seems like the plugin doesn’t take into account the WordPress address (URL). I have the files of my wordpress installation in lets say public_html/v2 but I have the index placed in public_html/
With this the plugin adds to the header the location of the css and javascript file the wrong location!
i.e:
public_html/wp-content/plugins/donation-can/view/style.css
should actually do
public_html/v2/wp-content/plugins/donation-can/view/style.css
@rkljr: You can use any permalink structure except default and it will work. PayPal doesn’t allow having GET parameters (= the question mark, e.g. ?p=10) in the pages it calls when notifying about a payment. I’ll make this more clear in the next update, and also update the FAQ with the solution.
@Tsikura: Good catch. I’ll add it to my list of bugs to be fixed for the next release. Thanks!
And @Tony, thanks for the idea! I’ll try to reorganize the page as soon as I can to make it easier to find relevant information.
@Jarkko, makes sense and thanks.
Is it possible for you to add funcionality for payments to be recieved for multiple payment gateways or is it only paypal that this plugin is intended for?
@Kaitora: That’s a good question… And the answer, for now, is that I don’t know.
If there is enough interest for some other payment gateways, I will definitely consider adding support. Until then, I think PayPal will be enough. Which one would you prefer?
Hi Jarkko,
First thanks for developing/maintaining this plugin, great tool for charities like us.
Installed the plugin and /almost/ works very well. I have a problems though
I can’t view the list of donations, even though donation data came back from Paypal, through IPN, and is saved in wp_donation_can_paypal_donations table. I have set my IPN notification URL to point to callback.php. Is that the right way, as I saw that you implemented that functionality elsewhere in the code?
I also had to hand edit the require() in callback.php, if that makes any difference. Also I adjusted the hardcoded URL’s for the stylesheets to reflect our blogs true path, but I don’t think that should matter.
Delete those comments, really don’t like to clutter up comments like that :( Just basically enclose the form with fieldset tag for validation purposes.
@Oszkar: You don’t need to set up the IPN in PayPal as the plugin sets it automatically. The only thing you need to make sure is that you use some other permalink structure in WordPress than “default”.
(Callback.php will be removed completely in the next version)
Does that help at all? If not, I’ll look into this to see what might be the problem :)
@Tsikura: Thanks for the improvement suggestion!
Thanks for this plugin :)
Sorry to ask this, it might have been answered but I can’t find it anywhere. How do I list out who has donated to me? I would like to give them all recognition, but it’s not working. I have a page with this code on it but it doesn’t show the list :(.
[donation-can march2010 show_donations=true]
Any ideas?
Love the idea for this plugin.
I’m not having any luck inserting the shortcode into my page.php
when I insert [donation-can Coffee show_description=true] into page.php, all I see on the actual post page is the shortcode, not the donation thing.
What am I doing wrong?
hello Wordpress world. I am new to wordpress and I am not a professional developer. I barely know enough to get by. I would like to add a meter to my site but I do not know CSS codes. Can someone please explain what text I am suppose to put into the box to add a donation meter. Thanks everyone.
@John: Looks like you found a bug in Donation Can. I’ll fix this for the next version. Thank you!
@Michael: The shortcode is meant to be used through the graphical editor in the admin area, for cases where you want to embed the widget inside a post or page.
If you want to add the widget in your page.php template, take a look at the PHP functions
- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)
They are located in theme_methods.php in the plugin source code.
@Darius: You should see the meter automatically if you add a goal for your donation widget. Let me know if that doesn’t work so I’ll help you troubleshoot.
Hi
I notice from a previous post that you was intending on adding a way of deleting an individuals donation. Has this been done yet and if so, how do I do it?
Matt
Hello,
Thanks for such a fast response to my previous question about the goal meter. I set a goal and it does not display the meter. Can you give me some additional steps.
Thanks
Darius
@fbpgroup (Matt): This feature isn’t implemented yet as it poses some interesting questions that I have to figure out first: Should you be able to delete any donations? Or only donations that you added manually? Should the donor be notified if you delete his donation, and so on…
On the other hand, especially when testing the plugin, this can be an important feature to have, so I think it’ll probably be added soon.
@Darius: Can you email me a link to your site so I can see the problem in action? (jarkko@jarkkolaine.com)