Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 How do i add a Paypal Donation button?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  12:56:27  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
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<

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 June 2007 :  13:05:25  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
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.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  13:09:22  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
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<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 June 2007 :  13:56:29  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Search for Paypal and you will see where to enter the code.
inc_footer.asp

<%
'#################################################################################
'## 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
%>
<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 05 June 2007 15:10:40
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  14:20:33  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
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<

Edited by - gibsongk55 on 05 June 2007 14:21:49
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 June 2007 :  14:52:42  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
quote:
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<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  15:00:31  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
Sorry Podge.. i'm bad. Let me check that again.

Gib<
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  15:17:00  Show Profile  Visit gibsongk55's Homepage  Reply with Quote

Edited by - gibsongk55 on 05 June 2007 15:20:47
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 June 2007 :  15:34:55  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
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
"  <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

<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 05 June 2007 :  15:37:47  Show Profile  Visit MarkJH's Homepage  Reply with Quote
If you're going to do it that way, you'll need to change all of the " in the Paypal code to "".

So,

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


would become:

"  <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/
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 05 June 2007 :  15:38:49  Show Profile  Visit MarkJH's Homepage  Reply with Quote
LOL. Me too slow. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 05 June 2007 :  15:39:51  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
quote:
Originally posted by MarkJH

If you're going to do it that way, you'll need to change all of the " in the Paypal code to "".

So,

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


would become:

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




This will also cause an error. You need to finalise the string and include the & _

i.e.

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

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 05 June 2007 15:40:19
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 05 June 2007 :  15:47:47  Show Profile  Visit MarkJH's Homepage  Reply with Quote
I knew that. Honest. *whistles*

Gib, ignore my post above. Podge's is the way to go. Just make sure you post the code as it is, ie. in HTML. No need for the preceeding " you've put in your code attempt.<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/

Edited by - MarkJH on 05 June 2007 15:49:13
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  15:55:45  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
Okay so far i am getting closer to nothing. Here is the code i placed as you said.

		"  <form action=""https://www.paypal.com/cgi-bin/webscr"" method=""post"">" & _
        "  <input type=""hidden" name=""cmd"" value=""_s-xclick"">" & _
        "  <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!"">" & _
        "  <img alt="" border=""0"" src=""https://www.paypal.com/en_US/i/scr/pixel.gif"" width=""1"" height=""1"">" & _
        "  <input type=""hidden"" name=""encrypted"" value=""-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYjkdKPLKOWee3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCrStAHO2Zbjv4o+52G8gwBnO3mkdwdXzGb1QX6Z2NT1lD7TBvpRcn4rU6NAsoSPPOnYN8Wp9M4luuvqlkyC5tNhAaVfMH+Wi8n5+MlvPK05pifyLGzXS1UaBS0KuzYMILzgDRAFwwPvEze85G44mdGItgQllAKyiUFDELMAkGBSsOAwIaBQAwgaQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIXPwYmmWr0SuAgYAqigCCcapkpoMUsonPc2dxh5XsGWMXcu0ZOq+OgmZJSRCDZVl77za4W2mYWu0kK2+i1gzg8DXufYGfk7h2B3LLB6e7viszvuB822t5nawRDnbmsT/73gCoKHhWNYMU7TStTV4+NBLRx6Z258KHZdv2m8hcq+xkaffnMeZ08wcEv6CCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50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2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHE w1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDYwNTEwNTIxNFowIwYJKoZIhvcNAQkEMRYEFC6xUV3EZmwntqYo2rr0z6ceWbIdMA0GCSqGSIb3DQEBAQUABIGArfTw4NxJRTgVsOuNsjRO7VGhDe88/vHNBerrOjTnLtaBgwoLFXHwbOI5NJEgqvajhhAIKWJcM4VSEruMPNkcIz8zL6xqdxP0HX2lPY4BzdJWovxvHEycjEYBSj30vq6fZ5LeP4McZS2djZNbhOklyQNPAQQqKrcUVH49+xuj7mI=-----END PKCS7-----"">" & _
        "  </form>" & _		


Same as before page can't be displayed and forum not working.<

Edited by - gibsongk55 on 05 June 2007 15:57:11
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 05 June 2007 :  16:01:09  Show Profile  Visit bobby131313's Homepage  Reply with Quote


I would "cheat" (or is that ""cheat"" ) and put the button code in an include file as is, then just include it in the code.



<

Switch the order of your title tags

Edited by - bobby131313 on 05 June 2007 16:01:34
Go to Top of Page

gibsongk55
Starting Member

Thailand
33 Posts

Posted - 05 June 2007 :  16:03:43  Show Profile  Visit gibsongk55's Homepage  Reply with Quote
Hey Bobby,

Thanks for the idea. But how would i exactly do that?


Gib<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07