Paypal Module (dropdown) On vBa CMPS
This modification is in the archives.
This is fairly simple to install ill post the code incase the module dont work. but before i go any further i would like to thank derekivey for helping me out on this... so here is a image to show you how it looks... and i am trying to explain this as best as i can and make it as simple as i can... keep in mind you can change the image by going to paypal and chose another one of there images
make a new template named it adv_portal_paypal and in that template add this code... Code:
<tr> <td class="$bgclass"> <div align="center"><span class="smallfont">If You Like This Website, And Would Like To Give Something In Return, You Can Make A Donation. Your Donation Will Be Used To Pay For Hosting Service, Domain, And Maintenance Costs Only!</span></div> <br /> <form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post"> <div align="center"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="email" /> <input type="hidden" name="item_name" value="Website Support Donation" /> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="currency_code" value="USD" /> <input type="hidden" name="tax" value="0" /> $ <select name="amount"> <option value="1.00">1.00</option> <option value="2.00">2.00</option> <option value="3.00">3.00</option> <option value="4.00">4.00</option> <option value="5.00">5.00</option> <option value="10.00">10.00</option> <option value="20.00">20.00</option> <option value="25.00">25.00</option> <option value="50.00">50.00</option> <option value="100.00">100.00</option> </select> </div> <br /> <br /> <div align="center"><span class="smallfont">Select Your Donation Amount And Then Press The Donate Button.</span></div> <br /> <fieldset class="fieldset" style="margin:0px 0px 0px 0px"> <br /> <div align="center"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Make payments with PayPal - it's fast, free and secure!" /><br /><br /></div></fieldset> </form> </td> </tr> in the code make sure you change email to your email... then add a module, you want to add a Template Module and in the module settings add this Module Title: Donations Template to Include: adv_portal_paypal Use Module Shell Template : yes Title Row Colspan: 1 and set your Usergroups to what ever you want hope this helps and if any one wants to edit the code or make it easier to install feel free. it is 100% html complaint. please let me know if you have any problems ******************* 3/12/05 changed the code a bit also made a module where they can input the donation amount... ******************* New Module Code ******************* Code:
<tr> <td class="$bgclass"> <div align="center"><span class="smallfont">If You Like This Website, And Would Like To Give Something In Return, You Can Make A Donation. Your Donation Will Be Used To Pay For Hosting Service, Domain, And Maintenance Costs Only!</span></div> <br /> <form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post"> <div align="center">$ <input type="text" name="amount" size="6" value="5.00" /> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="email" /> <input type="hidden" name="item_name" value="Website Support Donation" /> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="currency_code" value="USD" /> <input type="hidden" name="tax" value="0" /> </div> <br /> <br /> <div align="center"><span class="smallfont">Select Your Donation Amount And Then Press The Donate Button.</span></div> <br /> <fieldset class="fieldset" style="margin:0px 0px 0px 0px"> <br /> <div align="center"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Make payments with PayPal - it's fast, free and secure!" /><br /><br /></div></fieldset> </form> </td> </tr> the second code allows users to input there donation amout and is installed the same..... ******************* Future Plans: would like to set it up to track the donations via Paid Subscriptions ******************* Download This modification is archived and cannot be downloaded. Screenshots
|