PDA

View Full Version : vBulletin CMS Widgets - Widget - Donations / Forum Sidebar - Donations


IR15H
12-20-2009, 10:00 PM
A simple donation widget for use on your site, tested on vB 4.0 GOLD.

Can also be displayed on your Forum Sidebar. For instructions on adding it to the sidebar, please see the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) of this thread.

Basic
http://img191.imageshack.us/img191/9926/basica.png

Title Image
http://img97.imageshack.us/img97/3451/optionsg.png

How To Install Basic

Files

Download the attached zip file, extract it.
Upload it's contents to your forum root.

Create a widget

ADMIN CP > vBulletin CMS > Widgets > Create New Widget

Widget Type: Static HTML
Title: Donations
Description: Widget for site donations.

Configure your widget

Enter Static HTML;
<div align="center">If you like our website and would like to give something in return, you can make a donation. All donations are gratefully received.
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<div>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="YOUREMAIL@paypal.com" />
<input type="hidden" name="item_name" value="www.YOURSITE.com Donation" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="tax" value="0" />
<select name="currency_code">
<option value="EUR">&euro; - EUR</option>
<option value="GBP">&pound; - GBP</option>
<option value="USD">$ - USD</option>
</select>
<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>
</div>
<br />
Select your preferred currency and donation amount, then click the donate button.
<br /><br />
<fieldset>
<input type="image" src="images/cms/widget-donations_paypal.png" title="Pay via PayPal" alt="Pay via PayPal" />
</fieldset>
</form>
</div>
Template Name
vbcms_widget_static_page
NB. Change YOUREMAIL@paypal.com and www.YOURSITE.com in Static HTML to suit your needs.

Add widget to a page

ADMIN CP > vBulletin CMS > Layout manager > Edit
Insert the Donations widget and place it where you want it to appear



How To Install Title Image

Files

Download the attached zip file, extract it.
Upload it's contents to your forum root.

Create a new template

Admin CP > Styles & Templates > Style Manager > Add New Template
Title
vbcms_widget_donations
Template
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img title="{vb:raw widget_title}" src="images/cms/widget-donations_colour.png" alt="" />&nbsp;{vb:raw widget_title}</h3>
</div>
<div class="cms_widget_content" align="center">
{vb:raw static_html}
</div>
</div>
</div>
NB. Change images/cms/widget-donations_colour.png to suit your needs.
https://vborg.vbsupport.ru/
Create a widget

ADMIN CP > vBulletin CMS > Widgets > Create New Widget

Widget Type: Static HTML
Title: Donations
Description: Widget for site donations.

Configure your widget

Enter Static HTML;
If you like our website and would like to give something in return, you can make a donation. All donations are gratefully received.
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<div>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="YOUREMAIL@paypal.com" />
<input type="hidden" name="item_name" value="www.YOURSITE.com Donation" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="tax" value="0" />
<select name="currency_code">
<option value="EUR">&euro; - EUR</option>
<option value="GBP">&pound; - GBP</option>
<option value="USD">$ - USD</option>
</select>
<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>
</div>
<br />
Select your preferred currency and donation amount, then click the donate button.
<br /><br />
<fieldset>
<input type="image" src="images/cms/widget-donations_paypal.png" title="Pay via PayPal" alt="Pay via PayPal" />
</fieldset>
</form>
Template Name
vbcms_widget_donations
NB. Change YOUREMAIL@paypal.com and www.YOURSITE.com in Static HTML to suit your needs.

Add widget to a page

ADMIN CP > vBulletin CMS > Layout manager > Edit
Insert the Donations widget and place it where you want it to appear



-------------------------

Credits

All images (except the PayPal one) are derived from www.famfamfam.com.
The code to make this is fairly basic so feel free to modify to suit your own needs, but if you do use it then please click install. Thank you.

Vaupell
12-21-2009, 08:25 PM
I have no clue why someone would rate this down...

