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 |
#2
|
||||
|
||||
By the way, within 30 minutes of installation last night I had 2 donations.
|
#3
|
||||
|
||||
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*
|
#4
|
|||
|
|||
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. |
#5
|
||||
|
||||
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.
|
#6
|
|||
|
|||
Well can the themometer be made on photoshop? Or does it have to be specifically made with the code or something?
|
#7
|
||||
|
||||
Quote:
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. |
#8
|
|||
|
|||
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
|
#9
|
|||
|
|||
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? |
#10
|
||||
|
||||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|