Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add-on CMS Widget For VSA Donation Mod Details »
Add-on CMS Widget For VSA Donation Mod
Mod Version: 1.00, by metalguy639 (Member) metalguy639 is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 4.1.3 Rating: (2 votes - 5.00 average) Installs: 36
Released: 29 Oct 2011 Last Update: Never Downloads: 0
Not Supported Template Edits  

THIS TEMPLATE EDIT BROUGHT TO YOU BY:


www.skinsnstyles.com

I have created a CMS widget that works with Valter's Donation Mod Found here: http://www.vbulletin.org/forum/showthread.php?t=236480

CLICK INSTALLED TO GET SUPPORT FOR THIS ADD-ON. IF YOU DO NOT CLICK INSTALLED I CANNOT HELP YOU.

NOTE: There is one draw back to this donation widget. I could not get the options to work so that a member could choose an pre-determined amount to donate, so if you use this widget you will HAVE to set your VSA Paypal Donate "Allowed donate amounts" to "Custom Only". This is the only way this widget will work properly and not look strange.

Step 1:

1. Login to your admincp and go to vBulletin CMS>Widgets
2. Click "Create New Widget" at the bottom. Use the PHP direct execution widget settings or else this will not work.
3. Give the widget a proper title - this can be whatever you want it to be just keep in mind that it cannot be too long since it will be the widget header.
4. Give the widget a description - again this is up to you.
5. Click the "save" button.

Step 2:

1. Go to Styles & Templates>Style Manager
2. Find the style you want to add the widget to - if you have more than one style and want it to show in each style you will need to do these steps for each style.
3. Click the drop down to the right and choose "Add New Template"
4. In the title box put the following without the quotes: "donate_widget"
5. Now copy and paste the following in the box:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the red area #000000 to the color of your choice for your border to match your site.

6. Click the "Save" button.

Step 3:

1. Go to vBulletin CMS>Widgets and find the widget you created above and click on the "Configure" link to the far right.
2. In the box clear what is in it and place this code in it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Click "Save".

Step 4:

1. Go to vBulletin CMS>Layout Manager and find your current layout. Click the "Go" button to edit the layout.
2. Choose from the list on the left the name of your widget and place it in your layout where you would like it to go.
3. Click "Save".

Refresh your page and you should see the widget now.

To change the message above the donation box:

1. Go to Languages & Phrases>Search In Phrases
2. In the "Search For Text" box put "Please choose an option below" without the quotes.
3. Then tick the "Phrase Text and Phrase Variable Name" and click the "Find" button.
4. This will bring up the phrase for this mod. In the bottom box type in what you want to change this to and click the save button.

Refresh your page again and the changes should show soon.


NOTE: There is one draw back to this donation widget. I could not get the options to work so that a member could choose an pre-determined amount to donate, so if you use this widget you will HAVE to set your VSA Paypal Donate "Allowed donate amounts" to "Custom Only". This is the only way this widget will work properly and not look strange.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	donationwidget.png
Views:	1398
Size:	36.1 KB
ID:	134128  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Add Banner Rotator Widget To CMS metalguy639 vBulletin 4.x Template Modifications 28 28 Sep 2017 03:47

  #31  
Old 13 Sep 2012, 15:03
hoplomachus hoplomachus is offline
 
Join Date: Aug 2012
lol, not good at code at all. I guess I could try. They do have the list option. Ill take a look. If im successful, I reply back with the updated code.
Reply With Quote
  #32  
Old 14 Sep 2012, 00:17
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by hoplomachus View Post
lol, not good at code at all. I guess I could try. They do have the list option. Ill take a look. If im successful, I reply back with the updated code.
Ok let me know. I do not have time to look at it right now I'm busy with work.
Reply With Quote
  #33  
Old 16 Sep 2012, 12:50
OlijO's Avatar
OlijO OlijO is offline
 
Join Date: Jun 2005
Hi,
this widget worked before 5.03 update.
Now with 5.03 and vB4.2 we can't specify the amout.
See my site :
http://www.soudeurs.com/site.html
Regards,
Olivier
Reply With Quote
  #34  
Old 17 Sep 2012, 02:20
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by OlijO View Post
Hi,
this widget worked before 5.03 update.
Now with 5.03 and vB4.2 we can't specify the amout.
See my site :
http://www.soudeurs.com/site.html
Regards,
Olivier
Mark Installed for support please. You have missed something when you installed it. It works fine on my site. You have to change your setting to only allow people to input the amount they want or else it does not work.
Reply With Quote
  #35  
Old 24 Sep 2012, 01:06
OlijO's Avatar
OlijO OlijO is offline
 
Join Date: Jun 2005
Originally Posted by metalguy639 View Post
Mark Installed for support please. You have missed something when you installed it. It works fine on my site. You have to change your setting to only allow people to input the amount they want or else it does not work.
Thank you, it works now.
By the way, mark as installed !
Reply With Quote
  #36  
Old 24 Sep 2012, 03:56
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by OlijO View Post
Thank you, it works now.
By the way, mark as installed !
Glad its working for you now.
Reply With Quote
  #37  
Old 09 Nov 2015, 12:35
ukhostz's Avatar
ukhostz ukhostz is offline
 
Join Date: Oct 2010
Real name: Andy
Works great even in a sidebar block
Reply With Quote
  #38  
Old 09 Nov 2015, 13:07
RafaelDutra89 RafaelDutra89 is offline
 
Join Date: Nov 2015
thanks!!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:22.

Layout Options | Width: Wide Color: