Creating a BBCode with paypal..

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
mcdanielnc89
Registered User
Posts: 703
Joined: Tue Feb 06, 2007 10:49 pm
Location: Missouri
Contact:

Creating a BBCode with paypal..

Post by mcdanielnc89 »

Hello, I've recently set up a donation thing for my website and am wanting to post it into a message. Can any of you help me and instruct me to get it to work as a BBCode?

Here's the code.

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="399389">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Creating a BBCode with paypal..

Post by A_O_C »

what exactly are you trying to do with that sort of bbcode? can you provide an example?
User avatar
mcdanielnc89
Registered User
Posts: 703
Joined: Tue Feb 06, 2007 10:49 pm
Location: Missouri
Contact:

Re: Creating a BBCode with paypal..

Post by mcdanielnc89 »

I'm wanting to post that image with the donation link but still work as it should if it were just in html..
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Creating a BBCode with paypal..

Post by A_O_C »

have you had a look at this MOD?
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Creating a BBCode with paypal..

Post by Phil »

If you wanted it to be easily reusable with multiple accounts, I'd do something like

Code: Select all

[paypal]{NUMBER}[/paypal]

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="{NUMBER}">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Use:

Code: Select all

[paypal]399389[/paypal]
Moving on, with the wind. | My Corner of the Web
User avatar
mcdanielnc89
Registered User
Posts: 703
Joined: Tue Feb 06, 2007 10:49 pm
Location: Missouri
Contact:

Re: Creating a BBCode with paypal..

Post by mcdanielnc89 »

A_O_C wrote:have you had a look at this MOD?
Yes I have. I don't want anything like that. I just want it where I can link in bbcode like i can with regular html... For one donation spot has a set about of money for something and others have something different. Therefore I'm needing something that i can use the paypal donation thing in phpbb3 via bbcode

iWisdom wrote:If you wanted it to be easily reusable with multiple accounts, I'd do something like

Code: Select all

[paypal]{NUMBER}[/paypal]

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="{NUMBER}">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Use:

Code: Select all

[paypal]399389[/paypal]
Thanks, I'll give ti a try...
Locked

Return to “[3.0.x] Support Forum”