• [MOD] Email image validation results to the user v2 5 0 5 1
Currently:  

Author Topic: [MOD] Email image validation results to the user v2  (Read 56750 times)

0 Members and 1 Guest are viewing this topic.

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #15 on: November 05, 2006, 05:32:58 PM »
In the mail for the users the part from the validation_email_bit looks like this:

Datei: Rettung_Schleswig_10-83-02.jpgUploaded: 05.11.2006 17:30Status:
abgelehnt/gelöscht Begründung/Hinweis: test

There are no line breaks...

And if I insert <br> you can see this in the mail

Datei: Rettung_Schleswig_10-83-02.jpg<br>
Uploaded: 05.11.2006 17:30<br>
Status: abgelehnt/gelöscht <br>
Begründung/Hinweis: test

Offline Knut63

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #16 on: November 16, 2007, 01:46:33 PM »
Is this mod ok with 1.7.4?

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #17 on: January 09, 2008, 11:01:11 AM »
email_validation_bit.html sieht ja so aus:

{lang_file}: {file}
{lang_upload_date}: {date}
{lang_status}: {status} {image_url}
{lang_msg}: {msg}

Wenn die Email dann versendet wird, werden die einzelnen Zeilen aber nicht mit einem Zeilenumbruch versehen, sondern hintereinander weg geschrieben.

Datei: D-HZSB_2007-09-05_CHR_29_BWK_HH_Anflug_005.jpgHochgeladen: 08.01.2008
23:05Status: gelöscht Nachricht: test

Wenn ich jetzt mit <br> oder <br /> oder [n] arbeite, erfolgt ein Zeilenumbruch, aber die Tags werden mit ausgegeben:

Datei: D-HZSB_2007-09-05_CHR_29_BWK_HH_Anflug_005.jpg[n]
Hochgeladen: 08.01.2008 23:02[n]
Status: gelöscht [n]
Nachricht: test[n]

Wer kennt den richtigen Weg für ein gelesenen, aber nicht ausgegebenen Zeilenumbruch in diesem Fall?

skiemor

  • Guest
Re: [MOD] Email image validation results to the user v2
« Reply #18 on: January 09, 2008, 10:11:36 PM »
email_validation_bit.html sieht ja so aus:

{lang_file}: {file}
{lang_upload_date}: {date}
{lang_status}: {status} {image_url}
{lang_msg}: {msg}

Wenn die Email dann versendet wird, werden die einzelnen Zeilen aber nicht mit einem Zeilenumbruch versehen, sondern hintereinander weg geschrieben.

Datei: D-HZSB_2007-09-05_CHR_29_BWK_HH_Anflug_005.jpgHochgeladen: 08.01.2008
23:05Status: gelöscht Nachricht: test

Wenn ich jetzt mit <br> oder <br /> oder [n] arbeite, erfolgt ein Zeilenumbruch, aber die Tags werden mit ausgegeben:

Datei: D-HZSB_2007-09-05_CHR_29_BWK_HH_Anflug_005.jpg[n]
Hochgeladen: 08.01.2008 23:02[n]
Status: gelöscht [n]
Nachricht: test[n]

Wer kennt den richtigen Weg für ein gelesenen, aber nicht ausgegebenen Zeilenumbruch in diesem Fall?

Ich kann dir meine Datei schicken, wird alles sauber umgebrochen, nachdem ich die <br> gelöscht hatte. Texteditiorproblem?

Sag' mir aber mal bitte, was das in der includes/email.php in Zeile 135 zu bedeuten hat. Was ist zu ändern? Ich kann V@nos Antwort leider nicht richtig deuten. ;-)
Muss ich das: $site_email->set_bcc(array("your@email.com","your2@email2.com")); als neue Zeile in der validateimagesl.php einfügen, z.B. unter $site_email->set_to($row['user_email']);?
Gruß Chris.
« Last Edit: January 10, 2008, 01:30:05 PM by skiemor »

skiemor

  • Guest
Re: [MOD] Email image validation results to the user v2
« Reply #19 on: January 10, 2008, 07:27:59 AM »
Is it possible to show a thumb in validation_email_bit.html? {image_url} ?

Chris.

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #20 on: January 10, 2008, 12:02:13 PM »
Ja, dann häng deine Datei mal an, dann probier ich das mal aus...

Bei mir sah das in der validateimages.php so aus an der Stelle:
Code: [Select]
$site_email->set_to($row['user_email']);
$site_email->set_bcc(array("abc@def.de"));

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #21 on: January 10, 2008, 02:00:36 PM »
Man kann natürlich Leerzeilen zwischen den Einträgen in der validation_email_bit.html machen,
dann klappt das auch - thx...  8)

Wieder was gelernt...
Code: [Select]
{lang_file}: {file}

{lang_upload_date}: {date}

{lang_status}: {status} {image_url}

{lang_msg}: {msg}

Offline jeromerookie

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #22 on: August 11, 2008, 07:44:19 AM »
hi.
is this mod running with the 1.7.6 Version ? I've installed it but no mail are sent?
thank you
Jerome

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #23 on: February 14, 2009, 08:49:44 AM »
Hi,

My 4image version is 1.7.6

The code for Step 1 require us to replace with the new codes but beware of the differentiation of the code. For security reason, I had changed codes below by myself.

Old Code
Code: [Select]
echo $lang['image_add_success'].": <b>".stripslashes($image_name)."</b> (".$image_media_file.")<br />";
Latest Code for v1.7.6
Code: [Select]
echo $lang['image_add_success'].": <b>".format_text(stripslashes($image_name), 2)."</b> (".$image_media_file.")<br />";
Please guide me if the codes is incorrect.  :mrgreen:

Thank you.
Love 4images! @--^-----

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Email image validation results to the user v2
« Reply #24 on: February 14, 2009, 09:53:10 PM »
Yes, that is correct.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

rinaldos

  • Guest
Re: [MOD] Email image validation results to the user v2
« Reply #25 on: February 16, 2009, 09:32:50 AM »
Hello,
this mod works perfect with 1.76 :-)

Thanks for this usefull addon

Ingo

Offline cpuswe

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #26 on: March 15, 2009, 08:32:07 PM »
First of all, nice to see you back here V@no!

Second, works great with 1.7.4 (with the addition to yesme:s post)

Third, how difficult would it be to add the image name as a variable in the validation_email_bit.html? I can see that $image_name variable are used in validateimages.php at least.

Thanks!

/Thomas

Offline crs

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #27 on: May 01, 2009, 01:26:03 AM »
Hi V@no, great mod but i have a question:

Is it possible, that the user can decide if he wants to get an email about his uploads?
Maybe the user doesn´t want those emails.

It Would be great if he hase an option for this in his user center...

Greetz

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Email image validation results to the user v2
« Reply #28 on: February 06, 2012, 02:17:07 PM »
Is it possible to use html codes in message? Same with this mod http://www.4homepages.de/forum/index.php?topic=29749...

Thx

Offline clubbu

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: [MOD] Email image validation results to the user v2
« Reply #29 on: August 14, 2012, 10:36:12 AM »
hello,
sending notifications is no longer working.

It 'something happened?

I reinstalled the mod also

The error log is empty