Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 12:40

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 6. Aug 2010, 09:22 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Hallo,

leider funktioniert die Benachrichtigung per Mail an Admin und Abonnenten bei einem neuen Bildupload nicht.
Stattdessen taucht diese Fehlermeldung in der Debug auf:

ERROR 8 in xxx/xxx/xxx/admin/upload/tfu_helper.php, line 654: Undefined index: NaN

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Last edited by Travel-Infopoint on 2. Oct 2013, 11:01, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 10:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
wo soll es denn diese Funktionalität geben?
Im Flash in TWG ist doch dies Benachrichtigung gar nicht konfiguriert...

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 10:49 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Sorry, hast Recht. War nur bei Kommentar bzw. Rating. Und das funktioniert.

Trotzdem wäre die Benachrichtigung bei neuem Upload zumindest für den Admin schön. Vielleicht wäre das ja eine Idee für ein nächstes Update.

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 11:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Trags einfach in die tfu_config.php ein... Notification ist im uploader selbst ja vorhanden.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 11:58 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
$upload_notification_email = 'true';
$upload_notification_email_from = 'meineadresse@meinedomain.de'; // the sender of the notification email!
$upload_notification_email_subject = 'Files were uploaded by the TWG Flash Uploader';
$upload_notification_email_text = 'The following files where uploaded by %s: %s'; // Text of the email - the first %s ist the username (if no is set 'not set is used'), the 2nd %s is the list of files that where uploaded!

Hab das mal so in der tfu_config.php geändert.
Ergebnis: nichts.

Was falsch gemacht oder irgendwas vergessen?

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 14:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
$upload_notification_email = "to@email.com";

da musst du die E-Mail eintragen, an wen die E-Mail geschickt werden soll.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 15:16 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Prima, hat geklappt. So langsam gefällt mir die TWG richtig gut :lol: .
Danke.

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
 Post subject:
PostPosted: 6. Aug 2010, 16:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Die Doku werde ich da noch anpassen - das mit der E-Mail war unklar. Dadurch, dass ich beim JFU alles Parameter komplett über eine hübsche Oberfläche habe war hier nicht klar, was einzutragen ist.

- Michael


Top
 Profile  
 
PostPosted: 26. Sep 2013, 16:09 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Mittlerweile verwende ich die Version 3.0, die in TWG 1.9 enthalten ist.
Folgendes...

$upload_notification_email = 'meineempfängeradresse@meinedomain.de';
$upload_notification_email_from = 'meineabsenderadresse@meinedomain.de" rel="nofollow'; // the sender of the notification email!
$upload_notification_email_subject = 'Files were uploaded by the TWG Flash Uploader';
$upload_notification_email_text = 'The following files where uploaded by %s: %s'; // Text of the email - the first %s ist the username (if no is set 'not set is used'), the 2nd %s is the list of files that where uploaded!

... habe ich jetzt in die my_tfu_config.php eingefügt, damit bei einem Update von TWG > 1.9 nicht wieder meine Einstellungen weg sind.
Leider klappt die Benachrichtung über neue hochgeladene Bilder wieder nicht.
Woran liegt's diesmal oder klappt das nur, wenn ich die Änderungen in die tfu_config.php eintrage?

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
PostPosted: 27. Sep 2013, 11:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
my_tfu_config.php sollte o.k. sein. schau mal, ob die auch genau so geschrieben ist weil sonst wird die nicht included.


In der version gibt es noch weitere Parameter für die e-mail.

Schau dir mal
$use_smtp = false; // New 2.17 (true,false) false: use build in php mail, true: use smtp. Please provide the settings below.
$smtp_host = "localhost"; // New 2.17 (String) The smtp host. If you want to use ssl please use e.g. ssl://smtp.strato.de. See http://php.net/manual/en/transports.inet.php for available transport protocols.
$smtp_port = 456; // New 2.17 (Number) The smtp port. 456 is the default for ssl!
$smtp_user = "<user>"; // New 2.17 (String) The smtp user name
$smtp_password = "<password>"; // New 2.17 (String) The smtp password

Ist. Da kannst du dann die e-mails auch per smtp schicken.

Gruß, Michael


Top
 Profile  
 
PostPosted: 27. Sep 2013, 12:22 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Die Benachrichtigung bei Bildupload hat ja mal bei der Vorgängerversion funktioniert. Deshalb bin ich so verwundert, daß es jetzt mit der neuen Version wieder nicht mehr klappt.
my_tfu_config.php scheint auch included zu sein, da die von mir eingetragene Größenbeschränkung für das Upload übernommen wird.
In der debug Datei steht dafür folgendes: Security tokens did not match. no further actions are allowed.

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
PostPosted: 29. Sep 2013, 19:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Das System drunter unterstützt jetzt eben auch smtp. Schon mal konfiguriert?

Gruß, Michael


Top
 Profile  
 
PostPosted: 30. Sep 2013, 13:08 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
Ich gehe mal davon aus, daß die Comment-Benachrichtigung auch über php-mail verschickt wird. Die funktioniert auch.
Warum klappt das dann nicht bei den Uploads?
Blick nicht mehr durch...

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
PostPosted: 30. Sep 2013, 17:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Das sind 2 verschiedene Stellen. Der Uploader funktioniert ja komplett unabhängig von der TWG (siehe auch JFUploader, Wordpress Flash Uploader ....).

Aber die Konfiguration ob smtp übernehme ich auch von der config.php.

Aber du hast bei $upload_notification_email keine e-mail gesetzt!

Gruß, Michael


Top
 Profile  
 
PostPosted: 1. Oct 2013, 13:58 
Offline

Joined: 20. Feb 2009, 11:04
Posts: 121
Location: Germany, NRW
TinyWebGallery wrote:
...
Aber du hast bei $upload_notification_email keine e-mail gesetzt!

Gruß, Michael


Klar habe ich die gesetzt:
$upload_notification_email = 'meineempfängeradresse@meinedomain.de';
$upload_notification_email_from = 'meineabsenderadresse@meinedomain.de"; // the sender of the notification email!
$upload_notification_email_subject = 'Files were uploaded by the TWG Flash Uploader';
$upload_notification_email_text = 'The following files where uploaded by %s: %s'; // Text of the email - the first %s ist the username (if no is set 'not set is used'), the 2nd %s is the list of files that where uploaded!

Geht trotzdem nicht!

_________________
Gruß
Dirk

Urlaubsinfos+Bilder: Griechenland, Portugal, Spanien,
USA, Karibik, Niederlande, Frankreich und Deutschland
Homepage: https://www.travel-infopoint.de/
HP-Forum: https://forum.travel-infopoint.de


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy