Donation Progress Bar-Forumhome

Daz

New Member
What Donations Bar Is:
It is a simple way for Admins to show a donation progress bar on their forum home page with Admin set goals and donations recieved. Because the donation bar is a stand alone it can be utilized with any donation system your using. It adds more visability of your site donation goal requirements and donation button to your members for hopefully more through put in donations.

Can Be Used With:

* Any paypal/donate system.
* PayPal Easy Donate - vB 3.6
* Cyb - PayPal Donate


This script adds:

1. 2 Plugins
2. 1 Template


Installation:

1. Import the product-donationbar.xml through admin cp
2. edit your FORUMHOME template:

Find:

PHP:
</head>
<body>
$header
$navbar
<if condition="$show['guest']">

Change too:

PHP:
</head>
<body>
$header
$navbar
$donationbar
<if condition="$show['guest']">

Post Installation:
Make sure when entering the form code for your Paypal button the links are formated as follows:

PHP:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="business"
      value="[email protected]">
                             <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></form>

If you do not use this format for the links your button will not show. Please do not copy and past my info above you must fo to your Paypal account and create a button with your account code and email info.
If you wish instead of a paypal button link you can put the URL to your donation page.

Update Version:

* 1.00 First Release
* 1.01 updated template to be more in line with default vbulletin style.
* 1.02 Added donation bar color to change to green when 100% or greater donations met.
Also added version check.
* 1.03 Fixed the color of the bar to not show small piece of red bar on left. Edited donor bar
template to fix broken donor bar box.



Upgrading Instructions:
Go to your Admincp->Plugin&Products->Manage products->Add/Import Product make sure you select overwrite.

donorbar2.jpg
 

Daz

New Member
This is an add on for the Donation Progress Bar. It will put the donation bar on your CMPS Homepage.

Requirements:

* This was tested using Vbadvanced CMPS 3.0
* Donation Progress Bar Mod installed


Installation:

* Upload the donations.module via admincp->CMPS->upload/download
* Set your permissions and be sure the module is active on the home page.
* If you wish to just use the CMPS module and not see the Donation Bar on forum home do not make the FORUMHOME template edit.


Updates:

* 1.00 Initial release
* 1.01 Changed the module format from php file to template only with a conditional. I provided two zip files one for those that run CMPS 2.21 and one for CMPS 3.0


How to update:
The best way to upgrade since I changed the format is to delete the existing Donation Bar module thru Admincp. vBA CMPS->edit module->select the donation bar module->in the drop down under controls select Remove module you can also delete the donationbar.php file from the forum->modules folder. Then upload the new module and make sure it active on the Homepage.


Please report any and all bugs within this thread with as much detail as possible. Click Mark as Installed for support and so that you will be notified instantly upon any major updates.

barcmps1.jpg
 

toka

New Member
I ve got a problem with the addon for CMPS3.0 when i want to upload the module, i've got an error

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
	(`0`, `active`, `userperms`)
VALUES
	('', '1', '4,6,1,16,2,7,5,3');

MySQL Error  : Unknown column '0' in 'field list'
Error Number : 1054
Date         : Tuesday, November 27th 2007 @ 07:33:25 AM
Script       : http://www.xxxxx.net/forum/admincp/vba_cmps_admin.php?do=uploadmodule
Referrer     : http://www.xxxxx.net/forum/admincp/vba_cmps_admin.php?do=download
IP Address   : xx.xxx.xxx.xx
Username     : xxxx
Classname    : vb_database

Can you help me Please.
Sorry for my english, i'm french;)
 

toka

New Member
one new problem, I have it all installed, but

I see no progress bar on my cmps page, only on my regular page does the bar show, the amount put in..

on the cmps page it show the amount put in say 10 of 50 the bar is completely blank, but on the forum homepage it show the bar in red, and the amount donated and still owing...

any ideas
 

cF.hyp3R

New Member
So if I m not wrong I only have to change this :

Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business"
      value="[email protected]">
                             <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></form>

Simply have to put my account name in :

That's all right ? Than I have to copy it into Form Code for Donations in my admin panel
 

coolbuddy

New Member
Its workin 4 me but tellme how to change the amount.
It doesn't show the Goal and how much donation i ve got

It show this
We have received a total of $ in donations towards our goal of $
 

cF.hyp3R

New Member
When you get some money on your account you type it in Member Donations...
For example if you get 10$ and goal is 70$... Check the attachment...
 
Top