Jump to the post that solved this thread.
Solved: 6 Years, 5 Months, 1 Week ago Use Image as Paypal button
#1
Solved: 6 Years, 5 Months, 1 Week ago
[Image: cb4NTPh.png]
All I want is to be able to click the userbars and make it go to the paypal payment page while also having a text field below the userbar so you can enter your uid?



upgrade template:

<html>

<head>

<title>Upgrade page</title>

{$headerinclude}

</head>

<body>

{$header}


<!-- start: upgrade_VIP -->
<br /><table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>VIP</strong></td>
</tr>
<tr>
<td class="trow1" width="70%">
   <ul>
	<li>PlaceHolder</li> 
	<li>Placeholder</li> 
	<li>Placeholder</li> 
	<li>Placeholder</li> 
     <li>Placeholder</li>
	<li>Placeholder</li> 
   </ul>
</td>


<td class="trow1 forumdisplay_regular" align="center"><span class="largetext">$5</span><br /><a href=""><img src="http://gamingfanatic.tk/images/Carbon/groupimages/english/VIP_Member.png" alt="VIP" /></a></td>
</tr>
</table>
<!-- end: upgrade_VIP -->
<!-- start: upgrade_Elite -->
<br /><table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>Elite</strong></td>
</tr>
<tr>
<td class="trow1" width="70%">
   <ul>
	<li>Ability to change username</li> 
	<li>Ability to create custom usertitle</li> 
	<li>Ability to give positive and neutral reputations</li> 
	<li>Ability to add an image to your signature</li> 
	<li>Ability to upload your avatar</li> 
	<li>Access to all member forums</li> 
	<li>Removal of Lounge post limit restriction</li>
	<li>Can edit/delete your own posts without time limits</li> 
	<li>Placeholder</li> 
	<li>Placeholder</li>
	<li>Placeholder</li> 
	<li>Placeholder</li> 
	<li>Placeholder</li>
	<li>Placeholder</li>
   </ul>
</td>


<td class="trow1 forumdisplay_regular" align="center"><span class="largetext">$10</span><br /><a href=""><img src="http://gamingfanatic.tk/images/Carbon/groupimages/english/Elite_Member.png" alt="Elite" /></a></td>
</tr>
</table>
<!-- end: upgrade_Elite -->
{$footer}

</body>

</html>

Paypal button:

<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="hosted_button_id" value="REMOVED">
<table>
<tr><td><input type="hidden" name="on0" value="UID:">UID:</td></tr><tr><td><input type="text" name="os0" maxlength="200"></td></tr>
</table>
<input type="image" src="http://gamingfanatic.tk/images/Carbon/groupimages/english/Elite_Member.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Reply
#2
Solved: 6 Years, 5 Months, 1 Week ago
Anyone know how to do this?
Reply
#3
Solved: 6 Years, 5 Months, 1 Week ago
you can remove the image code from the template (code like below) and put paypal form code there.
<a href=""><img src="http://gamingfanatic.tk/images/Carbon/groupimages/english/VIP_Member.png" alt="VIP" /></a>
Reply
#4
Solved: 6 Years, 5 Months, 1 Week ago
Thanks that sorted this Smile
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)