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

0 Members and 1 Guest are viewing this topic.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Email list of images in lightbox...
« Reply #15 on: January 19, 2003, 05:47:06 PM »
How is the english mod coming?

Offline jarmen

  • Newbie
  • *
  • Posts: 23
    • View Profile
Email list of images in lightbox...
« Reply #16 on: January 26, 2003, 08:28:44 PM »
Ok.  Here's a rough translation of Bernd's lightbox send mod (including the last email format).  Read the readme.txt included.

http://www.coolfront.com/english_translation.zip

Jarmen

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
what code to add
« Reply #17 on: January 27, 2003, 03:10:24 AM »
What code to add so this mood have checking fields  ,
before it sending  :lol:  :lol:

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Email list of images in lightbox...
« Reply #18 on: January 27, 2003, 04:41:34 AM »
Quote from: jarmen
Ok.  Here's a rough translation of Bernd's lightbox send mod (including the last email format).  Read the readme.txt included.

http://www.coolfront.com/english_translation.zip

Jarmen

Found a bug that produces a javascript error.  Find this in quotation.php:
Code: [Select]
<b>Distribution</b><br>
<input type=\"radio\" name=\"Distribution(".$running_number.")\" value=\"North_America\" onFocus=\"if(Angebotsanfrage.Distribution_Country(".$running_number.".value!='') Angebotsanfrage.Distribution_Country(".$running_number.".value=''\">
North America
<br>
<input type=\"radio\" name=\"Distribution(".$running_number.")\" value=\"Worldwide\" onFocus=\"if(Angebotsanfrage.Distribution_Country(".$running_number.".value!='') Angebotsanfrage.Distribution_Country(".$running_number.".value=''\">
Worldwide<br>

Change it to this:
Code: [Select]
<b>Distribution</b><br>
<input type=\"radio\" name=\"Distribution(".$running_number.")\" value=\"North_America\"
onFocus=\"if(Angebotsanfrage.Distribution_Country".$running_number.".value!='')
Angebotsanfrage.Distribution_Country".$running_number.".value=''\">
North America
<br>
<input type=\"radio\" name=\"Distribution(".$running_number.")\" value=\"Worldwide\"
onFocus=\"if(Angebotsanfrage.Distribution_Country".$running_number.".value!='')
Angebotsanfrage.Distribution_Country".$running_number.".value=''\">
Worldwide<br>

It's an unbalanced parentheses problem.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
How to place the user's actual email in the email from field
« Reply #19 on: January 27, 2003, 05:20:51 AM »
Want to use the user's registered name and email in the email from field?

Here's how to do it: (working against the english translation version)

1. Open quotation_send.php and change this:
Code: [Select]
$inPHormer_headSend = "From: imagerequest@yourdomain.com";
to this:
Code: [Select]
$inPHormer_headSend = "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";

2. Open quotation.php and change this:
Code: [Select]

  $thumbnails .= "<tr class=\"imagerow2\"><td width=\"100\"><b>Email</b></td><td><input type=\"text\" name=\"Email\" value=\"".$user_info['user_email']."\"></td>\n";

to this:
Code: [Select]

  $thumbnails .= "<tr class=\"imagerow2\"><td width=\"100\"><b>Email</b></td><td><input type=\"text\" name=\"user_email\" value=\"".$user_info['user_email']."\"></td>\n";


Also change this:
Code: [Select]

  $thumbnails .= "<tr class=\"imagerow1\"><td width=\"100\"><b>Registered Name</b></td><td><input type=\"text\" name=\"Registered Name\" value=\"".$user_info['user_name']."\"></td>\n";

to this:
Code: [Select]

  $thumbnails .= "<tr class=\"imagerow1\"><td width=\"100\"><b>Registered Name</b></td><td><input type=\"text\" name=\"user_name\" value=\"".$user_info['user_name']."\"></td>\n";


Now the emails sent will have a from field that looks like this:
Code: [Select]
From: BigMagazine [editor@bigmagazine.com]

EDIT:  Whada ya know?  :)  There really is a bigmagazine.com

Offline jarmen

  • Newbie
  • *
  • Posts: 23
    • View Profile
Email list of images in lightbox...
« Reply #20 on: January 27, 2003, 07:21:25 AM »
Thanks Chris for those fixes.  I sort of guessed there might be a problem with that slice of code, but i'm using a Mac and sometimes unless it jumps right at me, i'll overlook it...plus my complete lack of skill with JS. :wink:


I'll fix the version I posted above, including the user addin.

Jarmen

Offline jarmen

  • Newbie
  • *
  • Posts: 23
    • View Profile
Email list of images in lightbox...
« Reply #21 on: January 27, 2003, 08:00:20 AM »
Updated .zip with Chris's JS fix and the email format above.

http://www.coolfront.com/english_translation.zip

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Example of quotation.html page call
« Reply #22 on: February 10, 2003, 05:27:01 AM »
Could someone give an example of code to call the quotation.html page?

I tried using a normal href link, and the page that comes up when you click on it doesn't display correctly.  It seems like it can't interpret the php code.  I eventually tried copying renaming the lightbox.html page to quotation.html and still have the same problem.  Since the exact code works fine in one place, but not the other, I feel like it has to be in the link I am using to call the page.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Email list of images in lightbox...
« Reply #23 on: February 10, 2003, 05:45:29 AM »
Nevermind.  I figured out my problem.  You need to call quotation.php, not quotation.html

Offline Danones

  • Pre-Newbie
  • Posts: 4
    • View Profile
Email list of images in lightbox...
« Reply #24 on: February 21, 2003, 05:13:48 PM »
hey...ich lese gerade (wenn ich alles richtig übersetzt habe) dass hier fast alles zu stehen scheint wie man es umsetzt eine mail mit der liste der bilder im leuchtkasten zu erstellen...
habe mir gerade die seite der bildagentur angesehen und muss sagen bis auf wenige änderungen könnt ich das beinahe eins zu eins übernehmen...wäre doch bitte jemand so nett und könnte mir helfen oder einen tipp geben wie ich diese am besten umgesetzt kriege... bis später und ein schönes we

danones

Offline photovoyager

  • Pre-Newbie
  • Posts: 2
    • View Profile
error http://www.coolfront.com/english_translation.zip
« Reply #25 on: June 10, 2003, 03:12:24 AM »
Hello,

I tried to download the http://www.coolfront.com/english_translation.zip for the email lightbox file but it is the wrong URL. Can someone correct the URL or post another one here?

Thanks!
Bob

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
Email list of images in lightbox...
« Reply #26 on: June 10, 2003, 06:43:17 PM »
hi all,
whereof you´re talking about? i see anything, but no mod code at all...  :(
seems to be a top secret discussion? the link is also broken.
hmmm
or i don´t see the wood for the trees??
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #27 on: April 11, 2005, 02:55:41 PM »
i will it install it this evening!  :)
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #28 on: April 22, 2005, 08:23:15 AM »
also still waiting and hoping of help!
also the link is brocken!

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Saiman

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Email list of images in lightbox...
« Reply #29 on: May 11, 2005, 02:54:13 PM »
Hi Vincent,
did you install it? And does ist work?