The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Donation Goal Thermometer Forum Block addon for Donation Manager Details »» | |||||||||||||||||||||||||||||
Donation Goal Thermometer Forum Block addon for Donation Manager
Developer Last Online: Jun 2018
**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 PHP 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: 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.(1) Current=current donations received 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: PHP Code:
- Thermometer values as before - email@domain.com 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
Show Your Support
|
Comments |
#12
|
|||
|
|||
So every time someone donates we have to update the "Current" value, correct?
|
#13
|
||||
|
||||
Quote:
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. |
#14
|
|||
|
|||
Semper Fi, young man. That's all I came to say.
I'll definitely try this out during my annual fund drive. |
#15
|
|||
|
|||
thanks
|
#16
|
|||
|
|||
Nice, but can't you create something similar to CYB-Donation bar? at the top under the navbar?
|
#17
|
||||
|
||||
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.
|
#18
|
|||
|
|||
What a great little add on. I had to change the colour of my Thermometer background, to suit my forum.
PHP Code:
|
#19
|
|||
|
|||
Quote:
|
#20
|
|||
|
|||
Quote:
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 ? |
#21
|
|||
|
|||
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 :up: /edit I tried the 2nd code, and it shows a donate button, and the drop down box, but NO image. ?? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|