Generic Donation Widget

Status
Not open for further replies.

Ozzy47

Former Developer
Customer
For now if you want a generic cms widget you can do this:

1) ACP / vBulletin CMS / Widgets

2) Click the Create New Widget Button

3) Widget Type = Static HTML
Title = Whatever you want
Description = Whatever you want
4) Click on Save

5) Find the widget in the list and click on Configure

6) In the popup box enter the following:
Code:
<div align="center">
  <p><img src="[COLOR="#0000FF"]dbtech/vbdonate/images/$.png[/COLOR]" width="16" height="16"> [COLOR="#FF0000"]Please support our site by considering contributing.[/COLOR]
  </p>
  <p><img src="[COLOR="#0000FF"]dbtech/vbdonate/images/block_nonverified.png[/COLOR]" >
<br>
  <a href="vbdonate.php?do=donate" title="[COLOR="#FF0000"]Donate to Our Site[/COLOR]" target="_self">[COLOR="#0000FF"]Donate Here[/COLOR]</a></p>
</div>

7) Click on Save

8) Then add the widget to your CMS page via the Layout Manager

In the code I provided there is a couple of things you can change to suit your needs.

1) dbtech/vbdonate/images/$.png you can change that to any image or eliminate it.
2) Please support our site by considering contributing. you can change that text to what ever you want to show in the widget.
3) dbtech/vbdonate/images/block_nonverified.png you can change that to any image or eliminate it.
4) Donate to Our Site is what will be shown when the user hovers over the Donate Here text, you can change that to your liking.
5) Donate Here is what a user would click on to go to the donation page, you can change that to your liking.

Here is a screenshot.
donation widget.png
 
Last edited:
Status
Not open for further replies.
Back
Top