MyBB Community Forums

Full Version: Aligning a PayPal Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I current wish to align a PayPal button with the rest of my Postbit buttons.
This is currently my buttons (part of postbit template):
<td class="trow1 post_buttons {$unapproved_shade}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
<a href="http://discussadmin.com/myawards.php?uid={$post['uid']}"><img src="/images/FreshBlue_mybb_1.4/english/awards.gif" /></a>
<a href="http://www.discussadmin.com/plaza.php?action=page&p=inventory&uid={$post['uid']}"><img src="/images/FreshBlue_mybb_1.4/english/donate.gif" /></a>
<!--
<form name="_xclick" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="{$post['fid9']}">
<input type="hidden" name="item_name" value="Donation">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="">
<input type="image" src="/images/FreshBlue_mybb_1.4/english/pay.gif"
border="0" name="submit" alt="Donate via PayPal!">
</form>-->
</div>
I know it's hidden, I did that on purpose, since it's still being developed.
Also, do you know how I can make it go to a specified page (http://example.com/nopaypalentered.php) if the field is blank?
Thanks!