How do i add a Paypal Donation button? - Posted (3467 Views)
Starting Member
gibsongk55
Posts: 33
33
Hi,

Can anyone tell me how to add a paypal donation button? I don't even know a good place to put it. In the footer? I have googleadsense on the forum also. Can someone please tell me where i can place the paypal code?
Thanks,

Gib<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
Podge
Posts: 3776
3776
inc_footer.asp would be a good place for it. If you have html enabled (and I don't recommend that you do) you could put it in the description of one of your forums on the main page or in a topic.<
Posted
Starting Member
gibsongk55
Posts: 33
33
Hi Podge,

Thanks for the reply. Can you be more specific on how to add it to the inc_footer.asp file? Exactly where to put it? I suppose it would go in between the logo and the navigation links?
Thanks,

Gib<
Posted
Support Moderator
Podge
Posts: 3776
3776
Search for Paypal and you will see where to enter the code. inc_footer.asp
Code:

<%
'#################################################################################
'## Snitz Forums 2000 v3.4.06
'#################################################################################
'## Copyright (C) 2000-06 Michael Anderson, Pierre Gorissen,
'## Huw Reddick and Richard Kinser
'##
'## This program is free software; you can redistribute it and/or
'## modify it under the terms of the GNU General Public License
'## as published by the Free Software Foundation; either version 2
'## of the License, or (at your option) any later version. '##
'## All copyright notices regarding Snitz Forums 2000
'## must remain intact in the scripts and in the outputted HTML
'## The "powered by" text/logo with a link back to
'## http://forum.snitz.com in the footer of the pages MUST
'## remain visible when the pages are viewed on the internet or intranet. '##
'## This program is distributed in the hope that it will be useful,
'## but WITHOUT ANY WARRANTY; without even the implied warranty of
'## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'## GNU General Public License for more details. '##
'## You should have received a copy of the GNU General Public License
'## along with this program; if not, write to the Free Software
'## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '##
'## Support can be obtained from our support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################

Response.Write " </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table>" & 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 & """>" & strForumTitle & "</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 & _
"<div align=""center"">" %>

Insert Paypal code here

<%
Response.Write "</div>" & _
"<table border=""0"" width=""95%"" align=""center"" cellpadding=""4"" cellspacing=""0"">" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine
if strShowTimer = "1" then
Response.Write " <td align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & chkString(replace(strTimerPhrase, "[TIMER]", abs(round(StopTimer(1), 2)), 1, -1, 1),"display") & "</font></td>" & vbNewLine
end if
Response.Write " <td align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>"


'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<a href=""http://forum.snitz.com"" target=""_blank"" tabindex=""-1""><acronym title=""Powered By: " & strVersion & """>"
if strShowImagePoweredBy = "1" then
Response.Write getCurrentIcon("logo_powered_by.gif||","Powered By: " & strVersion,"")
else
Response.Write "Snitz Forums 2000"
end if
Response.Write "</acronym></a></font></td>" & vbNewline
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT


Response.Write " </tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"</body>" & vbNewLine & _
"</html>" & vbNewLine

my_Conn.Close
set my_Conn = nothing
%>
<
Posted
Starting Member
gibsongk55
Posts: 33
33
Hi Podge,

Thanks for the code. But i don't see that place in my header file. Maybe a different version. Anyway i put where i thought it should go and then the forum won't work. Page not displayed.

Okay I checked and i am running version v3.4.05. I put the double quotes before the html code as the rest. But it will not work. Any suggestions?
Thanks,

Gib<
Posted
Support Moderator
Podge
Posts: 3776
3776
Originally posted by gibsongk55
Can you be more specific on how to add it to the inc_footer.asp file? Exactly where to put it? I suppose it would go in between the logo and the navigation links?

You asked for inc_footer.asp not inc_header.asp<
Posted
Starting Member
gibsongk55
Posts: 33
33
Sorry Podge.. i'm bad. Let me check that again.
Gib<
Posted
Starting Member
gibsongk55
Posts: 33
33
Posted
Support Moderator
Podge
Posts: 3776
3776
Thats because you have to double up the quotes in the Paypal code and put double quotes at the end of the string also. Like this
Code:
"  <form action=""https://www.paypal.com/cgi-bin/webscr"" method=""post"">" & _

If you had copied my example you would not have to do the above. Just paste the Paypal code instead of the line where it says Insert Paypal code here
<
Posted
Senior Member
MarkJH
Posts: 1722
1722
If you're going to do it that way, you'll need to change all of the " in the Paypal code to "".
So,

Code:
        "  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">

would become:

Code:
        "  <form action=""https://www.paypal.com/cgi-bin/webscr"" method=""post"">
<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Senior Member
MarkJH
Posts: 1722
1722
LOL. Me too slow. smile<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
You Must enter a message