I rate 5 stars, and says Thank you.. installing.. :D

IR15H
12-21-2009, 08:25 PM
How To Install Basic Forum Sidebar

Files

Download the attached zip file, extract it.
Upload it's contents to your forum root.

Enable the Sideblock

ADMIN CP > Settings > Options > Forum Sidebar and Block Options > Edit Settings > Enable Forum Sidebar > Yes

Create a Sideblock

ADMIN CP > Forums & Moderators > Forum Blocks Manager > Add Block > Select Block Type > Custom HTML/PHP

Title: Donations
Description: Sideblock for site donations.
Cache time: 1440
Content Type: HTML

Content
<div align="center">If you like our website and would like to give something in return, you can make a donation. All donations are gratefully received.
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<div>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="YOUREMAIL@paypal.com" />
<input type="hidden" name="item_name" value="www.YOURSITE.com Donation" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="tax" value="0" />
<select name="currency_code">
<option value="EUR">&euro; - EUR</option>
<option value="GBP">&pound; - GBP</option>
<option value="USD">$ - USD</option>
</select>
<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>
</div>
<br />
Select your preferred currency and donation amount, then click the donate button.
<br /><br />
<fieldset>
<input type="image" src="images/cms/widget-donations_paypal.png" title="Pay via PayPal" alt="Pay via PayPal" />
</fieldset>
</form>
</div>
Template to Use
block_html
NB. Change YOUREMAIL@paypal.com and www.YOURSITE.com in Static HTML to suit your needs.



How To Install Image Title Forum Sidebar

Files

Download the attached zip file, extract it.
Upload it's contents to your forum root.

Enable the Sideblock

ADMIN CP > Settings > Options > Forum Sidebar and Block Options > Edit Settings > Enable Forum Sidebar > Yes

Create a new template

Admin CP > Styles & Templates > Style Manager > Add New Template
Title
block_donations
Template
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_donations" href="#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_donations"/></a>
<span class="blocktitle"><img src="{vb:stylevar imgdir_cms}/widget-donations_colour.png" title="{vb:raw blockinfo.title}" alt="" />{vb:raw blockinfo.title}</span>
</div>
<div id="block_donations" class="blockbody floatcontainer">
<div class="blockrow">{vb:raw content}</div>
</div>
</div>
<div class="underblock"></div>
</li>

NB. Change {vb:stylevar imgdir_cms}/widget-donations_colour.png to suit your needs.
http://img191.imageshack.us/img191/2764/66208217.png
Create a Sideblock

ADMIN CP > Forums & Moderators > Forum Blocks Manager > Add Block > Select Block Type > Custom HTML/PHP

Title: Donations
Description: Sideblock for site donations.
Cache time: 1440
Content Type: HTML

Content
<div align="center">If you like our website and would like to give something in return, you can make a donation. All donations are gratefully received.
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<div>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="YOUREMAIL@paypal.com" />
<input type="hidden" name="item_name" value="www.YOURSITE.com Donation" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="tax" value="0" />
<select name="currency_code">
<option value="EUR">&euro; - EUR</option>
<option value="GBP">&pound; - GBP</option>
<option value="USD">$ - USD</option>
</select>
<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>
</div>
<br />
Select your preferred currency and donation amount, then click the donate button.
<br /><br />
<fieldset>
<input type="image" src="images/cms/widget-donations_paypal.png" title="Pay via PayPal" alt="Pay via PayPal" />
</fieldset>
</form>
</div>
Template to Use
block_donations
NB. Change YOUREMAIL@paypal.com and www.YOURSITE.com in Static HTML to suit your needs.



If the donation block does not show up in the sidebar log out of your site then log back in and it should appear.

Trek
12-21-2009, 08:31 PM
Very cool, a PayPal mod is one of the things I wanted to have before I upgraded, thanks much!

bart6767
12-21-2009, 08:46 PM
Thanks very much .

