Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 How do i add a Paypal Donation button?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
gibsongk55 Posted - 05 June 2007 : 12:56:27
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<
15   L A T E S T    R E P L I E S    (Newest First)
AnonJr Posted - 05 June 2007 : 18:51:40
Too bad I didn't know about that a few years ago. <
Podge Posted - 05 June 2007 : 18:26:04
Handy little tool for converting html to Response.Write format - http://www.chrishardy.co.uk/asp/tools/html-to-response-write-converter.asp

Response.Write "<form action=""https://www.paypal.com/cgi-bin/webscr"" method=""post"">" & vbCRLF & _
"<input type=""hidden"" name=""cmd"" value=""_s-xclick"">" & vbCRLF & _
"<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!"">" & vbCRLF & _
"<img alt="""" border=""0"" src=""https://www.paypal.com/en_US/i/scr/pixel.gif"" width=""1"" height=""1"">" & vbCRLF & _
"<input type=""hidden"" name=""encrypted"" value=""-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQ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AQkFMQ8XDTA3MDYwNTEwNTIxNFowIwYJKoZIhvcNAQkEMRYEFC6xUV3EZmwntqYo2rr0z6ceWbIdMA0GCSqGSIb3DQEBAQUABIGArfTw4NxJRTgVsOuNsjRO7VGhDe88/vHNBerrOjTnLtaBgwoLFXHwbOI5NJEgqvajhhAIKWJcM4VSEruMPNkcIz8zL6xqdxP0HX2lPY4BzdJWovxvHEycjEYBSj30vq6fZ5LeP4McZS2djZNbhOklyQNPAQQqKrcUVH49+xuj7mI=-----END PKCS7-----"">" & vbCRLF & _
"</form>" & vbCRLF
<
Podge Posted - 05 June 2007 : 17:58:33
Without knowing the error which was returned by the server its impossible to say.<
bobby131313 Posted - 05 June 2007 : 17:21:38


Podge, can you think of any reason the include file didn't work? I have several spots I've done that and never had any trouble. Works like a dream.

<
Podge Posted - 05 June 2007 : 17:12:24
Well done. Glad you got it working.<
gibsongk55 Posted - 05 June 2007 : 17:06:26
Podge,

That finally did work. Thank you very much for bearing with me.


Gib<
Podge Posted - 05 June 2007 : 16:47:31
gibsongk55 Posted - 05 June 2007 : 16:43:10
Hi Mark,

This is all i have in the new inc_paypal_button.asp file.


<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-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheX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vq6fZ5LeP4McZS2djZNbhOklyQNPAQQqKrcUVH49+xuj7mI=-----END PKCS7-----">
</form>


Thanks,

Gib<
Podge Posted - 05 June 2007 : 16:42:35
Please post your paypal code without alterataion and a link to your forum.<
MarkJH Posted - 05 June 2007 : 16:36:05
What did you put in the include file?<
gibsongk55 Posted - 05 June 2007 : 16:31:57
Hey Bobby,

I just did that and it does not work. The page loads with the html code showing up in the footer area.

Gib
<
AnonJr Posted - 05 June 2007 : 16:31:35
Just out of curiosity, did you remember to undo the changes you mentioned making earlier to inc_header.asp?<
bobby131313 Posted - 05 June 2007 : 16:14:02
Make a file called inc_paypal_button.asp and put all your button code in it, button code only, make sure it's uploaded in your forum directory.

Then right where Podge told you to put the code put...

%>
<!--#INCLUDE FILE="inc_paypal_button.asp" -->
<%


See if that works, it should, I do that all the time cause I like to edit code as little as possible. Always have a backup!

If it works you can always tweak the spacing or positioning in the include file using div's or br's or the like.



<
gibsongk55 Posted - 05 June 2007 : 16:03:43
Hey Bobby,

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


Gib<
bobby131313 Posted - 05 June 2007 : 16:01:09


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.



<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07