Paypal Donate Button BB Code?

DRE

Well-known member
I need a paypal bb code so it's like [paypal]paypalemail[/paypal]

Would be awesome. Just upgraded King Kovivors BB Code Manager.
 
For a dude who don't like paypal you actually did this for me awww thank you. :love:
The only thing is it will display the person's e-mail address. This not a bug per say, but rather a limitation on how the bb code manager interacts with paypal's generated code.

Do not parse BB Codes placed within this BB Code.

Will still leave you with

PHP:
 [email]  [/email]
 
The only thing is it will display the person's e-mail address. This not a bug per say, but rather a limitation on how the bb code manager interacts with paypal's generated code.

Do not parse BB Codes placed within this BB Code.

Will still leave you with

PHP:
 [email]  [/email]
I guess I could use it in combination with the Hide BB Code then. :think:
 
I guess I could use it in combination with the Hide BB Code then. :think:
If there is an option to hide / disable bb code inside the bb code manager other than

Do not parse BB Codes placed within this BB Code.
Do not parse smilies within this BB Code.
Stop conversion of line breaks to HTML line breaks.

I'm unaware of it.
 
Still need this! It doesn't have to do anything special, just look special and link to the paypal donate page.

[paypal]paypalemail[/paypal]
 
That would be perfect if it were possible.
completely possible, absolutely and completely possible, I'll check it over coffee tomorrow when I wake up (passing out soon)

Wow that's pretty cool. I seen that before and forgot all about it.
Yurp, after you create the button for this you just need to select the email tab for the button...
Untitled.webp
Now that I think of it you will only be getting the link as you cant obviously paste in the html, so the custom image would have to be done another way xenforo side...I will sleep on it and figure it out.
 
Ok so I have this working now but am still testing it as it was kind of complex to do considering that it was just a button that was being added.

I don't know if I will have time to do all of the testing today as I have told someone who donated that I would upload the mediasites pack update today and that takes priority.

I did do some basic testing and from what I have seen it looks like it is working as you can see in this image

pplinks.webp
Usage will be like this...

If a user posts a link like this with no alterations it will imbed as the first button in the above image with a default button image for buy now.

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7XT3W6PZTSDMS

--
If the user adds a
/cart
/donate
/gift
/subscription

it will create he appropriate button that corresponds with the /buttonTypeFlag

example:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7XT3W6PZTSDMS/cart
---

If the user adds (with or without the button type above) a /imageURL the image will be used instead which i did as a test with that speedtest image

examples:


https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7XT3W6PZTSDMS/http://www.speedtest.net/result/2924176948.png

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7XT3W6PZTSDMS/cart/http://www.speedtest.net/result/2924176948.png


I don't know when I will get to the final testing but I will once obligations to contributors have been fulfilled and then I will post it up.
 
Last edited:
Top Bottom