Bounce
12-21-2009, 09:48 PM
Can this be made to work on the forum side bar as well ?

milsirhc
12-21-2009, 09:53 PM
I agree! It will be great if this can work on the forum side bar too.

bart6767
12-21-2009, 10:11 PM
I have mine working in the forum sidebar .

IR15H
12-21-2009, 11:02 PM
Can this be made to work on the forum side bar as well ?

I agree! It will be great if this can work on the forum side bar too.

Please see the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) of this thread for instructions on how to add it to the forum sidebar :).

-----------

Thanks to those who have marked installed, glad you find it useful.

VonDoom
12-21-2009, 11:24 PM
I have no clue why someone would rate this down...

I rate 5 stars, and says Thank you.. installing.. :D

Its getting to be a ridicules habit around here.

bluestartech
12-22-2009, 12:48 PM
Ok i'm a VB noob. I go to step 2 Create a new template

* Admin CP > Styles & Templates > Style Manager > Add New Template
* Title

vbcms_widget_donation

But then there is no where to enter the HTML!?

steven s
12-22-2009, 02:20 PM
Be nice to have a monthly progress bar tied to subscriptions.

crazyace
12-22-2009, 03:15 PM
Wow this is a really awesome MOD. I wish that I could add this to my Forum only install.

maidos
12-22-2009, 04:34 PM
how about donation on forum pages.. options to choose to have it visible on every page? and maybe also add a donation bar and donation goal and met
?

IR15H
12-22-2009, 05:05 PM
Ok i'm a VB noob. I go to step 2 Create a new template

* Admin CP > Styles & Templates > Style Manager > Add New Template
* Title

vbcms_widget_donation

But then there is no where to enter the HTML!?

The first steps should take you here;
https://vborg.vbsupport.ru/
You should then see the following screen;
https://vborg.vbsupport.ru/

Hope that solves your problem :).

Be nice to have a monthly progress bar tied to subscriptions.

It'd be possible (I'd have to learn a bit), but would require a plugin and is a bit beyond the scope of what I wanted to do with a simple widget/side block. I've had a quick search and there's two mods that have progress bars; Cyb - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=177563) and Donation Progress Bar-Forumhome (https://vborg.vbsupport.ru/showthread.php?t=153519). You're probably better of asking one of them to update either mod to vB4, in which adding compatibility to display the bar in a widget/block would probably be fairly straight forward. If neither mod owners are willing to update their mods then I'll look into doing it myself further.

Wow this is a really awesome MOD. I wish that I could add this to my Forum only install.

You can, please see the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) on details on how to do this.

how about donation on forum pages.. options to choose to have it visible on every page? and maybe also add a donation bar and donation goal and met
?

You can enable this on the forum-only package and make it visible on every page. This is explained in the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) of this thread. In regards to the donation bar, see my comments above to steven s.

supportMM
12-24-2009, 06:17 AM
Classic :) Real easy to turn it into a "Buy Me A Beer" Widget LOL

Installed :D

Gleedo
12-24-2009, 06:50 AM
Very nice mod - thanks very much.

The code to add the title image to the widget also helped me with other custom widgets on my site.

Clicked Install and rated excellent :)

M3xital
12-24-2009, 07:56 AM
Great Mod, thanks for sharing!! :)

MikeHolohan
12-24-2009, 09:18 PM
thanks for this...

ShadowTurk
12-24-2009, 10:44 PM
This is a great widget. Thanks!

Bouncer222
12-26-2009, 03:10 AM
I would love if you could create a new feature where you could have a small bar on the top of the block or a percent number of donations received and amount left to go and total needed!

could this please be implemented?

kf4eok
12-26-2009, 03:28 AM
installed thanks

Bouncer222
12-26-2009, 01:33 PM
I installed it but it doesnt appear on the CMS anywhere, I did everything stated under the How to Install Title Image only. How do I make it appear?

IR15H
12-27-2009, 10:36 PM
I would love if you could create a new feature where you could have a small bar on the top of the block or a percent number of donations received and amount left to go and total needed!

could this please be implemented?

See my previous response (https://vborg.vbsupport.ru/showpost.php?p=1935592&postcount=15) to this question.

I installed it but it doesnt appear on the CMS anywhere, I did everything stated under the How to Install Title Image only. How do I make it appear?

ADMIN CP > vBulletin CMS > Layout manager > Edit > Go
You should then see a page like the one below, place the Donations widget to where you want then hit Save.
http://img682.imageshack.us/img682/8568/test2z.png
You need to do this for each Section you want to display it.

Bouncer222
12-27-2009, 11:01 PM
For some reason my admin cp page doesnt show up like that, it just has the widgets box and you can click the arrow, but nothing else, something must be messed up..hmm

Bouncer222
12-27-2009, 11:09 PM
Here is how mine shows up http://i229.photobucket.com/albums/ee132/stormbreaker1_2007/ScreenHunter_02Dec272003.gif

IR15H
12-27-2009, 11:38 PM
For some reason my admin cp page doesnt show up like that, it just has the widgets box and you can click the arrow, but nothing else, something must be messed up..hmm

Here is how mine shows up http://i229.photobucket.com/albums/ee132/stormbreaker1_2007/ScreenHunter_02Dec272003.gif

There does seem to be something wrong with your vB installation. I know earlier (pre-Gold) versions of vB Suite had some serious problems with pre-loaded CMS data so if you've been upgrading from Betas to RCs to Gold then perhaps that's why.

If you're running on a test site, I'd recommend you try a complete fresh install (or upgrade from 3.X) and see if that solves it. If you're running live then temporarily disable all mods you've got installed try and add/move any widgets around to see if that works, if not then submit a bug report over on vbulletin.com.

Bouncer222
12-28-2009, 02:36 AM
I upgraded straight from 3.8.4 to gold, and already overwrote all files again with a fresh copy, I am going to try to disable products right now to see if they are causing it although I doubt it kind of because usually products dont have affect on admincp

Bouncer222
12-28-2009, 10:06 PM
Hmm its too much stretched out, gotta figure out how to make it less wider, any ideas?

jonah1892
12-29-2009, 02:50 AM
is there anyway to allow custom ammounts to be input by the donator?

Bouncer222
12-29-2009, 03:21 AM
The first steps should take you here;
http://img96.imageshack.us/img96/3835/87185179.png
You should then see the following screen;
http://img24.imageshack.us/img24/6428/96004313.png

Hope that solves your problem :).



It'd be possible (I'd have to learn a bit), but would require a plugin and is a bit beyond the scope of what I wanted to do with a simple widget/side block. I've had a quick search and there's two mods that have progress bars; Cyb - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=177563) and Donation Progress Bar-Forumhome (https://vborg.vbsupport.ru/showthread.php?t=153519). You're probably better of asking one of them to update either mod to vB4, in which adding compatibility to display the bar in a widget/block would probably be fairly straight forward. If neither mod owners are willing to update their mods then I'll look into doing it myself further.



You can, please see the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) on details on how to do this.



You can enable this on the forum-only package and make it visible on every page. This is explained in the third post (https://vborg.vbsupport.ru/showpost.php?p=1934820&postcount=3) of this thread. In regards to the donation bar, see my comments above to steven s.

Cyb has not responded for a long time to any of his mods, and the other mod is really really old, so if you could create it, it would be great :)

maidos
12-29-2009, 07:29 AM
there is no reply... wondering if u can work on the donation bar which can display on forum home?

lovefords
12-29-2009, 04:55 PM
Thank you very much.

linuxututs
12-30-2009, 10:33 AM
Guess I'll have to wait till the update release comes out, because its not showing for me no matter who's code I use.

The thing is, this is the only problem I've came across since "Finally" getting my board upgraded. ( Took a few restores to get it right [ or so I thought] ) :)

Thanks,

unit727
12-30-2009, 01:36 PM
A donation goal bar would be great if it's possible because other versions still have not been updated.

fayax
12-30-2009, 07:47 PM
I made my own from paypal ..it works now. I still voted excellent for this mod.

DUI_
12-30-2009, 10:49 PM
*Installed* Love it! thanks :)

Griffoneur
12-31-2009, 05:41 PM
Thank you for this mod. It works great and was on my "want list" for quite some time!:D

IR15H
01-01-2010, 02:38 PM
Hmm its too much stretched out, gotta figure out how to make it less wider, any ideas?

The widget's width is determined by the setting you chose in your Grid Manager and Layout Manger in your Admin CP under CMS options.

is there anyway to allow custom ammounts to be input by the donator?

Yes :). Find;

<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>


Replace with;
<input type="text" value="" size="5" name="amount"/>

A donation goal bar would be great if it's possible because other versions still have not been updated.

Cyb has not responded for a long time to any of his mods, and the other mod is really really old, so if you could create it, it would be great :)

there is no reply... wondering if u can work on the donation bar which can display on forum home?

Cyb has stated in his signature;
Note: All of my products are supported, but I'm busy with my main job, so please be patient when asking for support. *** vBulletin 4 versions will be released once we buy new license. No ETA ATM.

None the less, a basic one to do until that happens. Taken pretty much directly from this guide (http://blog.leetsoft.com/2006/8/22/super-simple-css-bars);

Edit Template

Admin CP > Styles & Templates > Style Manager > Edit Template > vbulletin.css
At then end of the template, add;
div.progress-container {
border: 1px solid #ccc;
width: 100px;
margin: 2px 5px 2px 0;
padding: 1px;
background: white;
}

div.progress-container > div {
background-color: #ACE97C;
height: 12px
}

Edit Widget/Sidebar
ADMIN CP > vBulletin CMS > Widgets > Configure and/or ADMIN CP > Forums & Moderators > Forum Blocks Manager > Edit
Chose where you want the progress bar to appear, insert;
We're currently 50% of the way to achieving our goal of &pound;100.
<br />
<div class="progress-container" align="left">
<div style="width: 50%"></div>
</div>
Change percentage, currency and goal amount to suit your needs.


You should end up with something like below;
http://img29.imageshack.us/img29/7067/77965989.png



Guess I'll have to wait till the update release comes out, because its not showing for me no matter who's code I use.

The thing is, this is the only problem I've came across since "Finally" getting my board upgraded. ( Took a few restores to get it right [ or so I thought] ) :)

Thanks,

I don't understand your problem, sorry.

---------------------

Again, thanks to all those who have marked installed :).

linuxututs
01-01-2010, 07:06 PM
Thanks for The Great hack.
I was able to finally get this to work for me by adding this to the bottom of "vbcms_widget_recentforumposts_page".

<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img title="Donations" src="images/cms/widget-donations_colour.png" alt="" /> Donations</h3>
</div>
<div class="cms_widget_content" align="center">

If you like our website and would like to give something in return, you can make a donation. All donations are gratefully received.
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<div>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="your_email@your_site.com" />
<input type="hidden" name="item_name" value="www.your_site Donation" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="tax" value="0" />
<select name="currency_code">
<option value="USD">$ - USD</option>
<option value="EUR">&euro; - EUR</option>
<option value="GBP">&pound; - GBP</option>
</select>
<select name="amount">
<option value="10.00">10</option>
<option value="15.00">15</option>
<option value="20.00">20</option>
<option value="25.00">25</option>
<option value="50.00">50</option>
<option value="100.00">100</option>
</select>
</div>
<br />
Select your preferred currency and donation amount, then click the donate button.
<br /><br />
<fieldset>
<center><input type="image" src="images/cms/widget-donations_paypal.png" title="Pay Securely via PayPal" alt="Pay via PayPal" /></center>
</fieldset>
</form>
<br />
<center>Or You can choose any amount here.</center>
<center>Your_Paypal_code_button_from_paypal</center>
</div>
</div>
</div>

I got the regular paypal button from my paypal account, and remeber to replace your_site and your_email with your own.

This is just an alternative and is quit nice being under "Latest Forum Post" also.

You can see the results Here (http://www.linuxtuts.net/content/).

Thank You,

Doctor Death
01-01-2010, 07:24 PM
Installed and works great... simple install.

THanks much

THE__DRIFTER
01-01-2010, 11:49 PM
Guess I'm stupid... Following the instructions this will not work. Looking at the second pic; where did that code come from? I was hopeful but disappointed at the same time... Have not marked installed and can't until there is reason too. I hope I am missing something simple.

linuxututs
01-02-2010, 05:28 PM
Guess I'm stupid... Following the instructions this will not work. Looking at the second pic; where did that code come from? I was hopeful but disappointed at the same time... Have not marked installed and can't until there is reason too. I hope I am missing something simple.

I couldn't get it to work as it is supposed to either.
That's the reason I came up with a different way.
It can't get much simpler than adding that code to the bottom of your "vbcms_widget_recentforumposts_page" template.

Hope this helps you also.

Thanks,

P.S. Still have to upload the image though.....And the code I'm referring to is from My post up above. (https://vborg.vbsupport.ru/showpost.php?p=1944233&postcount=40).Thanks,

JADM
01-02-2010, 09:55 PM
None of this is to take away from the work that IR15H put into this. I am not a coder and could not have done what he did, so kudos to him for sharing this.

That said, I was interested in getting a progress bar along with the donate button. So, I bought a $20 script from here. (http://www.phpjabbers.com/paypal-donate-script/). I followed the installation instructions (took me 5 minutes), went to paypal.com to generate my code (5 minutes) and created a static HTML widget (5 minutes). The point is that it was very easy for me and I am by no means any type of guru on coding. My results are attached.

If you want to see it on my site, go here. (http://www.pebforum.com/content.php)

I am not criticizing the mod at all. And I am thankful for the instructions on adding to Forum sidebar...that is my next step!

Rckcrwlr
01-18-2010, 11:58 AM
When I click to change the amount or anything else, it sends me to my profile page.

Did I miss something???

COL NIL SATIS
01-18-2010, 06:47 PM
this is fantastic....nominated and rated 5!!! installed

wayne.richards@
01-19-2010, 11:43 AM
SORTED! What A Great Mod!

SuperGLS
01-19-2010, 04:08 PM
Great work!

If we we wanted to add Australian dollars to the list we'd just need to add a value like:

<option value="AUD">$ - AUD</option>

Right?

Sax on the Web
01-20-2010, 04:26 PM
What about passing a parameter?
I have a need to to know donor's user name.
They often use different email for Payal than for forum registration.

thanks,

messengermatt
01-20-2010, 04:44 PM
What about passing a parameter?
I have a need to to know donor's user name.
They often use different email for Payal than for forum registration.

thanks,

That is a good idea i'd also like to know which forum members are donating- can it be incorporated into the actual invoice via an API ?

sisterhood
01-20-2010, 05:19 PM
great mod thx

million thx

snnggledel
01-22-2010, 05:40 PM
This is a great mod ill give it 5 stars:up:
Thanks snnggledel

Cort
01-25-2010, 09:11 PM
Very nice - thanks. Any way to add color to the html?

Be great to get an Aussie option.

Cort
01-25-2010, 11:39 PM
The one in the Forum sidebar isn't working. I get this error message even though I copied the code from the CMS Section:

This recipient either does not accept payments denominated in US or has specified an invalid currency code on his web site. Please contact the seller and ask him either to update his payment receiving preferences to accept this currency or to correct his web site to specify a valid currency code.

???

Cort
01-25-2010, 11:41 PM
Fixed it; I'd taken out the 'D" from USD

IR15H
01-30-2010, 03:10 PM
Great work!

If we we wanted to add Australian dollars to the list we'd just need to add a value like:

<option value="AUD">$ - AUD</option>

Right?

That's correct :).

Very nice - thanks. Any way to add color to the html?

Be great to get an Aussie option.

Use what SuperGLS has above for Australian dollars. In regards to colour, use <span style="color: XXXXXX">text</span>, replace XXXXXX with the colour of your choice.

What about passing a parameter?
I have a need to to know donor's user name.
They often use different email for Payal than for forum registration.

thanks,

I've no plans for that at the present time. I might look into it if/when it's possible to install widgets via the product manager system.

Eq4bits
01-31-2010, 04:25 AM
Works a charm! Thanks muchly!
Installed to forum sidebar only on vB4.0.1 board

truble
02-17-2010, 04:11 AM
FAN-FRIGGIN-TASTIC!!! :up:
Very easy step-by-step instructions!
Very easy to modify text and amounts!
Even managed to set it for Canadian Dollars!

Installed, Nominated and Rated! :D

RobbieZ
07-13-2010, 09:16 AM
Good stuff. Tagged

oldfan
06-19-2011, 01:25 PM
thanks, installed!
Now only if we could get more forum blocks :)

Scans007
07-19-2011, 05:17 PM
This rocks...thx a ton for the work put in! This is my 3rd day using vBulletin and setting it all up...flawless

The only note I might make is you say to drop it in the forum root folder, I needed to put the zipped stuff in the forums/images/cms to get it to show up properly.

awesome!

Athrun1234
07-20-2011, 09:19 AM
An excellent tutorial!!! Kudos to the creator!!!

K4GAP
09-10-2011, 08:20 PM
Has anyone tried this on 4.1.5 ?

SarahScott
09-11-2011, 05:27 AM
I can't get the CMS widget with TITLE to work. Just displays as the basic widget on 4.1.5

Smevans
10-18-2011, 07:24 PM
Awesome love this!

Lombardo
06-04-2012, 05:29 AM
Will this work on 4.2.0?

BlessedFWI
06-04-2012, 06:44 AM
Will this work on 4.2.0?I just added it and it seems to work. I had to upload the images on my server to the images/misc folder though for them to show up. Not sure why!

Lombardo
06-09-2012, 01:25 PM
I just added it and it seems to work. I had to upload the images on my server to the images/misc folder though for them to show up. Not sure why!

Thank you.

JustAskJulie
03-01-2013, 07:22 PM
I recently noticed that this widget tries to add a shipping charge to the users donation. Is there a way to disable this?

stevieb
08-07-2013, 12:32 PM
Installed +1.

However - the code is actually wrong - if you follow method B the widget looks like this:

145970

So in order to get it looking like the demo's in post 1 you need to edit the create template HTML from what was originally posted here:

<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img title="{vb:raw widget_title}" src="images/cms/widget-donations_colour.png" alt="" />&nbsp;{vb:raw widget_title}</h3>
</div>
<div class="cms_widget_content" align="center">
{vb:raw static_html}
</div>
</div>
</div>


To read like this version here (add the red element):

<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img title="{vb:raw widget_title}" src="images/cms/widget-donations_pound_colour.png" alt="" />&nbsp;{vb:raw widget_title}</h3>
</div>
<div class="cms_widget_content widget_content" align="center">
{vb:raw static_html}
</div>
</div>
</div>

Which will then render the correct ending

145971

Ghost Shadow
12-12-2021, 11:49 PM
It's sharing a table, not individual blocks.
Want individual blocks.
Any fix for this?
Thanx.

Please see pic:
https://ibb.co/Tqpm46x
https://ibb.co/Tqpm46x