PayPal Mod? - Posted (1264 Views)
Senior Member
MaGraham
Posts: 1297
1297

Is there a "PayPal Mod" for donations that could easily be placed in the Site Footer area?
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Carefree
Posts: 4224
4224
I wrote some PayPal mods, yes. There's one called "PayPal Subscription" which could be edited for the footer. If you need help converting it, I can write a simple one.
Posted
Senior Member
MaGraham
Posts: 1297
1297
Originally posted by Carefree
I wrote some PayPal mods, yes. There's one called "PayPal Subscription" which could be edited for the footer. If you need help converting it, I can write a simple one.
A simple mod that was merely for "donations" and with intructions for placing it in the Site Footer would be wonderful, Carefree. Thank you!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Posted
Average Member
Webbo
Posts: 982
982
In your inc_footer.asp file find and replace the chunk of code aroun dline 50 with the following, editing to add your own details where required:

Code:
Response.Write      "  </tr>" & vbNewLine & _
" </td>" & vbNewLine & _
"</table>" & vbNewLine
Response.Write "<p>" & vbNewLine & _
"<table width=""95%"" align=""center"" border=""0"" bgcolor=""" & strForumCellColor & """ cellpadding=""0"" cellspacing=""1"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td>" & vbNewLine & _
" <table border=""0"" width=""100%"" align=""center"" cellpadding=""4"" cellspacing=""0"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ align=""left"" valign=""top"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """><a href=""http://www.<your site address"" title=""Home Page"">Your site name</a>    <a href=""contact.asp"" title=""Contact us"">Contact us</a>    <a href=""/donate.htm"" title=""Make a Donation"">Donations</a></font></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ align=""right"" valign=""top"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """>© " & strCopyright & "</font></td>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ width=""10"" nowrap><a href=""#top""" & dWStatus("Go To Top Of Page...") & " tabindex=""-1"">" & getCurrentIcon(strIconGoUp,"Go To Top Of Page","align=""right""") & "</a></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table>" & vbNewLine


Then create a html page called donate.htm and place it in the root of your website and within it place the following table, again adding you paypal details:

<table border="1" width="100%" id="table1" bgcolor="#C0C0C0"><tr><td bordercolor="#C0C0C0"><p align="center">
<font face="Arial">If you would like to contribute towards the hosting fees of Maggotdrowning.com <br><br>Please click the button Below</font> </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"><p align="center">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="business" value="YOUR PAYPAL ADDRESS">
<input type="hidden" name="item_name" value="Donation towards YOUR WEBSITE ADDRESS/NAME Hosting Fees">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="cn" value="Member Name">
<input type="hidden" name="currency_code" value="YOUR CURRENCY">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<p align="center"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </p></form>
<p align="center"><font size="1" face="Arial">Payments made by PayPal -  - "it's fast, free and secure!"</font></i></p><p> </td></tr></table></form>

Alternatively use the Paypal code generator to create your own form


Doing it this way makes it easier to build a page giving more details as to why you need donations, etc, and keeps it in the style of your website rather than having a simple link direct to a Paypal donation page which hardly gives any info.


Hope it helps smile
Posted
Advanced Member
Carefree
Posts: 4224
4224
I made a mod for this, it's in SnitzBitz. The mod creates a PayPal donate button in the footer.

All variables are configured from an admin page. A value of "0" for the amount will allow the donor to set any desired amount. Country selection will automatically set the currency to match. EMail address is validated for format only. The admin page also allows you to include a comment/remark/explanation (limit 255 characters). If used, the comment will appear above the donation button.

The mod also features a "thank you" page, a table to track donations, and a table view of donations from the admin page. If donations are made in more than one currency (e.g., the admin changes the default country at some point), links are automatically created to convert the donation to the new currency.
Posted
Senior Member
MaGraham
Posts: 1297
1297

I can't tell you how excited I am to get to the point of having time to do this, Carefree! I will most definitely let you know when things are better with hosting and I am able to take time for this!

Soooo happy with the thought of having this! cool

Thank you Sooo much!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Posted
Average Member
Webbo
Posts: 982
982
What about me ?
Posted
Development Team Member
Davio
Posts: 12217
12217
Thank you Soooooooooooooo much too Webbo! *hugs*

*big smile* smile blush
Posted
Senior Member
MaGraham
Posts: 1297
1297
Originally posted by Webbo
What about me ?
Oh my goodness!
How in the world did I miss seeing your post, webbo?!! blush [giggle]
So much has happened (PROBLEMS!) since being moved to the new server after I started this post! But please forgive me, Webbo! It really was unintentional! Many, many thanks to you as well!
And, thank you, Davio, for giving Webbo a hug! I am SURE he appreciated that! [giggle]
I really do appreciate ALL of you guys!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Posted
Advanced Member
Carefree
Posts: 4224
4224
Hey Webbo, want another hug? clown Asia is full of cross-dressing men; transsexuals, etc. I'm sure one of the doctors could find a bevy of boy-toys willing to make you feel more appreciated. LOL

That said, all contributions to solving issues are more than welcome. If Ma wants to use your code vs. the package I wrote, it's all good by me.
Posted
Average Member
Webbo
Posts: 982
982
Carefree, I'd hate to come between you two lol, but an invite to the wedding would be appreciated coolbigsmile
MaGraham - I'm only joking so no worries here kissesclown

Davio - tongue
You Must enter a message