<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">€ - EUR</option><option value="GBP">£ - 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
Quote:
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
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">€ - EUR</option><option value="GBP">£ - 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
Quote:
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.
The one in the Forum sidebar isn't working. I get this error message even though I copied the code from the CMS Section:
Quote:
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.
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 .
Quote:
Originally Posted by Cort
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.
Quote:
Originally Posted by Sax on the Web
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.