Seite 4 von 5

Verfasst: 09.01.2006 08:32
von Würzi
Ich weiss was!

Ein kleiner Tip:

Würzi = Internetexplorer User :oops:

Schau ich mir die Karte z.B. mit Opera an, dann stimmt deine Aussage.

Aber nochmals gesagt: Wenn ich mir ne Karte schicke, dann sehe ich sie richtig mit Billyexplorer... :wink:

Wollen wir unsere form.tpl mal tauschen, da es bei mir ja funzt :lol:

Verfasst: 09.01.2006 09:47
von femu
Danke für den Hinweis. Bin aber gerade selbst draufgekommen. In meiner form.tpl stand an der Stellen, wo das Bild eingefügt wird:

{IMG} <br> {CAPTATION} <br>

Und das {IMG} muß raus, wenn man aus phpBB rausschickt. Ich denke, das braucht man nur, wenn man Sendcard als eigenständiges Tool nutzt.

Bist Du mit meinen anderen Infos klar gekommen? Ansonsten hier mal meine form.tpl:

Code: Alles auswählen

<!-- Start of form.tpl -->
<script src="include/b4submit.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function AllFieldsFilled(submittedForm) {
  var fieldsNotRequired = new Array()
  var fieldCaption = new Array()
  /* BEGIN AUTHOR SPECS */
// If you remove any form fields from below you must remove the corresponding
// entry from here.
  fieldsNotRequired['fontface'] = true
  fieldsNotRequired['music'] = true
  fieldsNotRequired['notify'] = true

  fieldCaption['to[0]'] = "Name des Empfängers"
  fieldCaption['to_email[0]'] = "E-Mail Adresse des Empfängers"
  fieldCaption['to[1]'] = "Name des Empfängers"
  fieldCaption['to_email[1]'] = "E-Mail Adresse des Empfängers"
  fieldCaption['to[2]'] = "Name des Empfängers"
  fieldCaption['to_email[2]'] = "E-Mail Adresse des Empfängers"
  fieldCaption['from'] = "Ihr Name"
  fieldCaption['from_email'] = "Ihre E-Mail Adresse"
  fieldCaption['message'] = "Ihre Nachricht"

  /* END AUTHOR SPECS */

  return RequiredFieldsFilled(submittedForm,fieldsNotRequired,fieldCaption)
}
</script>

  <table width="90%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%" colspan="2">
        <div align="center">
          <br>
          {CAPTION}<br>
          <br>
        </div>
      </td>
    </tr>
  </table>


Fülle die folgenden Felder aus und klicke dann auf "Vorschau der Karte".<br><br>
<!-- BEGIN num_recipients --> 
<!-- DO NOT ALTER!!! --> 
<form method="post" action="">
  An wieviele Empfänger möchtest Du diese Karte senden?<br>(wenn nur einer,
  kannst Du diesen Schritt übergehen)<br><br>
  <select  name="num_recipients">
    <option value="1" selected>1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
  </select>  <input type="hidden" name="image" value="{IMAGE}">
  <input type="hidden" name="caption" value="{CAPTION}">
  <input type="hidden" name="des" value="{DES}">
  <input type="hidden" name="template" value="{TEMPLATE}">
  <input type="hidden" name="applet_name" value="{APPLET_NAME}">
  <input type="hidden" name="img_width" value="{IMG_WIDTH}">
  <input type="hidden" name="img_height" value="{IMG_HEIGHT}">
  <input type="hidden" name="user1" value="{USER1}">
  <input type="hidden" name="user2" value="{USER2}">
	<input type="hidden" name="user3" value="{USER3}">
  <input type="submit" name="Submit" value="Go">
</form>
<!-- END num_recipients -->


