Author Topic: Email list of images in lightbox...  (Read 172301 times)

0 Members and 1 Guest are viewing this topic.

Offline teszeract

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Email list of images in lightbox...
« Reply #90 on: September 07, 2005, 11:55:20 PM »
Clarification: quotation_send.php does work in that it sends the email, but there is no body to the message.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #91 on: September 07, 2005, 11:58:04 PM »
Quote

there is no body to the message.


Of course not, PHPMail doesn't recognize 4images's sessions when sending the e-mails since 4images uses $site_email to track your user's quotation information. ;)

Offline teszeract

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Email list of images in lightbox...
« Reply #92 on: September 08, 2005, 01:33:44 AM »
Quote

there is no body to the message.


Of course not, PHPMail doesn't recognize 4images's sessions when sending the e-mails since 4images uses $site_email to track your user's quotation information. ;)

 8O  So how does it work then? There's nothing in the readme. You said that as if I should have known that, so I must be missing the obvious.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #93 on: September 08, 2005, 01:53:52 AM »
Quote

So how does it work then?


In order to keep the sessions, you must remain with the internal $site_email string function (quicker solution). Otherwise, the sessions will expire definitely.

Quote

You said that as if I should have known that


Nope, I respect other users levels of capacity. I only stated this as a fact. ;)

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #94 on: September 08, 2005, 04:49:34 PM »
at this time i have also problem with the quotation_Send.php

PHP 4.3.11
SQL : Client API version  3.23.49

hope still somebody could find out whats going wrong

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #95 on: September 08, 2005, 11:38:38 PM »
Quote

hope still somebody could find out whats going wrong


Yes, now I can find more solutions for you. Within the past week, I have updated my post - regarding the ' PHP Server Information ' MOD. You can, now, completely replace the actual PHP plugin file with the new one I posted. Then, when you'll load the plugin from ACP, you should (and definitely will) find some aligned information, from the top on the page - below the title.

Please post these complete infos (not the entire page but simply these readings on the top) here - as a quote - and I will take a look at them.

Thanks.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #96 on: September 09, 2005, 12:04:19 AM »
@theOracle
could you point me what you mean with this update?
and the contenc of my quotation_send.php

Code: [Select]
<?php

while (list($textfeld$wert) = each ($HTTP_POST_VARS)) 
{
if (
preg_match("/Image_Name/"$textfeld)) { 
$inPHormer_msg .= "\n------------\n\n"

else ; 
$inPHormer_msg .= "$textfeld$wert\n";
}

//-------------------
// Edit the following

//this should point to your error page if something goes wrong, currently just goes to index.
$inPHormer_err "http://www.foto-kocher.com";

//this should point to your confirmation page (with a refresh to index.php), currently just goes to index.
$inPHormer_ok "http://www.foto-kocher.com/vda.php";

// Subject of email
// $inPHormer_subj = "Foto_Anfrage: ";
 
$inPHormer_subj "Foto_Anfrage von: ".$HTTP_POST_VARS['user_name']."";


// The email the form gets sent to
$inPHormer_mailTo "anfrage@foto-kocher.com";

// Who the email says it's from.  Updated to use the users login name and email (thanks to Chris).
$inPHormer_headSend "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";

//-------------------end edit

mail($inPHormer_mailTo$inPHormer_subj$inPHormer_msg$inPHormer_headSend);
header("Location: $inPHormer_ok");
?>
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #97 on: September 09, 2005, 12:17:09 AM »
Quote

could you point me what you mean with this update?


Here :

http://www.4homepages.de/forum/index.php?topic=9289.msg43918#msg43918

As for the quotation_send.php file, I cannot say since it used to work before and now it doesn't. It might simply be a server-side issue which is why it is imperative that you install my new version of the ' Global Server Information ' MOD.

Offline teszeract

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Email list of images in lightbox...
« Reply #98 on: September 09, 2005, 06:01:23 AM »
Here :

http://www.4homepages.de/forum/index.php?topic=9289.msg43918#msg43918

As for the quotation_send.php file, I cannot say since it used to work before and now it doesn't. It might simply be a server-side issue which is why it is imperative that you install my new version of the ' Global Server Information ' MOD.

Wonderful!! Now I can see where my problem lies! It says the following for me:

Quote from: PHP Server Information
• Your saved session path on your server could not be detected - which is bad since this option has been disabled from your ISP. It would be strongly recommended that you report this issue to your web hosting party and request this path to be enabled from his php.ini file.

• Your saved session path on your server has been set on read-only mode from your ISP - which is bad. It would be strongly recommended that you report this issue to your web hosting party and request this path to be writable from his php.ini file.

I will hunt down the variables for fixing this.

Thanks for the MOD.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #99 on: September 09, 2005, 11:22:41 AM »
Excellent. I'm glad you like it. 8)

Offline teszeract

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Email list of images in lightbox...
« Reply #100 on: September 12, 2005, 04:16:25 AM »
If no-one minds, I'll post my problem & solution here:

Problem: Your saved session path on your server could not be detected...

In my installation of PHP ; my php.ini file (/usr/local/php5/lib/php.ini) had the following line (line 936) commented out with a ;

session.save_path = "/tmp"

I deleted the ; and it seems to be good now.

Knowing very little about this stuff, I hope what I did is correct.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #101 on: September 12, 2005, 04:26:57 AM »
To make sure you won't take another risk like that, here's the documentation you should usually follow in the order to resolve a case like this in the future :

http://ca.php.net/session

and search for : "/tmp" in your browser query window.

;)

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: Email list of images in lightbox...
« Reply #102 on: September 28, 2005, 11:11:35 AM »
Hi!

two questions:
- I can't find the post with the description to add the link to the picture in the mail!
- Is it possible to add the usere's mailaddress (which is shown in the text) as sender of the mail?
  I think I have to do this in the quotation_send.php, but don't know how?

  // Who the email says it's from.  Updated to use the users login name and email (thanks to Chris).
  $inPHormer_headSend = "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";

--> with this, the mail shows no sender :-(.
Can someone help?

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #103 on: October 14, 2005, 04:47:55 PM »
Hello
i have the Problem - that it is working - and a couple of day after it is not working!
Is it possible to have done something to the server to make a sending not possible?
if yes what the admin (serverAdmin) would have to switch On so it is working again?

sending postcards and contact allways works!

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline geoffbryant

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.cfgphoto.com
Re: Email list of images in lightbox...
« Reply #104 on: October 20, 2005, 06:40:33 AM »
I find that many visitors get turned off by having to register and I've modified my site so that the registration process has been removed. Visitors can just use the lightbox without having to register but I can't get this mod, which I'd really like to have, to work properly when I try to remove its call to the lightbox registration notice.

Can anyone solve this problem and perhaps post a revised version of this lightbox email mod that covers all the tweaks mentioned in the 7 pages of posts so far? Having not come in at the start of the thread it can be difficult to follow up on the evolution of the code.

Thanks
Geoff Bryant