By dshaw on
Can anyone point me to a simple "fundraising thermometer" suitable for use with Drupal? By this I mean the classic image of a thermometer representing target of funds to raise and the amount the thermometer is full represents how far towards your target you are.
I've checked out the ChipIn module, but it requires you to use their services. All I'm after is something where I could manually enter the target and the current funds raised and a simple thermometer image could be presented in a block somewhere.
Any suggestions?
Comments
http://www.entropyfarm.org/so
http://www.entropyfarm.org/software/thermo/
there were quite a few other scripts on google as well, using search term: fundraising thermometer.
I do not know of any community released modules of this nature, except for the chip in module.
CiviCRM has a block that
CiviCRM has a block that displays a fundraising thermometer as part of its CiviContribute. CiviCRM has a lot of other stuff too as well, so I'm not sure if this is what you want as it may be too involved. But you can have a look here to see for yourself.
newms
Fundraising Thermometer
FastTrack Fundraising has a pretty nice thermometer: http://www.fasttrackfundraising.com/fundtracker_create.php.
Looks like it is exactly what you're looking for - you just enter in the target and current funds raised and it presents the thermometer in a block that you can copy and paste anywhere.
Some issues
Thanks for the tip. I think I found them when I was looking. The thermometer is exactly what I need. However there were two issues I had with them: they collect (and hence control) the money; and they don't operate internationally (which is no good for me as I'm in Australia).
Try
Try http://xdal.org/thermometer/
I've tried to make it really easy to use, somewhat configurable, and fast.
Easy Fundraising Ideas Just Released a New Thermometer
dshaw,
If you have not located a fundraising thermometer suitable for your needs yet, I just found a new one just posted by Easy Fundraising Ideas that looks very sharp and easy to use. You can check it out here:
http://www.easy-fundraising-ideas.com/tools/fundraising-thermometer/
Their large one is a little too large for me but they do offer a smaller size which I found to be perfect. They give you links with the thermometer that make it easy for you to update but if you look at the code you will see how to update it yourself without having to return to their site. I have done business with this company and love them! Which is how I found about about their new thermometer.
Hope this helps someone out there!
Donations Thermometer module
http://drupal.org/project/donations_thermometer
fundraising thermometer
I know its been a while since your original post, but here's a fundraising thermometer that takes things to a whole new level.
http://www.school-fundraisers.com/fundraising-thermometer.php
This thermometer has customizable features (thermometer size, fill colors, background colors, various currency options, and various themes). Plus, there's no need to copy and paste code each time you want to update the thermometer. There's a custom control panel where you can easy adjust the thermometer.
I did this with a very little
I did this with a very little script and some CSS to create a very clean thermometer.
I created a new block with PHP filter:
And I added some CSS to my theme stylesheet:
To change the numbers over time just edit the variables in the block
Works perfectly
Thank you. This bit of code works perfectly. I was able to easily change to colours and the text. Much better than having to sign up for a third party site.
Thanks, This Works Well
I was looking for a vertical version, so I adapted yours and combined the CSS for rapid test & tune:
Very handy script
I deployed this to great effect on one of my client sites. I have followed SeeLion's tip and added the CSS into the PHP snippet. Additionally, I changed the outer width to percentage as I noticed it was sticking out the side of the block when I viewed in on my old laptop.
Another Donation Block
Hi and thanks to all that posted good information above about Donation Thermometers. I took the code and modified it to suit my needs and taste. I post it here below for any that can use it.
I have changed the bar background to a three color gradient and added formatting for the displayed numbers. Currently setup for Swiss Francs. Google PHP number_format() for info on how to change this. There maybe some other things that I change too.
I would have also uploaded a screen shot but even though the editor will let you add images they must be upload to drupal.org and there is no widget to attach files in the forum it seems. Too bad it is a pretty one.
God Bless!
Frederick
An animated thermometer
This is based on http://www.sitepoint.com/forums/showthread.php?889440-Code-for-a-fundrai... and http://jsfiddle.net/UpnKF/ and works on Drupal 7.
Bit concerned that I had to use
drupal_add_js("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js",array('type' => 'external', 'scope' => 'header', 'weight' => 4));to get it working, when I thought this would have worked with Drupal's own JQuery library - but I don't know enough about JQuery to make this work without it.... and this disables JQuery for the rest of your site!Donations Thermometer
I've now got this working with some updates to the Donations Thermometer port for Drupal 7 - #1107866: 7.x port
fundraising thermometer
Thanks for the suggestions here. This is my finished product using some of the code from others, so I'm sharing back. I'm not an expert so there might be some problems with older browsers and such. This isn't tied to any database or anything, one must manually change the height of the div in the code to increase the thermometer level.
demo link:
http://www.jrrb.com/cdm/campaign/fundraising-thermometer.html
I used Jquery 1.10.2 for the animation, so the link to that js file will have to be there. http://jquery.com/download/
Thermometer image I used: http://www.jrrb.com/cdm/campaign/img/thermometer.png
css:
HTML:
To change the height of the red in the thermometer, change the height in the script (now 333px).