<form method="post" action="sendcard.php" name="sc_form" onSubmit="return AllFieldsFilled(this)">
  <table width="90%" border="0" cellspacing="0" cellpadding="0">
	<!-- BEGIN recipient_block --> 
	<tr> 
	  <td width="140">An:</td>
	  <td width="80%"> 
		<input type="text" name="to[{I}]" value="{TO}">
	  </td>
	</tr>
	<!-- Leave the following line in place!!! --> {INVALIDTO_EMAIL} 
	<tr> 
	  <td width="140">E-Mail Adresse</td>
	  <td width="80%"> 
		<input type="text" name="to_email[{I}]" value="{TO_EMAIL}">
	  </td>
	</tr>
	<!-- END recipient_block --> <!-- BEGIN from_block --> 
	<tr> 
	  <td width="140">Von:</td>
	  <td width="80%"> 
		<input type="text" name="from" value="{FROM}">
	  </td>
	</tr>
	<!-- Leave the following line in place!!! --> {INVALIDFROM_EMAIL} 
	<tr> 
	  <td width="140">Deine E-Mail Adresse:</td>
	  <td width="80%"> 
		<input type="text" name="from_email" value="{FROM_EMAIL}">
	  </td>
	</tr>
	<!-- END from_block --> <!-- If you do not want this option, DO NOT remove this row!  Edit sendcard_setup.php instead --> 
	<!-- BEGIN date_row --> 
	<tr> 
	  <td width="140">Wann soll diese Karte verschickt werden?</td>
	  <td width="80%"> {DATE} </td>
	</tr>
	<!-- END date_row --> <!-- BEGIN font_face --> 
	<tr> 
	  <td width="140">Wähle einen Font:</td>
	  <td width="80%"> 
		<select name="fontface">
		  <option value="" selected>Voreinstellung</option>
		  <option value="Arial, Helvetica, sans-serif">Arial, Helvetica, sans-serif</option>
		  <option value="Georgia, Times New Roman, Times, serif">Georgia, Times 
		  New Roman, Times, serif</option>
		  <option value="Verdana, Arial, Helvetica, sans-serif">Verdana, Arial, 
		  Helvetica, sans-serif</option>
		</select>
	  </td>
	</tr>
	<!-- END font_face --> <!-- Table row for setting the background colour.  If you don't want this feature then remove it --> 
	<tr> 
	  <td width="140">Wähle die Hintergrundfarbe:</td>
	  <td width="80%"> 
		<table width="275" border="0" cellspacing="3" cellpadding="0">
		  <tr align="center"> 
			<td><font size="-1">Voreinstellung</font></td>
			<td bgcolor="#FFFFCC">&nbsp;</td>
			<td bgcolor="#CCFFCC">&nbsp;</td>
			<td bgcolor="#333399">&nbsp;</td>
			<td bgcolor="#CC0000">&nbsp;</td>
			<td bgcolor="#333333">&nbsp;</td>
		  </tr>
		  <tr align="center"> 
			<td> 
			  <input type="radio" name="bgcolor" value="#FFFFFF" checked>
			</td>
			<td> 
			  <input type="radio" name="bgcolor" value="#FFFFCC">
			</td>
			<td> 
			  <input type="radio" name="bgcolor" value="#CCFFCC">
			</td>
			<td> 
			  <input type="radio" name="bgcolor" value="#333399">
			</td>
			<td> 
			  <input type="radio" name="bgcolor" value="#CC0000">
			</td>
			<td> 
			  <input type="radio" name="bgcolor" value="#333333">
			</td>
		  </tr>
		</table>
	  </td>
	</tr>
	<!-- End table row for setting the background colour --> 
<!-- BEGIN fontcolor_block --> 
	<tr> 
	  <td width="140">Wähle die Schriftfarbe:</td>
	  <td width="80%"> 
		<table width="275" border="0" cellspacing="3" cellpadding="0">
		  <tr align="center"> 
			<td bgcolor="#000000"><font color="#FFFFFF" size="-1">Voreinstellung</font></td>
			<td bgcolor="#660066">&nbsp;</td>
			<td bgcolor="#333333">&nbsp;</td>
			<td bgcolor="#006699">&nbsp;</td>
			<td bgcolor="#006600">&nbsp;</td>
			<td bgcolor="#660000">&nbsp;</td>
		  </tr>
		  <tr align="center"> 
			<td> 
			  <input type="radio" name="fontcolor" value="#000000" checked>
			</td>
			<td> 
			  <input type="radio" name="fontcolor" value="#660066">
			</td>
			<td> 
			  <input type="radio" name="fontcolor" value="#333333">
			</td>
			<td> 
			  <input type="radio" name="fontcolor" value="#006699">
			</td>
			<td> 
			  <input type="radio" name="fontcolor" value="#006600">
			</td>
			<td> 
			  <input type="radio" name="fontcolor" value="#660000">
			</td>
		  </tr>
		</table>
	  </td>
	</tr>
<!-- END fontcolor_block --> 
<!-- BEGIN layout_block -->
	<tr>
	  <td width="140">Anordnung der Karte:</td>
	  <td width="80%"> 
		<table width="160" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td>
			  <div align="center"><img src="images/layout-top.gif" width="67" height="36"></div>
			</td>
			<td>
			  <div align="center"><img src="images/layout-left.gif" width="67" height="36"></div>
			</td>
		  </tr>
		  <tr>
			<td>
			  <div align="center">
				<input type="radio" name="template" value="message" checked>
			  </div>
			</td>
			<td>
			  <div align="center">
				<input type="radio" name="template" value="message-left">
			  </div>
			</td>
		  </tr>
		</table>
		
	  </td>
	</tr>
