Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Donation Goal Thermometer Forum Block addon for Donation Manager Details »
Donation Goal Thermometer Forum Block addon for Donation Manager
Mod Version: 1.00, by SemperFideles (Coder) SemperFideles is offline
Developer Last Online: Jun 2018 I like it Show Printable Version Email this Page

vB Version: 4.0.1 Rating: (2 votes - 5.00 average) Installs: 24
Released: 26 Jan 2010 Last Update: Never Downloads: 224
Not Supported Additional Files  

**This is an addon for the Donation Manager addon if installed as below.**

I've been waiting for something that will be an all-in-one donation system such as the Cyb Paypal Donate for vBulletin 4 but can't wait any longer. I really needed a donation goal monitor as it encourages people to donate who otherwise do not.

I like the features of the Donation Manager addon and decided I would search for some sort of script that would enable me to display donation progress. I found this free script: http://www.arkie.net/~scripts/thermometer/

I have implemented a basic method to display donation progress through both of these scripts. It is a manual process to update donation progress but the Cyb Donate plugin was as well.

DEMO: You can see my implementation in action at http://www.puritanboard.com/forum.php

Instructions
1. Download thermometer.php and upload that into your forum root.
2. Create a new Forum Block
a. AdminCP -> Forums & Moderators -> Forum Blocks Manager
b. Click Add Block
c. Block Title: Donate (or Support Us)
d. Active: Yes
e. Content Type: HTML
f. Content

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

g. BEFORE YOU SAVE, you must configure the thermometer in the Content block. All the settings are within the img attributes and you don't need to touch the thermometer.php file. Notice that img has the following src value:

thermometer.php?Current=0&Goal=100&Width=50&Height=100&Font=2
(1) Current=current donations received
(2) Goal=donation goal
(3) Width=width of the thermometer
(4) Height=height of thermometer
(5) Font=size of font from 1...whatever
(You can experiment with these settings but I found a width of 50 and Height of 100 with a font size of 2 makes my thermometer about right)
Once you save the Forum Block you can position it in your Block order. When you receive donations you simply edit the forum block and update the Current= value. It's not perfect but it's better than having no goal meter. When the user clicks on the Support Us link he is taken to the Donation System which allows him to donate.

ALTERNATIVE IMPLEMENTATION

You can set up the forum block to allow the user to select pulldown dollar amounts. I don't know how to pass the variables that the donation system uses or I would use them in my block. This block requires a bit more editing to get it working for your site.

Follow the same instructions as above but in the Content Block replace all with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Set:
- Thermometer values as before
- [email protected] to your paypal e-mail address
- value="USD" to a different currency if you want to accept by another currency
- option values to the amounts you want to donate and set the values between the option tags to the currency you want
- value="US" to your country
- value="Forum Donation" to what you want displayed in the paypal cart when the user donates
- forumdomain.com to your forum domain (there are two and they are the success and fail pages of the Donation System plugin)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Cyb Paypal Donation Bar Addon sinisterpain Modification Graveyard 16 27 Oct 2007 00:32
Donation Tracking Addon for Lesane's Store Hack Pricyber vBulletin 2.x Full Releases 9 05 Oct 2003 03:44
ADDON: Donation Notification afterlab vBulletin 2.x Full Releases 12 17 Jul 2003 05:16
Donation authorization addon for Lesane's Store hack trafix vBulletin 2.x Full Releases 8 25 Mar 2003 11:15

Comments
  #2  
Old 26 Jan 2010, 22:21
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
By the way, within 30 minutes of installation last night I had 2 donations.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #3  
Old 26 Jan 2010, 23:07
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
This looks pretty interesting, i also couldn't wait for my premium donations module to be updated so had to find alternatives of my own. Fortunately since i found a great alternative i don't need this but wanted to comment and give you props for putting this together. *Rated*
__________________
Reply With Quote
  #4  
Old 26 Jan 2010, 23:48
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Any chance of a nicer image instead of that red ugly themometer?
Thanks.

I hope that the donation system coder will implement a donate meter in his addon because it should do it automatically and its a great need for a site because it motivates donations.
Reply With Quote
  #5  
Old 26 Jan 2010, 23:56
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by Bouncer222 View Post
Any chance of a nicer image instead of that red ugly themometer?
Thanks.

