Author Topic: Bild melden / report a pic / second possibility /zweite Möglichkeit  (Read 2416 times)

0 Members and 1 Guest are viewing this topic.

Offline kira2oo2

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • ww.xfoto.ch
Hallo zusammen

Ich habe das Mod Bild melden von Michi eingebaut im  1.7.4..
Alles funktioniert einwandfrei nur das senden des Melde Mails nicht.
Ich bitte um Hilfe!!
Was habe ich falsch gemacht bzw. wo könnte der Fehler liegen?
Die Danke Seite kommt sobald man den Button gedrückt hat nur das Mail kommt nie an.
Ich habe die Felder mit der Mailadi doch ausgefüllt, aber irgendwas funktioniert einfach nicht.
Bitte helft mir sonst werde ich noch wahnsinnig......  :cry:

Hier der Code von der  melde php:

Quote
<?php
   // Danke page
// Pfad ändern ###<<<<<###
$thankyoupage = "http://www.xfoto.ch/index.php?template=danke";

if (isset($_POST["submit"])) {
    $img_id = $_POST["img_id"];
    $username = strip_tags($_POST["username"]);
    $comment = strip_tags($_POST["comment"]);
    $poster = strip_tags($_POST["poster"]);
    $up_date = strip_tags(urldecode($_POST["up_date"]));

    // Admin-Emailadresse
// Email Adresse ändern ###<<<<<###
    $emailto = "bildmelden@xfoto.ch.";

    // Your email subject text
// Betreff Hinweis ändern ###<<<<<###
    $esubject = "www.xfoto.ch - Eine Meldung wurde gesendet";
// Pfad ändern ###<<<<<###
    $emailtext =
"Der User $username hat das Bild mit der ID $img_id gemeldet.\n\r
Detailansicht: http://www.xfoto.ch/details.php?image_id=$img_id\n\r
Nickname des Posters: $poster\n\r
Upload-Datum: $up_date\n\r
Nickname des Melders: $username\n\r
Kommentar des Melders:\n\r$comment";
// Email Adressen ändern ###<<<<<###
    @mail($emailto, $esubject, $emailtext, "From: bildmelden@xfoto.ch <bildmelden@xfoto.ch>\r\n");
}
header("Location: $thankyoupage");
exit;
?>

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
1. Wenn du Fragen zu einem bestimmten MOD hast, dann poste sie bitte auch in dem entsprechenden Thread und eröffne kein neues Thema !
2. Dieses und mehr zu den Forum-Guidelines solltest du hier nachlesen : http://www.4homepages.de/forum/index.php?topic=3914.0
3. Thread geschlossen .
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...