Page 1 of 2

26. March 2007 - update: Send E-mail Module

Posted: 25 Mar 2007, 23:51
by mjau-mjau
Send E-mail Module
New module for allowing visitors to send photo in email to a friend!
<div class="myline"></div>
[img:350:250]https://www.photo.gallery/graphics/send_email.jpg[/img]
<div class="myline"></div>
View the demos below and click the far right button with an e-mail icon after accesssing a full size image to see the send email module in action. You may also run the the email send module by right-clicking in full size mode. Send yourself an e-mail!

<a href="https://www.photo.gallery/imagevue/slideshow.php" target="_blank" class="mlink">Imagevue Slideshow</a><a href="https://www.photo.gallery/imagevue/" target="_blank" class="mlink">Imagevue Gallery</a>
Details and instructions on the send email module here:
<a href="https://www.photo.gallery/support/docs/602" class="mlink">Send E-mail Module</a>

Posted: 27 Mar 2007, 07:13
by globetrotter
When I use the Send E-Mail module, and I send a link to myself, I receive a strange link like this: http://vip-membersphp.webc.lyceu.net/fo ... C00130.JPG

The link works, but should it not be: http://fotos.globetrotternet.nl/?direct ... C00130.JPG

Great job!

Posted: 31 Mar 2007, 00:11
by deadesq
I implemented this immediately, as this was one of my "wish list" items. I've modified the template to look like a postcard when sent now. Give it a try on www.deadesq.com and send yourself a card. If you like it, I'll send you the HTML code.

deadesq

Posted: 03 Apr 2007, 13:02
by MikeR
hi,

thanks for this uptadate, It works well :D :D

But how to use 2 versions of sendpic.html (one in french with a link to the french version site and one in english with a link to the english site)

In my site I use :

For the french version :
config.ini => slideshow.ini => sendpic.html (in french)

For the english version :

configenglish => slideshowenglish.ini => sendpic.html (in french ) :( :(

Thanks for the help

Michel

http://www.michelrajkovic.fr/

Posted: 14 Apr 2007, 01:02
by mjau-mjau
globetrotter wrote:When I use the Send E-Mail module, and I send a link to myself, I receive a strange link like this: http://vip-membersphp.webc.lyceu.net/fo ... C00130.JPG
I guess these issues were bound to happen. Unfortunately, the PHP script seems to be returning your 'true' domain instead of your virtual domain.

You could simply work around this by editing the e-mail template sendpic.php. Simply find where it says [gal_url] and substitute it with your gallery url. In other words hardcoding it instead of using the dynamic parameter.

Posted: 14 Apr 2007, 01:15
by mjau-mjau
MikeR wrote:But how to use 2 versions of sendpic.html (one in french with a link to the french version site and one in english with a link to the english site)
advanced functionality :shock:

That would not really be a difficult task, but it would require a few changes in both PHP and FLASH. I will add it as an update in the next batch ...

Posted: 14 Apr 2007, 04:33
by MikeR
thanks :D

Posted: 14 Apr 2007, 13:08
by globetrotter
mjau-mjau wrote:
globetrotter wrote:When I use the Send E-Mail module, and I send a link to myself, I receive a strange link like this: http://vip-membersphp.webc.lyceu.net/fo ... C00130.JPG
I guess these issues were bound to happen. Unfortunately, the PHP script seems to be returning your 'true' domain instead of your virtual domain.

You could simply work around this by editing the e-mail template sendpic.php. Simply find where it says [gal_url] and substitute it with your gallery url. In other words hardcoding it instead of using the dynamic parameter.
Thank you :lol:

Posted: 16 Apr 2007, 16:25
by Jockel
How can i find out, what is wrong?
An error ocurred:
undefined
Logfile works perfect?!

Posted: 17 Apr 2007, 00:19
by mjau-mjau
Jockel wrote:How can i find out, what is wrong?
An error ocurred:
undefined
Logfile works perfect?!
And have you checked if it actually sends e-mails or not? I just had a user who had the exact same issue. He was getting an undefined error, although it was still sending e-mail. Please try an updated swf file here: www.photo.gallery/downloads/imagevue/slideshow.swf

Posted: 23 Apr 2007, 15:30
by Jockel
Hi Karl,

yes, mails were send. But the link you posted does not work here?
Did i make a mistake?

Regards
Jochen

Posted: 25 Apr 2007, 00:19
by mjau-mjau
Jockel wrote:yes, mails were send. But the link you posted does not work here? Did i make a mistake?
Try going to the downloads section www.photo.gallery/downloads/ , login with your ID/password, and make sure you goto the Imagevue individual file downloads section. From there, find the latest Imagevue.swf and download it...

Posted: 25 Apr 2007, 00:33
by Jockel
Works perfect!
Thank you very much!

Regards
Jochen

Posted: 26 Apr 2007, 12:29
by michael
An error ocurred:
Send e-mail script not found!

I have downloaded and uploaded the following new versions:

slideshowimagevueconfig.ini
slideshowconfig.ini
imagevue.swf
slideshowlang.ini
sendpic.html (include folder)
slideshow.swf


which file did I forgot?



thx

Posted: 27 Apr 2007, 02:19
by mjau-mjau
michael wrote:
An error ocurred:
Send e-mail script not found!
which file did I forgot?
Certainly sendpic.php

I would also get the latest files /include/secure.inc.php, include/Config.class.php and include/config.inc.php just incase you dont have the latest versions of these.