I hope that the donation system coder will implement a donate meter in his addon because it should do it automatically and its a great need for a site because it motivates donations.
If you can find a "prettier" thermometer then I'm willing to update the code. It's the only one I could find that allowed me to update the status easily. It might not be the prettiest thing but it auto-generates the image and is free for use.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #6  
Old 27 Jan 2010, 00:01
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Well can the themometer be made on photoshop? Or does it have to be specifically made with the code or something?
Reply With Quote
  #7  
Old 27 Jan 2010, 03:10
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by Bouncer222 View Post
Well can the themometer be made on photoshop? Or does it have to be specifically made with the code or something?
It depends on the amount of work a person wants to put into a donation bar and how much fidelity you want for it. The short answer is "Yes" I could have chosen to make a killer Photoshop Thermomether and made 100 images for each percentage of the thermostat's rise. I could have made 1000 images if I wanted to show it in .1% degrees. I could have then made several variants for the various heights and widths that people might want to choose.

Then people could have taken out their calculators to figure out how much of their goal is achieved when the user contributes $15 and their goal is $400 for the month and selected the correct image to display.

BUT

I'm a Marine with four kids and a lot of other work to do. I wanted a simple solution that got the job done and was sharing how I implemented.

So, if you think it's "ugly" then you're welcome to put the work into figuring out a way to make it pretty but it works for me given the time I was willing to devote to the task.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #8  
Old 27 Jan 2010, 04:38
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
oh I didn't mean any disrespect by that, sorry if it came out that way, I was just curious that if you create a new image, does the code somehow have to be modified to suit that image. that is all. And thanks again for the release of this
Reply With Quote
  #9  
Old 27 Jan 2010, 05:36
lazydesis lazydesis is offline
 
Join Date: Sep 2006
thanks for the nice mod

An unrelated question. Would you be kind enough to tell us how you were able to put the sidebar on forumdisplay in your site, please?
__________________
http://www.lazydesis.com
Reply With Quote
  #10  
Old 27 Jan 2010, 10:30
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by Bouncer222 View Post
oh I didn't mean any disrespect by that, sorry if it came out that way, I was just curious that if you create a new image, does the code somehow have to be modified to suit that image. that is all. And thanks again for the release of this
No problem. You weren't insulting me by the fact you thought it ugly but the person who wrote the code. The thermometer.php script generates the image and it would require a pretty complicated script, I imagine, to generate a more sophisticated looking image. I think it might be possible to use a script in conjunction with a nicer image and I've seen some nicer status indicators online but all the independently hosted script ones I've found are not free and this one is. That's why I mentioned you might be able to find something nicer.

Originally Posted by lazyindian View Post
thanks for the nice mod

An unrelated question. Would you be kind enough to tell us how you were able to put the sidebar on forumdisplay in your site, please?
Everywhere Sidebar addon: http://www.vbulletin.org/forum/showthread.php?t=233871
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #11  
Old 27 Jan 2010, 14:34
meissenation meissenation is offline
 
Join Date: Apr 2005
So every time someone donates we have to update the "Current" value, correct?
Reply With Quote
  #12  
Old 27 Jan 2010, 14:55
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by meissenation View Post
So every time someone donates we have to update the "Current" value, correct?
That is correct. If the current donations is $5 and you receive a $10 donation then you edit the block and change the Current from 5 to 15.

I'm not a sophisticated programmer. I would love to be able to have the ability to have the value automatically updated but this is better than nothing and it's really not that hard to update.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #13  
Old 27 Jan 2010, 15:01
Edrondol Edrondol is offline
 
Join Date: Aug 2009
Semper Fi, young man. That's all I came to say.

I'll definitely try this out during my annual fund drive.
Reply With Quote
  #14  
Old 27 Jan 2010, 16:41
steve1966 steve1966 is offline
 
Join Date: Dec 2007
thanks
Reply With Quote
  #15  
Old 27 Jan 2010, 18:13
Corky91 Corky91 is offline
 
Join Date: Feb 2009
Nice, but can't you create something similar to CYB-Donation bar? at the top under the navbar?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:03.

Layout Options | Width: Wide Color: