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

  #16  
Old 27 Jan 2010, 18:32
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by Corky91 View Post
Nice, but can't you create something similar to CYB-Donation bar? at the top under the navbar?
Can't I do so? I suppose I could but this works for my use and I'm sharing what I implemented. The benefit of this implementation is that it requires no Template Modifications.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #17  
Old 27 Jan 2010, 21:25
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
What a great little add on. I had to change the colour of my Thermometer background, to suit my forum.


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

Which gives me.

Reply With Quote
  #18  
Old 29 Jan 2010, 12:23
lazydesis lazydesis is offline
 
Join Date: Sep 2006
thanks a bunch
__________________
http://www.lazydesis.com
Reply With Quote
  #19  
Old 29 Jan 2010, 19:49
Marv Marv is offline
 
Join Date: Jun 2002
Originally Posted by SemperFideles View Post
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.
Thanks for the mod, Rich. True, itīs not matching my forums style but life is imperfect. Even the light fifty isnīt a beauty and for sure not a lightweighted one but itīs pretty darn effective, so who cares ?

Does anyone have CYBīs old plugin ? Would love to see the code he was using in it. Guess it shouldnīt be to hard to rewrite this one for the 4.x series. Has anyone get in contact with CYB already ?
Reply With Quote
  #20  
Old 29 Jan 2010, 20:43
movslow movslow is offline
 
Join Date: Aug 2008
Obvious easy mod for the forum block, but I can't get anything to load there.

It only shows where an image should be, w/nothing other than Support us underneath it.

I uploaded the thermometer.php to the forum root, and still nothing.

?

Please advise.

Thanks



/edit

I tried the 2nd code, and it shows a donate button, and the drop down box, but NO image.

??
Reply With Quote
  #21  
Old 29 Jan 2010, 21:27
durdan1 durdan1 is offline
 
Join Date: Aug 2009
Originally Posted by Marv View Post
Thanks for the mod, Rich. True, itīs not matching my forums style but life is imperfect. Even the light fifty isnīt a beauty and for sure not a lightweighted one but itīs pretty darn effective, so who cares ?

Does anyone have CYBīs old plugin ? Would love to see the code he was using in it. Guess it shouldnīt be to hard to rewrite this one for the 4.x series. Has anyone get in contact with CYB already ?
Here is the attached file for cybpals donate system version 4.8.2

If you get to work in 4.0 please give me a copy
Attached Files
File Type: xml CybPayPalDonate.xml (84.9 KB, 4 views)
Reply With Quote
  #22  
Old 30 Jan 2010, 02:09
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by movslow View Post
Obvious easy mod for the forum block, but I can't get anything to load there.

It only shows where an image should be, w/nothing other than Support us underneath it.

I uploaded the thermometer.php to the forum root, and still nothing.

?

Please advise.

Thanks



/edit

I tried the 2nd code, and it shows a donate button, and the drop down box, but NO image.

??
Is thermometer.php loaded in your forum root?

Also, if you look at the page where I got the thermometer.php script it states the following:
This script requires access to a web server that supports PHP and that has the "GD" graphic library installed.
Your web server may not have the GD graphic library installed.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #23  
Old 30 Jan 2010, 02:13
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Originally Posted by Marv View Post
Thanks for the mod, Rich. True, itīs not matching my forums style but life is imperfect. Even the light fifty isnīt a beauty and for sure not a lightweighted one but itīs pretty darn effective, so who cares ?

Does anyone have CYBīs old plugin ? Would love to see the code he was using in it. Guess it shouldnīt be to hard to rewrite this one for the 4.x series. Has anyone get in contact with CYB already ?
You can always Modify the colors of the thermometer as others have done.

You know what's interesting? Donations are much higher than when I had the Cyb bar in the old plugin. I went to zero for almost a month when I had no donation status and then, Bingo, this thermometer started generating donations at a rate higher than when I had the Cyb plugin.

I've been working with websites for some 16 years now and I believe aesthetics are important but they aren't everything. I think there's a reason why many charities use the thermometer thing. I plan on keeping it in place. I'll probably figure out a way to modify somebody else's code just to make it autoupdate.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #24  
Old 30 Jan 2010, 03:37
tobe12's Avatar
tobe12 tobe12 is offline
 
Join Date: Mar 2006
I installed it, but can see the Thermometer BLOCK anywhere on my forum
__________________
Website www.sadoun.com
Forums www.sadoun.net
Reply With Quote
  #25  
Old 30 Jan 2010, 17:32
Ranger375 Ranger375 is offline
 
Join Date: Jun 2007
nm, fixed
Reply With Quote
  #26  
Old 31 Jan 2010, 21:18
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Be cool to have this tied in with paid subscriptions.
__________________
...steven
www.318ti.org
forum.nccbmwcca.org
Reply With Quote
  #27  
Old 01 Feb 2010, 15:05
movslow movslow is offline
 
Join Date: Aug 2008
Originally Posted by SemperFideles View Post
Is thermometer.php loaded in your forum root?

Also, if you look at the page where I got the thermometer.php script it states the following:

Your web server may not have the GD graphic library installed.
This could be the case, would it be possible for you to attach the image, so we don't have to rely on our web host?

Thanks.
Reply With Quote
  #28  
Old 09 Feb 2010, 20:15
movslow movslow is offline
 
Join Date: Aug 2008
Hello?
Reply With Quote
  #29  
Old 10 Feb 2010, 01:28
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by movslow View Post
This could be the case, would it be possible for you to attach the image, so we don't have to rely on our web host?

Thanks.
Hello? There is no image, it's drawn by the php script. You can check AdminCP>Maintenance>View PHP Info and you should have a GD section showing it as enabled. If you're on a shared server you may need to contect your host.
Reply With Quote
  #30  
Old 12 Feb 2010, 16:29
movslow movslow is offline
 
Join Date: Aug 2008
Originally Posted by Videx View Post
Hello? There is no image, it's drawn by the php script. You can check AdminCP>Maintenance>View PHP Info and you should have a GD section showing it as enabled. If you're on a shared server you may need to contect your host.
Copied directly from my PHP info.

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.7
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
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 10:55.

Layout Options | Width: Wide Color: