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
HTML Code:
<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="email" />
<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 to Use
- 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
- Template
HTML Code:
<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.
- 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
HTML Code:
<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="email" />
<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 to Use
- 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.