Paypal Donate button and link

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Paypal Donate button and link

Post by watto56 »

Hi
Im trying to ad a paypal button to our forum as a means of members donating towards the cost of running the forum.
Any help would be appreciated

Our forum is here

http://www.mjwacoustics.com.au/phpBB3/index.php
Last edited by bonelifer on Tue Aug 09, 2016 4:35 am, edited 1 time in total.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68304
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Paypal Donate button and link

Post by Lumpy Burgertushie »

depends on where you want this button. lots of people will put it right below the navbar.

you could do this by editing the overall_header.html file in the prosilver/template folder.

just add the code for your paypal button wherever you would like it to show up.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Re: Paypal Donate button and link

Post by watto56 »

Cheers for that. Not sure if I could do that without making a mess of something though :lol:

Is there anyway I could get it done for a donation maybe?
User avatar
Lumpy Burgertushie
Registered User
Posts: 68304
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Paypal Donate button and link

Post by Lumpy Burgertushie »

sure but it is very simple to do.

you use ftp to download the relevant file to your computer.
you use a text editor like notepad++ to open/edit the file.
you put your paypal button code that you get from paypal into that file.
you upload the file back.
you go to the admin panel of your board and click the purge cache button on the main page.

poof , you are done.

I have sent you a PM.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Re: Paypal Donate button and link

Post by watto56 »

Managed to get it on the login/register page on the far left without making a mess thanks to your clear instructions. If i want it to to the centre of the header, do i need to put a path like [center] for this to happen? Also I would like it on the first page after login. What is that header file name?

Cheers
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Re: Paypal Donate button and link

Post by watto56 »

Opps just worked out that it only works in pro silver so that is sorted. Its just getting it to the centre of the header now.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68304
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Paypal Donate button and link

Post by Lumpy Burgertushie »

you have it in the wrong place in the file. it should not be in the head section but in the body section.

so, delete what you have so far.

then, in the overall_header file, find this line:
<div id="wrap">
right above that line, put this:

Code: Select all

<div style="text-align: center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBoYCWDFnx5Z3ie33QTBz2wX50FtX+LVhbPa6SQjrT4w4DwTr9RsHLC/W4x+dott9HKo3YfAAeE06q3uykEWIUF3iauQB7wYJUzQ2a5XTdaahesrlAmWUfoksgYE6xurbEsFLn41+OPuhfe3cKjXll6Q10ZlXYAy+SOhEjnZwHlizELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIspNEe9JiVPWAgZjnH891ryuQCF63Yqh/Ks4N/yoSVC2Nqv18im6ebDuv8Z/+REg2J5VqHqCjsJURAZ5rexAVyyljAOGG2Tur3kpdIUdkmRtKUuhW534z1tL9q+rCd4qrlfvRkTLOMVMVtgr1X+9cfF0Tnmw5CKXfrXTK7d8tqKIWexXOXiCr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86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE2MDgwOTA3MTIzNFowIwYJKoZIhvcNAQkEMRYEFBGjcW9oiLD+i26LXnZf9Gnks0d8MA0GCSqGSIb3DQEBAQUABIGAIltjOYe1HSgPhZKzPU7PVaGL8Btg5lKJVbICENW9bEChH8ecv9yCBDdaW+fY5DIhfmMLtQmiLVS1+i5PQCuF0b3SRqbISgWizilVpVj4+ej3yrxCpa0sXG1r1NoFSmeuqKN7pIQyb25Z/keIxsm/NO+X+UOO9QLnH6wOdx9Tuic=-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
save and upload back.

done.
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Re: Paypal Donate button and link

Post by watto56 »

Yep done as instructed. donate button goes to the centre but doesn't seem to be a active link, as in it won't open Paypal. Ive put it back to the LHS again and works fine. What am i doing wrong?
User avatar
Lumpy Burgertushie
Registered User
Posts: 68304
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Paypal Donate button and link

Post by Lumpy Burgertushie »

sorry, I missed a line.

it should be like this:

Code: Select all

<div style="text-align: center">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBoYCWDFnx5Z3ie33QTBz2wX50FtX+LVhbPa6SQjrT4w4DwTr9RsHLC/W4x+dott9HKo3YfAAeE06q3uykEWIUF3iauQB7wYJUzQ2a5XTdaahesrlAmWUfoksgYE6xurbEsFLn41+OPuhfe3cKjXll6Q10ZlXYAy+SOhEjnZwHlizELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIspNEe9JiVPWAgZjnH891ryuQCF63Yqh/Ks4N/yoSVC2Nqv18im6ebDuv8Z/+REg2J5VqHqCjsJURAZ5rexAVyyljAOGG2Tur3kpdIUdkmRtKUuhW534z1tL9q+rCd4qrlfvRkTLOMVMVtgr1X+9cfF0Tnmw5CKXfrXTK7d8tqKIWexXOXiCrun7cx7aTs1o+gYInPAizup48yRMAKQGgiRDLIKCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAc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VfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE2MDgwOTA3MTIzNFowIwYJKoZIhvcNAQkEMRYEFBGjcW9oiLD+i26LXnZf9Gnks0d8MA0GCSqGSIb3DQEBAQUABIGAIltjOYe1HSgPhZKzPU7PVaGL8Btg5lKJVbICENW9bEChH8ecv9yCBDdaW+fY5DIhfmMLtQmiLVS1+i5PQCuF0b3SRqbISgWizilVpVj4+ej3yrxCpa0sXG1r1NoFSmeuqKN7pIQyb25Z/keIxsm/NO+X+UOO9QLnH6wOdx9Tuic=-----END PKCS7-----">
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
give that a try and don't forget to refresh your template from the admin panel styles tab .

and to refresh your browser to see the changes.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
watto56
Registered User
Posts: 6
Joined: Tue Aug 09, 2016 3:58 am

Re: Paypal Donate button and link

Post by watto56 »

Perfect Thank you very much for your help.
Locked

Return to “[3.0.x] Support Forum”