TinyPortal
Development => Block Codes => Topic started by: scubasjl on October 04, 2007, 04:34:36 AM
I was looking at the mod for a paypal button for smf and it wasnt what I really wanted cause in the end I wanted something that I could have more then just an automatic go to paypal and then the client wouldnt no how much to spend or what they are getting in return, as to see when you donate theirs different donation amounts for my site and when you dont you get to put an ad and you get a badge and ur put into a group of people that donate to the site. So this is what I did the part with http://www.google.com replace that to w/e ever place you want them to do to for me I created a full html page they to. So in the blocks you will want a scriptbox type for this to work.
<form>
<div align="center">
<p><font size="1"> F4A is a non-profit site, so we need Donations to help us stay online. We do not take a salary and every Donation goes back into the running costs of the site, click donate to find out what you get when you donate. </font></p>
<p>
<input type="button" value="Donate" onclick="document.location = 'http://google.com';">
</p>
</div>
</form>
Quote from: scubasjl on October 04, 2007, 04:34:36 AM
I was looking at the mod for a paypal button for smf and it wasnt what I really wanted cause in the end I wanted something that I could have more then just an automatic go to paypal and then the client wouldnt no how much to spend or what they are getting in return, as to see when you donate theirs different donation amounts for my site and when you dont you get to put an ad and you get a badge and ur put into a group of people that donate to the site. So this is what I did the part with http://www.google.com replace that to w/e ever place you want them to do to for me I created a full html page they to. So in the blocks you will want a scriptbox type for this to work.
<form>
<div align="center">
<p><font size="1"> F4A is a non-profit site, so we need Donations to help us stay online. We do not take a salary and every Donation goes back into the running costs of the site, click donate to find out what you get when you donate. </font></p>
<p>
<input type="button" value="Donate" onclick="document.location = 'http://google.com';">
</p>
</div>
</form>
That is truely amazing.. where did you get the idea?
Maybe it was from my site?
QuoteLAB RADIO NEEDS YOUR HELP TO STAY ONLINE.
We are a non-profit radio station, so we need Donations to help us stay online. We do not take a salary and every Donation goes back into the running costs of the streams, site and new music.
Wow.. even the wordings the same.. coincidence?
I don't think so.
Created:
on 28 March 2007, 14:26:00Wow.. my Donate button redirects to an Article.. :o
http://labradio.co.uk/index.php?page=41
I wouldn't really care if you had used your own wording and said you got the idea from another site.. Big up you.
Yea sorry about that lol, nice site by the way its in my fav's. But I had nothing to put their when I did the button, and yeah the wording has changed since I redid my smf and tp installations. But as for the time being i put that in their to have a idea of what I wanted to say. As far as the redirect, well theirs a few amounts you can donate, and they each of their benefits so I wasnt going to make 5+ donation buttons on the home page, but I did not know that yours did that.
The real reason I redirected the PayPal button to another page is because PayPal buttons are slow to load, so I load the image of the button and have the real button in an article.
aww thanks for that info