<!-- END layout_block -->
<!-- BEGIN music_row --> 
	<tr> 
	  <td width="140">Musik:</td>
	  <td width="80%"> 
		<select name="music">
		  <option value="" selected>Keine</option>
		  <option value="autumnleaves.mid">Autumn Leaves</option>
		  <option value="OverTheRainbow.mid">Over The Rainbow</option>
		  <option value="Pomp_and_Circumstance.mid">Pomp and Circumstance</option>
		</select>
	  </td>
	</tr>
	<!-- END music_row --> 
	<tr> 
	  <td width="140">Nachricht:</td>
	  <td width="80%"><br>Wenn Du einen aktiven Link einfügen willst, schlie&szlig;e ihn bitte mit<br>
			      <> ein. Andernfalls wird er einfach als Text dargestellt.<br><br>
		<textarea name="message" cols="50" rows="8" wrap="VIRTUAL">{MESSAGE}</textarea>
	  </td>
	</tr>
  </table>
  <br>
  Möchtest Du eine Nachricht erhalten, wenn die Karte abgeholt wurde?<br>
  (Du wirst nur einmal benachrichtigt, unabhängig davon, wie oft die Karte abgerufen wurde) 
  <input type="checkbox" name="notify" value="1" checked="checked">
  <br><br>
{FOOTER}
  <input type="submit" name="preview" value="Vorschau der Karte">
  <br>
</form>
<br>
<form>
<input type="button" value="Abbrechen und schließen" onClick="window.close()">
</form>

<p align="center">Ein Dienst von <a href="http://www.die-muellers.org" target="_blank">Die Muellers Dot Org</a> und <a hrff="http://www.sendcard.org" target="_blank">SendCard</a>.</p>
<!-- End of form.tpl -->
Ansonsten solltest Du mal im Profil Deine Homepage eintragen, dann kann man sich das auch mal ansehen :wink:

Gruß
Felix

Verfasst: 09.01.2006 11:22
von Helmut71
@würzi: ich hab mir bei den sendcard-templates auch helfen lassen. Siehe http://smartor.is-root.com/viewtopic.ph ... 456ada0ac3

Das sind im Prinzip meine.

Verfasst: 09.01.2006 12:47
von Würzi
Danke! :grin:

Ich bin grad schon selber am umstruktuieren... 8)
Smilies hab ich hinzugefügt und geändert... 8)
Musik hinzugefügt... 8)

Die java script hab ich von der index geschmissen und ein paar andere swf Dateien eingefügt... 8)

Ich will nämlich auch Flash als E-Card verschicken... 8)

Verfasst: 09.01.2006 13:02
von femu
Hallo Helmuth,

was ist das für ein MOD, den Du für die Slideshow hernimmst?


Danke und Gruß
Felix

Verfasst: 09.01.2006 13:12
von Würzi
Ich heisse nicht Helmut aber ich sag es trotzdem. :wink:

Ist im full Album Pack 1.0.3 drinnen :wink:

Verfasst: 09.01.2006 13:44
von femu
Hab's auch schon endtdeckt. Wollte es Helmut gerade mitteilen :-) Mal sehen, ob Mighty das Teil auch irgendwo Stand Alone hat. So die wichtigen Teile da raus zuziehen, ist mir zu umständlich.


Felix

Verfasst: 09.01.2006 16:31
von Helmut71
passt nicht mehr zum Thema, aber: das FAP gibts neu in der Version 1.2.0 RC1.
Bin aber nur mittelmäßig zufrieden damit, da es noch einige Bugs gibt und die Übersetzung nicht komplett ist.

Verfasst: 10.01.2006 08:50
von femu
:D Ich hab schon gesehen, daß Du bei Mighty noch etliche Fragen und Anregungen offen hast. Ich hab das Ganze ja unter Orion am laufen und da war ja der Album Mod schon integriert. Den Clow SP und den Category Mod hab ich dann erst später eingebaut und zum Schluß (Dank Deiner Hilfe) auch den Postkarten Part. Der Album Pack Mod war mir irgendwie zu aufwendig und zu unübersichtlich.

Gruß
Felix

Verfasst: 10.01.2006 09:31
von Helmut71
@femu: nicht falsch verstehen: der Album-Mod ist ne feine Sache.

Nur würde ich mir wünschen, dass Mighty, anstatt ständig neue Funktionen einzubauen, mal alle Bugs bereinigt.