Here is a new release of the Gallery 2 eCard module:
- Supports but also requires Gallery 2.1
- Now uses PEAR::Mail_mime to assemble HTML mails (better templates and the output is much less broken than before)
- The preview page includes the image
- The eCard feature can be turned on and off per album using the G2 permission system
23. März 2006 16:34
Hi dears,
Congratulations for the Ecard Module. I think I will love it.
Actually I’ve a problem with it. I’m running Gallery 2.0.4, and and the last ecard-module doesn’t work on it for the API problem
I saw the link for the 0.0.7 and finally I could install it, but actually if I try to send an eCard I receive the following error:
„Fatal error: Call to undefined function: fopen() in …. modules/core/classes/GalleryPlatform.class on line 343“
that correspond to this lines:
$fd = fopen($tempFile, ‚wb‘);
$success = false;“
What does it mean? How to solve it?
Thanks for the attention and again congratulation to all for the big development
Bye
23. März 2006 17:33
galleo:
It seems that your PHP version does not have fopen so the Gallery wrapper for fopen (which should avoid this problem) fails. Strange. What platform are you running?
23. März 2006 17:59
dear,
thanks for the quick answer. Actually on my php.ini it (under /etc/) seem active the allow_url_fopen… it is: „allow_url_fopen = On“, running on „Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.2.2“ (Suse – with php 4.2.2).
Should I install something? Should I forgot something?
Thanks in advanced for the support
Bye
25. März 2006 19:33
Danke für das E-Card-Modul. Ich habe die aktuelle Version heruntergeladen und installiert. Beim Versand kommt eine ähnliche Fehlermeldung wie bei galleo
Fatal error: Call to undefined function: fopen() in /var/www/web28/html/gallery2/modules/core/classes/GalleryPlatform.class on line 345
leider weiß ich nichts damit anzufangen
Gallery 2.1
Linux rh9.eng.sw.ru 2.4.20-019stab030.1.777-smp #1 SMP Wed Jul 30 18:47:25 MSD 2003 i686 i686 i386 GNU/Linux
allow_url_fopen 1 1
Bin für jeden Tipp dankbar
Peter
26. März 2006 00:25
Das ist seltsam. Kannst du einen Kommentar ins Gallery-Forum schreiben, dort findet evtl. jemand eine Lösung?
http://gallery.menalto.com/node/46565
29. März 2006 11:15
Guten Tag erstmal
Ich benutze die neueste Gallery2 version 2.1 (Black Jack)
und habe mir jetzt das Modul eCard installiert.Alles einwandfrei,Versand klappt auch,nur es wird im Mail Programm immer nur ein Dateianhang als.txt mit versendet.kein Bild wird angezeigt,habe es mit beiden Einstellungen versucht,nur als Text oder Html verschicken,gleiches Ergebnis.Beides passiert in The Bat sowie bei Win Doof (Office Outlook).Das Bild wird in ein Textfile zerlegt und nicht dekodiert.
Wäre schön,wenn jemand einen Tipp hätte,ich finde die Funktion klasse.
Viel Grüße
walter
digitalfotografie-galerie.de
29. März 2006 11:33
Walter:
Dieses Problem habe ich vor einiger Zeit schon behoben, aber die neue Version noch nicht veröffentlicht.
Kannst du das Modul noch einmal herunterladen (selbe Adresse) und es nochmal versuchen?
1. April 2006 12:59
Hallo,Nico
Danke für deine Antwort.Werde es jetzt gleich probieren und werde es hier auf jeden Fall posten,wie es ausgegangen ist.
Gruß
Walter
1. April 2006 14:14
Hallo,Nico
klappt soweit erstmal,nur bekomm ich es nicht hin,das dieses Bild in der E-mail selbst angezeigt wird,nur als Dateianhang.Ist das so gewollt oder liegt es an meinen E-Mail Programmen?Habe alle möglichen Einstellungen schon versucht,mit dem gleichen Ergebnis.Wäre nett,wenn Du mich mal informieren würdest.
Gruß
Walter
5. April 2006 15:02
Walter:
Ich habe es gerade ausprobiert, mit Thunderbird, Evolution und Outlook funktioniert es…
5. April 2006 18:54
Hallo,Nico
schade,ich benutze The Bat,und da klappt es leider nicht.
Na ja,die meisten haben es ja nicht,sollte also da richtig ankommen,werde es aber mit Windoof Outlook Express auch noch mal versuchen,jedenfalls vielen Dank für die Antwort.
Gruß
Walter
11. April 2006 14:15
Hello. I appreciate having the e-Card module, it is very popular feature. Thank you for the work.
Question: how can I change the behavior of the „send as eCard“ text which appears beneath each photo? I would personally prefer to have the option appear in the sidebar with the other modules like Google Map or RSS, etc.
I found it is permission-based so it either appears under all photos or does not appear at all.
Does this question make any sense?
thanks
regards,
patrick
19. April 2006 13:51
Hi,
I have just downloaded eCard, but found no instruction on where files should be setup on my Gallery directory… Where should „AdminEcard.inc“ go? same for the rest…
Regards,
Gérald
19. April 2006 14:06
Hi,
Forget my stupid question above :-).
Errr… it just work as Admin. Where is the setup to allow guests to view the e-Card button?
Very neat module!!
Regards,
Gérald
20. April 2006 17:36
Hello,
first : great job you’ve done !
But sadly I download the last version 0.0.8 (date: 29 March 2006), and the e-mail is wrecked (content-type tags are visible and image is text encoded).
A friend has also the 0.0.8 version , but it works
Checking the two versions, we find that the date of the archive working was 2 March 2006. The code was not so clean, some lines was useless.
But it works !
The real clean version add bcc field and change CR/LF mime.
But it doesn’t work !
I don’t speak german, but someone in this forum seems to got the same problem.
I’m triyng to modify your code but any help will be great !
Thanks again for your work !
Vince.
PS: Please answer by e-mail.
8. Mai 2006 20:07
Ich bekomme folgende Fehler (ecard 0.0.8)
Wo muss ich noch was einstellen?
Warning: mail() [function.mail]: SMTP server response: 550 5.1.1 … User unknown in C:\Programme\Apache Group\Apache2\htdocs\gallery2\modules\core\classes\GalleryPlatform.class on line 1058
Fatal error: Cannot use object of type GalleryStatus as array in C:\Programme\Apache Group\Apache2\htdocs\gallery2\main.php on line 199
8. Mai 2006 22:09
Thomas:
Hast du einen SMTP-Server eingestellt? Wenn ja, darf der Benutzer, unter dem der Webserver läuft, auf diesem Server Mails verschicken? Sieht so aus, als stimmt da was mit der Konfiguration nicht…
8. Mai 2006 23:38
Habe ich eingetragen und Mail wird jetzt verschickt.
Dafür habe ich jetzt das Problem das die anderen auch haben:
Bekomme eine Multipart-EMail die alles in einem langen Text empfängt.
Outlook zeigt mir das hier an:
Content-Type: multipart/alternative;
boundary=“=_3bc908d8879af6dcdcc4db0421fa70d4“
—=_3bc908d8879af6dcdcc4db0421fa70d4
Content-Type: text/plain; charset=„UTF-8“
Content-Transfer-Encoding: 8bit
Hi ! (thomas.huhn@dith.de) hat Dir eine ECard geschickt:
Test
—
Diese ECard wurde Dir von Gallery2 auf http://www.dith.de gesendet.
—=_3bc908d8879af6dcdcc4db0421fa70d4
Content-Type: multipart/related;
boundary=“=_755bfe31647cf16af28b4e9bc72398bf“
—=_755bfe31647cf16af28b4e9bc72398bf
Content-Type: text/html; charset=„UTF-8“
Content-Transfer-Encoding: quoted-printable
9. Mai 2006 19:00
nico-
please read http://gallery.menalto.com/node/36557?from=100#comment-182653
thanks,
dmolavi
9. Mai 2006 23:36
Thomas:
In der Klasse SendEcard in der Funktion „handleRequest“ gibt es einen Aufruf „new Mail_mime();“. Dieser muss korrekt ‚new Mail_mime(“\n“);‘ heißen.
Die neueste Version hat das schon drin, heißt aber immernoch 0.0.8 (muss das mal ändern).
10. Mai 2006 07:25
@nico:
Bei steht das so schon drin:
$mime = new Mail_mime(“\n“);
Ich hatte ja erst vor wenigen Tagen installiert, müsste also eigentlich die neueste Version haben.
9. Juli 2006 13:46
Hello, when i try to install e-card module i get the message as follows:
Incompatible module!
Core API Required: 7.0 (available: 6.8)
Module API Required: 3.0 (available: 2.0)
What should I do. I am using Gallery2:
Gallery version = 2.0.4 core 1.0.0.4
PHP version = 4.4.2 cgi
Webserver = Apache/1.3.34 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7d PowWeb/1.1
Database = mysql 4.1.15-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd
Operating system = FreeBSD clust10-www01.powweb.com 4.11-RELEASE-p19 FreeBSD 4.11-RELEASE-p19 #1: Th i386
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727
9. Juli 2006 14:03
Prashanth:
You need Gallery 2.1 to use the current version of the eCard module.
9. Juli 2006 15:52
Hello, thanks for the replyl . Is it possible for me to just overwrite my exisiting Gallery version = 2.0.4 files with 2.1 and install it all over again with out losing any data?
9. Juli 2006 15:56
There are instructions in the \„Gallery 2 README\“:http://tinyurl.com/fvt77
10. Juli 2006 20:43
Hallo,Nico
habe die neue Version am 08.07.2006 installiert,klappt soweit ganz gut,nur das in der Mail das so dargestellt wird:
Hi sonja!testname (w.bobeth@sowabo.de) has sent you an eCard:
Das gehört da nicht hin
Mail Programm ist The Bat.
Gruß
Walter
10. Juli 2006 21:17
Mist
Wenn ich das eingebe,was ich sehe in meiner Mail,wird das hier nicht dargestellt ;-(
Das Ausrufezeichen erscheint bei mir als Befehlszeichen ausgeschrieben.
so,nur zusammen
Gruß
Walter
10. Juli 2006 21:20
Das ging auch in die Hose,na ja
vielleicht weißt Du auch so,was ich meine oder Du schickst Dir mal selbest eine e-Card von meiner Galerie
http://www.digitalfotografie-galerie.de
Gruß
Walter
16. Juli 2006 02:13
Looks very promising, everything seems to work ok, found just one little quirk, the watermark isn’t sent with the picture.
3. November 2006 14:24
Hi,
Thanks for working on this! Great stuff. The only thing is that I just installed and received the error below. My sys info is also included. Any ideas?
Error Detail – Error (ERROR_BAD_PARAMETER) : Controller results are missing status, error, (redirect, delegate, return)
* in main.php at line 211 (gallerycoreapi::error)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.1.1
PHP version 4.4.4 cgi
Webserver Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysql 4.1.21-standard-log
Toolkits SquareThumb, NetPBM, Gd
Operating system Linux box112.bluehost.com 2.6.17-11_1.BHsmp #1 SMP Thu Aug 24 09:39:29 MDT 2006 ×86_64
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
3. November 2006 14:31
Another suggestion. After I click „Save Settings“ on the screen where it allows you to specify email parameters, it takes me to the root gallery page. I think that it should save and keep you on that same page. This prevents the admin from having to navigate back to the admin if they need to continue working there. Juts a suggestion.