PDA

View Full Version : Buy paypal


derlitograph
12-06-2007, 11:52 AM
Hi folks,

I updated Pixelpost to 1.7 - great!!!

After that some problems seem to appear.

Why does my <IMAGE_THUMBNAIL> not work anymore?

austriaka
12-06-2007, 12:54 PM
did you fill in the thumbnail path in options page?

derlitograph
12-06-2007, 01:37 PM
Yes, I did.

I'm a bit sad.

This paypal script and code used to work but no it causes an error :-(((

<script language="javascript" type="text/javascript">
<!-- BEGIN
function flip(rid)
{
current=(document.getElementById(rid).style.displa y == 'none') ?
'block' : 'none';
document.getElementById(rid).style.display = current;
}

function ReadSize (form1)
{
if (form1.selectSize.value == 1)
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, file via email";
form1.amount.value = 20.00;
}
else if (form1.selectSize.value == 2)
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, file via CD";
form1.amount.value = 27.00;
}
else if (form1.selectSize.value == 3)
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, 20x30";
form1.amount.value = 20.00;
}
else if (form1.selectSize.value == 4)
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, 30x45";
form1.amount.value = 35.00;
}
else if (form1.selectSize.value == 5)
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, 40x60";
form1.amount.value = 40.00;
}
else
{
form1.item_name.value = "<IMAGE_TITLE>, #<IMAGE_ID>, 50x75";
form1.amount.value = 60.00;
}
}
// End -->
</script>


<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="Manwal@gmx.de">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="item_name" value="">
<input type="hidden" name="amount" value="">
<select name="selectSize" onchange="ReadSize (this.form);">
<option value="Select a Size">Select a Size:</option>
<option value="1">as file (email) (20 EUR*)</option>
<option value="2">as file (CD) (27 EUR*)</option>
<option value="3">20x30cm (20 EUR*)</option>
<option value="4">30x45cm (35 EUR*)</option>
<option value="5">40x60cm (40 EUR*)</option>
<option value="6">50x75cm (60 EUR*)</option>
</select><br></form><input type="submit" value="Buy / Kaufen" class="formbut"/><br><br>

austriaka
12-06-2007, 02:03 PM
if you look here, it is vor v1.5
http://pixelpost.myd3.com/extend/?s=paypal&sort=updated&req=Any

derlitograph
12-06-2007, 02:16 PM
HAHA
yes...

I replaced every thing with a small change.

<IMAGE_ID> into <BUY_IMAGE_ID>

with the PAYPAL addon switched on!!!

Great, it works!!!

for example:
"form1.item_name.value = "<BUY_IMAGE_TITLE>, #<BUY_IMAGE_ID>, "

HAPPY END

thanks

austriaka
12-06-2007, 02:42 PM
great! (Schuster is becoming a professional ;-))

derlitograph
12-06-2007, 02:53 PM
yes... hehe.

I learn