4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: jarmen on December 13, 2002, 09:00:00 AM



Title: Email list of images in lightbox...
Post by: jarmen on December 13, 2002, 09:00:00 AM
Is it possible to create a mod that would allow a registered user to click a link to email the admin a list of images they have in their lightbox, possibly with a comment?  It just needs to have a simple comment field, then email the image names.

This script is all but perfect for my use except for that one feature.

Thanks, excellent job Jan


Title: Re: Email list of images in lightbox...
Post by: bernd on December 13, 2002, 10:20:21 AM
Quote from: jarmen   [Expand]
Is it possible to create a mod that would allow a registered user to click a link to email the admin a list of images they have in their lightbox, possibly with a comment?  It just needs to have a simple comment field, then email the image names.


Yeap, can be done. I did  so creating a sort of quotation form for the site (which is more than what you are asking for but stripping it down is always easy :) ). The user can with that form ask for an offer. I want to change it in the future so that it feeds into the database but right now a simple eMail is enough for us.

If you want to take a peek http://www.bildagentur-hamburg.com/ - only in German at the moment though. You have to register and then login and from the lightbox ("Leuchtkasten") you'll see a button "Angebot anfordern" ("ask for an offer"). Feel free to try that (yes, also click on "absenden" - just put something in one of the "bemerkung" boxes so that i know it's not real :) )

If this is basically what you need I can post the code here - be aware that it's dirty though and a couple of things are hard-wired where they maybe shouldn't.

cheers,
Bernd


Title: Very nice
Post by: Chris on December 13, 2002, 03:54:40 PM
Very nice site and mod Bernd !  (I like what you've done with the colors and layout.)

Could you post the code you modified for us?  

I'm a photographer who wants to allow publishers to collect images to a lightbox and then use a form, similar to the one you added, to email me a request for those images for their review.  

I'm also a programmer who can get around in PHP so I would be comfortable looking over and adapting what you've done.  Perhaps I can massage it to be more generic for others to use too if you don't mind.

Thanks for the insight.


Title: Great
Post by: jarmen on December 13, 2002, 04:20:22 PM
That's basically what i'm looking for too.  For stock art photography, people are looking at a lot of images.  It helps if they can select the ones they like than just be able to request those automatically plus some comments.  Can you share your code?

Josef


Title: here ya go
Post by: bernd on December 15, 2002, 10:24:08 AM
OK, first off thnx for the positive feedback. And a special thanks for asking about this thing as I had to go in to see how I actually did it and then find out that it was actually not working because I had a few links messed up ...
:oops:

Here's what I did: basically I took the lightbox.php, added/changed a few things and created a <form> around it which I send with PHP via mail. For this I make use of the PHP feature that when calling a PHP page via a <form> automatically variables are created and filled according to the fields in the <form>. This is actually the easiest part - it's not pretty but for the moment it works :) A nicer solution would be to feed it into the database and send a notification to the admin or something like that (for me that's phase 2 ...).
The HTML is created in the quotation.php with a while ... do loop for all images in the lightbox.

I've created a ZIP file with the files quotation.php (to be put into the 4images root), the quotation.html (to be put into the template folder), the quotation_send.php (the thing that creates the mail out of the <form>) - I did not include the quotation_ok.html nor the quotation_error.html as there is nothing special in there; the paths to them are to be found in the quotation_send.php, and I think they have to be hard coded. Download it from here (Edit: If you want to have the scripts please send me a PM as I want to keep a little bit track of who's getting it and who's not - there is one competitor in exactly our field who I don't want to be aware of this feature/script :? ).

So, I hope you'll find your way around. If you have questions or things are unclear (which wouldn't surprise me) please yell out! And Chris: feel free to massage it as much as you like (as long as we get the results presented but I don't think this needs to be mentioned, right? :-) )

One more remark: I've modified the user registration as you might've seen and the only reason (at least so far) is to automatically put these values into the quotation form when it's called. And there are definetly things in the quotation.php that don't need to be there and are just in there because it has been a lightbox.php once (i.e. I don't really know what they are there for so I rather let them be).

HTH and as I said if there are questions or things that need explanation/clarification please say so!
Bernd


Title: Thanks Bernd
Post by: jarmen on December 15, 2002, 07:37:31 PM
I'll try and mix it in later today.  It would be great if someone could, as you say 'massage' the script, and put it into a packaged .zip with install directions. My PHP is limited so I can try what I can.  I'll let you know my results.  Thanks again.

Josef


Title: Is there any engglish version about this mood??
Post by: mantra on December 28, 2002, 03:43:16 PM
Is there any engglish version about this mood??  :wink:

Chris have you try already ??


Title: Email list of images in lightbox...
Post by: jarmen on December 28, 2002, 06:24:10 PM
As soon as I get everything re-packaged I'll post my translated version (if Bernd doesn't mind).

J


Title: Email list of images in lightbox...
Post by: bernd on December 29, 2002, 01:13:17 AM
Quote from: jarmen   [Expand]
As soon as I get everything re-packaged I'll post my translated version (if Bernd doesn't mind).


Feel free to do so - every contribution is well appreciated :)

cheers,
Bernd


Title: Email list of images in lightbox...
Post by: jarmen on December 31, 2002, 05:34:32 AM
Bernd,

Can you give me some advice on how to better format the email that is sent?  Maybe adding some spaces between the requested images, etc...

thanks


Title: Cool
Post by: Chris on December 31, 2002, 03:09:17 PM
Any progress on the translation / repackaging?


Title: I hope
Post by: mantra on January 01, 2003, 01:40:51 AM
First I think format email can have template [ this will be great ]
or adding some spaces between the requested images [ like you said ]

and validation script [ java or php ] to check all field before sending the request
The best feature I hope is separate the database between lightbox and this mood so we can make new button in detail page as this mood, the user don’t lose the image in their lightbox if they delete in quotation.

BTW this mood I try already and fined no error

Thanks Bernd
 :wink:  :wink:


Title: Email list of images in lightbox...
Post by: bernd on January 02, 2003, 06:03:33 PM
Quote from: jarmen   [Expand]
Can you give me some advice on how to better format the email that is sent?  Maybe adding some spaces between the requested images, etc...


Hmm, the part to edit (in the quotation_send.php obviously) would be here
1
2
while (list($textfeld, $wert) = each ($HTTP_POST_VARS))
$inPHormer_msg .= "$textfeld: $wert\n";


I'm have no real clue about PHP but this is something that works
1
2
3
4
5
6
7
8
while (list($textfeld, $wert) = each ($HTTP_POST_VARS))
{
if (preg_match("/Bildnr/", $textfeld)) {
$inPHormer_msg .= "\n------------\n\n";
}
else ;
$inPHormer_msg .= "$textfeld: $wert\n";
}


Replace the part Bildnr with the name of the variable before which you want to have the dashes and the extra line breaks (is this understandable?). Anyway, output now looks like this for me
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[..]
Angebot_via: email

------------

Bildnr_1: 011-10-02
Verwendungszweck_1: z.B. Plakate
Abb_Breite_1:
Abb_Hoehe_1:
Plazierung_1: innen
Auflage_1:
Verbreitung_1: Land
Verbreitungsland_Bezeichnung_1: Deutschland
Nutzungsdauer_1: 1 Jahr
Andere_Nutzungsdauer_1:
Branchensperre_1: nein
Bemerkung_1:

------------

Bildnr_2: 040-10-23
Verwendungszweck_2: z.B. Plakate
Abb_Breite_2:
Abb_Hoehe_2:
Plazierung_2: innen
Auflage_2:
Verbreitung_2: Land
Verbreitungsland_Bezeichnung_2: Deutschland
Nutzungsdauer_2: 1 Jahr
Andere_Nutzungsdauer_2:
Branchensperre_2: nein
Bemerkung_2:
[..]


Or you create an HTML mail and put each image data into one neat table (or you could also put image links that link to thumbnails in there) ... thy sky's the limit :lol:
I stick to the solution I have here right now - next step IMHO should be to not send the stuff via mail but store it in the database and have a page where the admin looks up all the lists.

HTH + cheers,
Bernd


Title: Any progress
Post by: jengwen on January 09, 2003, 06:41:27 PM
Any progress made on this yet?  I would love to add this functionality to my web page.  Thanks!


Title: Email list of images in lightbox...
Post by: Chris on January 09, 2003, 08:18:58 PM
Quote from: jarmen   [Expand]
Can you give me some advice on how to better format the email that is sent?  Maybe adding some spaces between the requested images, etc

I suggest you look at phorm from www.phorm.com  It's a very flexible and powerful php form handler.  With it you can easily set the HTML format of emails that get sent.


Title: Email list of images in lightbox...
Post by: jengwen on January 19, 2003, 05:47:06 PM
How is the english mod coming?


Title: Email list of images in lightbox...
Post by: jarmen 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


Title: what code to add
Post by: mantra on January 27, 2003, 03:10:24 AM
What code to add so this mood have checking fields  ,
before it sending  :lol:  :lol:


Title: Email list of images in lightbox...
Post by: Chris on January 27, 2003, 04:41:34 AM
Quote from: jarmen   [Expand]
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:
1
2
3
4
5
6
<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:
1
2
3
4
5
6
7
8
9
10
<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.


Title: How to place the user's actual email in the email from field
Post by: Chris 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:
1
$inPHormer_headSend = "From: imagerequest@yourdomain.com";

to this:
1
$inPHormer_headSend = "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";


2. Open quotation.php and change this:
1
2

  $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:
1
2

  $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:
1
2

  $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:
1
2

  $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:
1
From: BigMagazine [editor@bigmagazine.com]


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


Title: Email list of images in lightbox...
Post by: jarmen 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


Title: Email list of images in lightbox...
Post by: jarmen 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


Title: Example of quotation.html page call
Post by: jengwen 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.


Title: Email list of images in lightbox...
Post by: jengwen on February 10, 2003, 05:45:29 AM
Nevermind.  I figured out my problem.  You need to call quotation.php, not quotation.html


Title: Email list of images in lightbox...
Post by: Danones 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


Title: error http://www.coolfront.com/english_translation.zip
Post by: photovoyager 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!


Title: Email list of images in lightbox...
Post by: lutz 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??


Title: Re: Email list of images in lightbox...
Post by: Vincent on April 11, 2005, 02:55:41 PM
i will it install it this evening!  :)


Title: Re: Email list of images in lightbox...
Post by: Vincent on April 22, 2005, 08:23:15 AM
also still waiting and hoping of help!
also the link is brocken!

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: Saiman on May 11, 2005, 02:54:13 PM
Hi Vincent,
did you install it? And does ist work?


Title: Re: Email list of images in lightbox...
Post by: Vincent on May 11, 2005, 06:19:18 PM
until know new - i have another problem with a file  :oops: , i first have to find the problem then install the next mod!

 :roll: sorry vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 12, 2005, 11:57:22 PM
ok i installed it but it is not working - i belive something is missing!
also i am confused because in the readme.txt file it is written to use it you have to call up quotation.html
and this seems wrong to me!

in this zip file are also some .DS_Store file - whats that :?:

vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 14, 2005, 11:48:41 PM
still need help


Title: Re: Email list of images in lightbox...
Post by: V@no on July 15, 2005, 12:45:30 AM
Vincent, did u read the instructions on first page?


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 15, 2005, 07:23:13 AM
v@no
i would say yes - BUT - it is english so maybe i missed something! as example i did not get it about the phorm do i have to install something?

vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 26, 2005, 10:58:57 PM
OK it is running - i have got one problem
i should also know the filename, i have a lot of fotos with the same name!

with this link you will see a request which give out a Pict_ID and the fileName without extension
http://www.4homepages.de/forum/index.php?topic=7904.0
how it works you could see on my page - go to a detail picture and just below the picture you have this information
----
the Problem i have i should be adding this information on this MOD!

could somebody help

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 30, 2005, 12:44:07 AM
Thanks for TheOracle he gave me the information i needed!    :wink:

vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on July 30, 2005, 12:54:56 AM
Quote  [Expand]

Thanks fot TheOracel he gave me the information i needed!


No problem. ;)


Title: Download the Mod?
Post by: nika2000 on July 30, 2005, 04:28:25 PM
Hi!

Can I download this mod anywhere?
I can't find a link and http://www.coolfront.com/english_translation.zip doesn't work :-(


Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 31, 2005, 12:00:12 AM
Nika2000

here it is!

vincent


Title: Re: Email list of images in lightbox...
Post by: nika2000 on July 31, 2005, 12:02:25 AM
Danke schön!

Werde morgen mal mein Glück probieren :-)

Gute Nacht!

Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 31, 2005, 12:13:08 AM
war harzig aber es läuft bei mir!

gruss
vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on July 31, 2005, 02:49:10 PM
Hello
i would like to have a small change - i would like to see in the subject how send this requst

// Subject of email
$inPHormer_subj = "Foto_Anfrage: ";

so behind the foto_anfrage i would like to have the name

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on July 31, 2005, 02:54:59 PM
Replace :

Quote  [Expand]

$inPHormer_subj = "Image Request - Stock Photos";


with :

1
2
3

$inPHormer_subj = "Image Request - Stock Photos by: ".$HTTP_POST_VARS['user_name']."";



Title: Re: Email list of images in lightbox...
Post by: Vincent on July 31, 2005, 02:57:17 PM
@theOracle
Yep thanks a lot it works!

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on July 31, 2005, 05:29:16 PM
// [Modifications] - Universal languages presentation from quotation.php file.

// Features.

- Allows your customers to understand the quotation form in their proper language rather than remaining on a single language mixed with others (which results questionning from your customers).

// Affected files.

- quotation.php
- main.php (each of them)

// Preparation of steps.

- Make a backup of quotation.php file and all your included main.php files.

// Step 1.

In quotation.php file,

find :

Quote  [Expand]

<b>Registered Name</b>


replace with :

1
2
3

<b>".$lang['registered_name']."</b>


Then, find :

Quote  [Expand]

Company</td>


replace with :

1
2
3

".$lang['company_name']."</td>


Then, find :

Quote  [Expand]

<b>Full Name</b>


replace with :

1
2
3

<b>".$lang['full_name']."</b>


Then, find :

Quote  [Expand]

Address</td>


replace with :

1
2
3

".$lang['address_field']."</td>


Then, find :

Quote  [Expand]

Telephone</td>


replace with :

1
2
3

".$lang['phone_number']."</td>


Then, find :

Quote  [Expand]

City</td>


replace with :

1
2
3

".$lang['iptc_city']."</td>


Then, find :

Quote  [Expand]

<b>Email</b>


replace with :

1
2
3

<b>".$lang['email']."</b>


Then, find :

Quote  [Expand]

State</td>


replace with :

1
2
3

".$lang['iptc_state']."</td>


Then, find :

Quote  [Expand]

Fax</td>


replace with :

1
2
3

".$lang['fax_number']."</td>


Then, find :

Quote  [Expand]

Country</td>


replace with :

1
2
3

".$lang['iptc_country']."</td>


Then, find :

Quote  [Expand]

Angebot per</td>


replace with :

1
2
3

".$lang['optional_fields']."</td>


Then, find :

Quote  [Expand]

checked> eMail


replace with :

1
2
3

checked> ".$lang['email']."


Then, find :

Quote  [Expand]

value=\"fax\"> Fax.


replace with :

1
2
3

value=\"fax\"> ".$lang['fax_number']."


Then, find :

Quote  [Expand]

value=\"post\"> Post


replace with :

1
2
3

value=\"post\"> ".$lang['postal_code']."


Then, find :

Quote  [Expand]

Telefon


replace with :

1
2
3

".$lang['phone_number']."


Then, find :

Quote  [Expand]

<b>Intended Usage</b>


replace with :

1
2
3

<b>".$lang['intended_usage']."</b>


Then, find :

Quote  [Expand]

Commercial<br>


replace with :

1
2
3

".$lang['commercial_order']."<br>


Then, find :

Quote  [Expand]

Personal<br>


replace with :

1
2
3

".$lang['personal_order']."<br>


Then, find :

Quote  [Expand]

<br>Short Description


replace with :

1
2
3

<br>".$lang['short_description']."


Then, find :

Quote  [Expand]

<b>Size Requirements</b><br>


replace with :

1
2
3

<b>".$lang['size_requirements']."</b><br>


Then, find :

Quote  [Expand]

<b>Image Placement</b>


replace with :

1
2
3

<b>".$lang['image_placement']."</b>


Then, find :

Quote  [Expand]

Editorial<br>


replace with :

1
2
3

".$lang['editorial_title']."<br>


Then, find :

Quote  [Expand]

Advertisement<br>


replace with :

1
2
3

".$lang['advertisement_title']."<br>


Then, find :

Quote  [Expand]

Other<br>


replace with :

1
2
3

".$lang['other_statement']."<br>


Then, find :

Quote  [Expand]

Composite


replace with :

1
2
3

".$lang['composite_title']."


Then, find :

Quote  [Expand]

Original


replace with :

1
2
3

".$lang['original_statement']."


Then, find :

Quote  [Expand]

<b>Media Name/Edition</b>


replace with :

1
2
3

<b>".$lang['media_name_edition']."</b>


Then, find :

Quote  [Expand]

<b>Distribution</b>


replace with :

1
2
3

<b>".$lang['distribution_title']."</b>


Then, find :

Quote  [Expand]

North America


replace with :

1
2
3

".$lang['country_north_america']."


Then, find :

Quote  [Expand]

Worldwide<br>


replace with :

1
2
3

".$lang['worldwide_title']."<br>


Then, find :

Quote  [Expand]

Specific Country


replace with :

1
2
3

".$lang['specific_country']."


Then, find :

Quote  [Expand]

<b>Usage duration</b>


replace with :

1
2
3

<b>".$lang['usage_duration']."</b>


Then, find :

Quote  [Expand]

1 Year Non-exclusive


replace with :

1
2
3

".$lang['year_exclusive']."


Then, find :

Quote  [Expand]

Unlimited


replace with :

1
2
3

".$lang['unlimited_statement']."


Then, find :

Quote  [Expand]

Other (specify below)


replace with :

1
2
3

".$lang['other_below']."


Then, find :

Quote  [Expand]

<b>Additional Comments</b>


replace with :

1
2
3

<b>".$lang['additional_comments']."</b>


// Step 2.

Assuming you're using the english language (or simply included on the list - if not defaultly set) - then, in your lang/english/main.php file,

find :

Quote  [Expand]

?>


add above :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

//-------------------------------------------------------------
//--- Quotation form ------------------------------------------
//-------------------------------------------------------------
$lang['registered_name'] = "Registered name";
$lang['company_name'] = "Company name";
$lang['full_name'] = "Full name";
$lang['address_field'] = "Address";
$lang['phone_number'] = "Phone number";
$lang['fax_number'] = "Fax number";
$lang['postal_code'] = "Postal code";
$lang['optional_fields'] = "Optional fields";
$lang['intended_usage'] = "Intended usage";
$lang['commercial_order'] = "Commercial";
$lang['personal_order'] = "Personal";
$lang['short_description'] = "Short description";
$lang['size_requirements'] = "Size requirements";
$lang['image_placement'] = "Image placement";
$lang['editorial_title'] = "Editorial";
$lang['advertisement_title'] = "Advertisement";
$lang['other_statement'] = "Other";
$lang['composite_title'] = "Composite";
$lang['original_statement'] = "Original";
$lang['media_name_edition'] = "Media name / Edition";
$lang['distribution_title'] = "Distribution";
$lang['country_north_america'] = "North America";
$lang['worldwide_title'] = "Worldwide";
$lang['specific_country'] = "Specific country";
$lang['usage_duration'] = "Usage duration";
$lang['year_exclusive'] = "1 Year Non-exclusive"; // Specify the year time if the number showing is incorrect for your case.
$lang['unlimited_statement'] = "Unlimited";
$lang['other_below'] = "Other (specify below)";
$lang['additional_comments'] = "Additional comments";


// Modifications completed.

- This completes the modifications of this MOD. Assuming you did backuped these two files - as mentionned on the top of these instructions - you can now test your quotation page to see if everything is in order.

// Additional notes.

- If you did installed other MODs - related to additional user fields (such as : full name, address, company name ect . . .) - make sure that you do not add these fields twice to avoid conflicts during the load up.


Title: Noch ein paar Fragen...
Post by: nika2000 on August 01, 2005, 09:05:30 AM
Hallo zusammen!

Ich hab gestern mal die engl. Version ausprobiert und hab jetzt noch ein paar Fragen:
- gibts irgendwo noch die ursprüngliche Deutsche Version zum runter laden (dann müsste ich nicht alles wieder zurück übersetzen :-))?
- Was muss ich noch tun, damit eine Bestätigungs- oder Fehlernachricht nach dem Senden auf dem Bildschirm erscheint?
- Gibt's irgendwo den Quellcode zur Anfrage eines bestimmten Bildes, das nicht in der Lightbox liegt? Ist auf   
  http://www.bildagentur-hamburg.com/hh/ so zu sehen. Dazu muss man auch nicht registriert sein...

Liebe Grüße,
Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 01, 2005, 11:24:37 AM
in der Datei quotation_send.php hast du die folgende angaben:

1
2
3
4
5
6
7
// 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";

$inPHormer_ok = "http://www.foto-kocher.com/vda.php  hab ich so angepasst - es geht auf eine Kreierte Datei mit einem refresch
auf die lightbox.php

http://www.foto-kocher.com/vda.php teste mal - nach dem refresh bekommst du eine fehler meldung aber dann verstehst du was ich meine?

gruss
vincent


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 02, 2005, 09:26:15 AM
ok, das funktioniert.... Danke!

Zu meinen anderen Fragen weiß niemand etwas???

- gibts irgendwo noch die ursprüngliche Deutsche Version zum runter laden (dann müsste ich nicht alles wieder zurück übersetzen Smile)?
- Gibt's irgendwo den Quellcode zur Anfrage eines bestimmten Bildes, das nicht in der Lightbox liegt? Ist auf   
  http://www.bildagentur-hamburg.com/hh/ so zu sehen. Dazu muss man auch nicht registriert sein...

LG
Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 02, 2005, 10:06:39 AM
the Oracle hat eine Möglichkeit geschaffen damit es Multilingual ist. wäre fast besser und zukunftsträchtiger!

gruss
vincent


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 02, 2005, 10:53:08 AM
Ja, aber selbst da geht's bei mir nicht?!

Ich hab sicher nen falschen Link eingebunden.
Das ist ja alles eine html. und wenn die action= lw soll der Link zu den führenden angezeigt werden und umgekehrt....
Verstehst Du, was ich meine?

LG
Nika2000


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 02, 2005, 02:33:55 PM
Quote  [Expand]

a, aber selbst da geht's bei mir nicht?!

Ich hab sicher nen falschen Link eingebunden.
Das ist ja alles eine html. und wenn die action= lw soll der Link zu den führenden angezeigt werden und umgekehrt....
Verstehst Du, was ich meine?


Would you mind explaining this problem in english ? Perhaps I could be of assistance. ;)


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 02, 2005, 02:56:10 PM
Oooops.... wrog post in wrog Topic, I'm sorry!  :oops:

But perhaps You can help me with my other querstions in this topic:
- I was searching fpr a downloadlink for the origianl (german) version of this mod
- and the "mod of this mod" that you can quote a picture from the detail.php and it's not in your lightbox?!
  I saw this on  http://www.bildagentur-hamburg.com/hh/

Greetings Nika2000


Title: Re: Email list of images in lightbox...
Post by: Saiman on August 05, 2005, 05:53:11 PM
Ich habs jetzt soweit angepasst das es für mich geht, aber jetzt steh ich am Schlauch.
Er muß mir in der Mail unbedingt mitteilen in welcher Kategorie das ausgewählte Bild ist. Ich stell mich grad zu doof an und kriegs nicht gebacken.
Gut wäre die ID der Kategorie noch besser wäre der Name.

Hilft mir mal bitte wer weiter ;-)


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 05, 2005, 11:27:50 PM
@saiman
english would be better to write - so TheOracle would help you!
---
he would like to have added the Category in the Email / Name or Categorie ID

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 05, 2005, 11:32:14 PM
Ahh ! yes. Now it's clearer. ;)

Since this request sounds interesting, evaluations will be made as the results will be posted shortly if successful.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 05, 2005, 11:53:06 PM
Ok, testing has been done on this addition. The following is for showing the category name with the image name the user selected in your confirmation e-mail message.

In your quotation.php file,

find :

Quote  [Expand]

<input type=\"hidden\" name=\"Image_Name(".$running_number.")\" value=\"".$image_row['image_name']."\">


add "below" :

1
2
3

<input type=\"hidden\" name=\"Category_Name(".$running_number.")\" value=\"".$image_row['cat_name']."\"><br>


;)


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 06, 2005, 04:08:56 PM
Update: August 7th, 2005.

<< Post has been modified to due failure. >>


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 06, 2005, 10:05:29 PM
 :wink: and now houres of testing!  :wink:

vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 06, 2005, 10:19:33 PM
How's the result coming ? ;)


Title: Re: Email list of images in lightbox...
Post by: Alex01 on August 07, 2005, 04:15:37 AM
Hello,

can you add to the mail the direct link to the image (http://www.page.com/data/media/1/big01.jpg)?

Thanks


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 04:29:34 AM
I could but it would just take longer to code and this method would be unsecured. It would be best to keep my recent post as it is. Meaning, it is not a recommended technic. Besides, you can still click on the URL and view the picture as it if were like the original source link. ;)


Title: Re: Email list of images in lightbox...
Post by: Alex01 on August 07, 2005, 01:48:52 PM
But the link does't work for me. The link ist not in the sendet mail.  :?

And can you do it so that the ful images where in the mail sendet? :roll:


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 02:05:21 PM
Quote  [Expand]

But the link does't work for me. The link ist not in the sendet mail.


Hum, I did not see this report before. Perhaps it is a matter of ' waiting ' before posting the results ?

1 - As you can see above, I was waiting for the answers regarding it's functionnality.
2-  No specific details are being mentionned about the failure of showing the URL. Is it "only" the URL that's not showing or that entire line is gone ?

Quote  [Expand]

And can you do it so that the ful images where in the mail sendet?


I'm not sure I get this one either.

Please be specific in the future.  :?


Title: Re: Email list of images in lightbox...
Post by: Alex01 on August 07, 2005, 02:33:48 PM
I become that to the mail but not the link to the gallery:

------------
Image_Name(1): ghjgjg
Intended_Usage_general(1): Personal
Additional_Comments(1): &#154;&#154;ddddddd
------------

Quote  [Expand]
And can you do it so that the ful images where in the mail sendet?

That the link and the big picture from the galery are add to the mail (the picture as a enclosure).



Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 02:55:20 PM
Quote  [Expand]

That the link and the big picture from the galery are add to the mail


That was the main idea in the first place . . .

So the image name is still showing up but the URL doesn't show up at all - right ?


Title: Re: Email list of images in lightbox...
Post by: Alex01 on August 07, 2005, 02:58:30 PM
Yes, the name is but the link not.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 03:01:00 PM
Thanks for the update. There was a slight mistake in the remplacement code. My post has just been updated. Try it now and, please - this time, post the results.


Title: Re: Email list of images in lightbox...
Post by: Alex01 on August 07, 2005, 03:34:44 PM
Now the cat name is working fine but the link to the image stil not.

Quote  [Expand]
<a href=\"".$site_sess->url(ROOT_PATH."details.php?image_id=".$image_row['image_id'])."\" target=\"_blank\"><input type=\"hidden\" name=\"Image_Name(".$running_number.")\" value=\"".$image_row['image_name']."\"></a>


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 03:53:14 PM
In that case, PM me for more evaluations.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 07, 2005, 05:48:28 PM
This problem will be looked up closely for this particular feature. Stay tuned for more info . . .


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 10, 2005, 11:01:19 PM
Hi!

I have two problems with this mod:
1. the mail I get has no sender! In quotation_send.php there is the following entry:
  $inPHormer_headSend = "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";

  ->  is this wrong?

2. How can I create some line breaks in the text of the Mail?
   I'd like to have a line break after each picture....

Greetings
Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 11, 2005, 08:26:36 PM
about 1)
no sender in the code is normal!
the sender email adress is added after!

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 12, 2005, 10:13:19 AM
Noone has an idea how to format the mail for the admin?


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 12, 2005, 02:47:30 PM
in the quoatition_send.php is the send to email adress

// The email the form gets sent to
$inPHormer_mailTo = "youremail@email.com";

there you put your adminemail

vincent


Title: Re: Email list of images in lightbox...
Post by: nika2000 on August 12, 2005, 02:54:31 PM
neee, ich wollte wissen, ob ich den Text in der Mail irgendiwe formattieren kann.
Hab aber inzwischen rausgefunden, wo das Problem lag, ich hatte ne gemischte Englisch/Deutsch - Version.
Jetzt macht er mir brav die Zeilenumbrüche nach jedem Bild :-)

LG
Nika2000


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 22, 2005, 11:32:04 PM
 :(  Hallo
also bei mir hat der MOD perfekt funktioniert! Aber seit ein paar tagen funktioniert das versenden nicht mehr - leider aber auch ohne Fehlermeldung! ich weiss nur das beim Submit der Anfrage es extrem lange geht - dann ist es "fertig" und ich werde über ein dankes-Page  zurück zum lightbox.php geleitet was auch richtig ist. leider kommt die anfrage aber nie an - obwohl die email stimmt!

 :( Hello
I had thsi MOD and worked perfect - but since a couple of day it finished working - and i don't know why!
i can select picture have a lightbox - then going to the quotation.php still works - but after i subit - the submit prozess wil be realy slow - then as it should be come up a thankyou-page then back to the lightbox.php - but the request never came to the email - the email is right allready checked

so thanks for help
vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 23, 2005, 05:01:39 AM
Quote  [Expand]

can select picture have a lightbox - then going to the quotation.php still works - but after i subit - the submit prozess wil be realy slow - then as it should be come up a thankyou-page then back to the lightbox.php - but the request never came to the email - the email is right allready checked


PM me for further evaluations of this issue Vincent (with this quote). Perhaps there a slight error in quotation.php file.


Title: Re: Email list of images in lightbox...
Post by: Vincent on August 23, 2005, 09:01:02 AM
my quotation.php renamed as txt file

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on August 23, 2005, 12:35:12 PM
I ... already have the file. Which is why, I'm asking you to PM for further instructions. Once the error will be found, it will be posted on this topic.


Title: Re: Email list of images in lightbox...
Post by: Vincent on September 03, 2005, 03:26:28 PM
still no idee what is the problem?


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 03, 2005, 03:39:09 PM
I, still, haven't heard from you on PM . . .


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 04, 2005, 01:25:24 PM
Update:

It would seems that 4images's e-mail module is not extensively programmed enough to go through my SMTP Auth server - which results failure to send e-mails from anywhere on the script.

In order to test this out, I'd need another e-mail server where I could rely to and test this MOD myself. This way, I could post the corrections (if there are any).


Title: Re: Email list of images in lightbox...
Post by: Vincent on September 04, 2005, 02:00:21 PM
but sending Postcards work!
is it not the same module?

vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 04, 2005, 02:02:32 PM
No matter from which MOD you use, it is all related from the same general e-mail functions. Unfortunitely, I can't use any of them due to the current modulations of includes/email.php file. It needs to be re-worked out in order, for me, to work successfully. Otherwise, I cannot try this MOD.


Title: Re: Email list of images in lightbox...
Post by: jkn on September 06, 2005, 02:03:38 PM
hmm.. i've got the following error after i'm installing this mod:

Quote  [Expand]
Parse error: parse error, unexpected '<' in /home/www/html/images/includes/template.php(133) : eval()'d code on line 200

?? but there are no changes in template.php and this file have no line 200!???

 :(

jkn


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 07, 2005, 12:10:56 AM
I assume you use 4images v1.71 ? If so, please read the FAQs in order to resolve this problem.

Thanks.


Title: Re: Email list of images in lightbox...
Post by: jkn on September 07, 2005, 03:47:01 PM
NO! it's 1.7 .. but i solve my problem...!  :wink:

jkn


Title: Re: Email list of images in lightbox...
Post by: Vincent on September 07, 2005, 07:17:55 PM
@jkn
please tell how you fix it - maybe somebody else could get the same error!

vincent


Title: Re: Email list of images in lightbox...
Post by: teszeract on September 07, 2005, 11:23:58 PM
Because the quotation_send.php does not work for me, I hacked it use PHPFormMail. I'm not sure what differs in the method between the two, but PHPFormMail just works for me. I am on OS X 10.4, PHP Version 5.0.4, Apache 1.3.

Anyone who has this working with the original quotation_send.php, I'd love to see the output email...

With out of the box PHPFormMail, it's pretty ugly:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Below is the result of your feedback form.  It was submitted by
email@example.com on September 8th, 2005 at 09:20AM (NZST).
Company: Tester Co LTD
Full_Name: Mr Tester
Address: Testing Avenue
City: Testville
user_email: xxx@xxx.com
Country: Testoserone
Image_Name(1): 2004 069
Intended_Usage_general(1): Personal
Intended_Usage(1): It's Personal
Width(1): 10
Height(1): 10
Image_Placement(1): Composite
Media_Name/Edition(1): TestMag
Distribution(1): Worldwide
Usage_duration(1): Unlimited
Additional_Comments(1): None
Image_Name(2): 2004 070
Image_Placement(2): Editorial
Usage_duration(2): 1 Year Non-exclusive
Image_Name(3): 2004 071
Image_Placement(3): Editorial
Usage_duration(3): 1 Year Non-exclusive
Image_Name(4): Photo of Display
Image_Placement(4): Editorial
Usage_duration(4): 1 Year Non-exclusive
submit: Submit
email: email@example.com


-------- Env Report --------
REMOTE_HOST:
REMOTE_ADDR: 192.168.1.2
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050324 Firefox/1.0.2

edit: oh yeah, 4images 1.7.1



Title: Re: Email list of images in lightbox...
Post by: teszeract 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.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 07, 2005, 11:58:04 PM
Quote  [Expand]

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. ;)


Title: Re: Email list of images in lightbox...
Post by: teszeract on September 08, 2005, 01:33:44 AM
Quote  [Expand]

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.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 08, 2005, 01:53:52 AM
Quote  [Expand]

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  [Expand]

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. ;)


Title: Re: Email list of images in lightbox...
Post by: Vincent 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


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 08, 2005, 11:38:38 PM
Quote  [Expand]

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.


Title: Re: Email list of images in lightbox...
Post by: Vincent 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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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");
?>


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 09, 2005, 12:17:09 AM
Quote  [Expand]

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.


Title: Re: Email list of images in lightbox...
Post by: teszeract 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   [Expand]
• 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.


Title: Re: Email list of images in lightbox...
Post by: TheOracle on September 09, 2005, 11:22:41 AM
Excellent. I'm glad you like it. 8)


Title: Re: Email list of images in lightbox...
Post by: teszeract 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 (http://www.entropy.ch/software/macosx/) 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.


Title: Re: Email list of images in lightbox...
Post by: TheOracle 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.

;)


Title: Re: Email list of images in lightbox...
Post by: nika2000 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?


Title: Re: Email list of images in lightbox...
Post by: Vincent 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


Title: Re: Email list of images in lightbox...
Post by: geoffbryant 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


Title: Re: Email list of images in lightbox...
Post by: Vincent on November 09, 2005, 10:44:59 PM
Hello
still have the problem - but i found out that the sendig prozess is diferent in this (quotation_send.php)  then in the send Postcart or send coment!
the help i hope is somebody could modifie this mod to use a different sending prozess!

sincerly
vincent


Title: Re: Email list of images in lightbox...
Post by: Acidgod on November 10, 2005, 10:45:38 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

remove following code in the quotation.php

if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
  show_error_page($lang['lightbox_register']);
}

hope that is what you meen...


Title: Re: Email list of images in lightbox...
Post by: Acidgod on November 10, 2005, 10:48:16 AM
Hello
still have the problem - but i found out that the sendig prozess is diferent in this (quotation_send.php)  then in the send Postcart or send coment!
the help i hope is somebody could modifie this mod to use a different sending prozess!

sincerly
vincent

Ich mache es wieder auf deutsch, englisch ist mir auf dauer doch zu hart... (o:

Also Du konntest erst Mails versenden und aufeinmal läuft das nicht mehr?
Würde mich eigentlich stark wundern... (o:


Title: Re: Email list of images in lightbox...
Post by: Vincent on November 17, 2005, 03:23:07 PM
nach einem Reboot des Servers erscheint folgender Fehler - wie kann ich das beheben?
--------------------
array(23) { ["user_name"]=> string(14) "Vincent Kocher" ["Company"]=> string(0) "" ["Full_Name"]=> string(0) "" ["Address"]=> string(0) "" ["Telephone"]=> string(0) "" ["City"]=> string(0) "" ["user_email"]=> string(23) "vkocher@foto-kocher.com" ["State"]=> string(0) "" ["Fax"]=> string(0) "" ["Country"]=> string(0) "" ["Image_Name(1)"]=> string(28) "Chemin pedestre in Freibourg" ["Image_ID(1)"]=> string(4) "4909" ["Image_file_name(1)"]=> string(10) "VT5626.JPG" ["Intended_Usage(1)"]=> string(0) "" ["Width(1)"]=> string(0) "" ["Height(1)"]=> string(0) "" ["Image_Placement(1)"]=> string(9) "Editorial" ["Media_Name/Edition(1)"]=> string(0) "" ["Distribution_Country(1)"]=> string(0) "" ["Usage_duration(1)"]=> string(20) "1 Year Non-exclusive" ["Other_Usage_Required(1)"]=> string(0) "" ["Additional_Comments(1)"]=> string(0) "" ["submit"]=> string(6) "Submit" }


Title: Re: Email list of images in lightbox...
Post by: Vincent on November 20, 2005, 05:18:36 PM
@Lutz antwort auf PM
nicht halbgeheim - bloss war das auf der seite 3 ein kompliziertes suchen nach einem nicht auftauchenden Fehler, aber eben es ging nicht!
Unterdessen wurde das Problem erkannt - es geht darum das Contact - Postkarten - anmeldung - Passwort anfrage über den SMTP Server laufen -
Dieser MOD läuft aber nicht über den SMTP Server  - sondern über einen Localhost - welcher aber aus Security und Spam gründen von den meisten anbieter abgestellt wird.

gruss
vincent


Title: Re: Email list of images in lightbox...
Post by: lutz on November 20, 2005, 06:39:37 PM
Ok, danke für die Antwort!

Damit alle anderen auf dem laufenden bleiben:
Ich hatte Vincent gefragt, ob da noch eine mailer-engine installiert werden muß, da es beim absenden (submit) bei mir einen server-error (500) gibt.

Mit der Antwort kann ich leider gar nich so viel anfangen, da meine 4images-Mailfunktionen tadellos funktionieren, sowohl ohne als auch mit smtp...

Ich kapiere nicht ganz, wie die quotation_send.php überhaupt den mailserver anspricht, denn die email.php wird ja gar nicht in Anspruch genommen, richtig?
Gibt es etwas, was ich meinen Provider fragen kann?

Quote  [Expand]
- sondern über einen Localhost -
das ist sehr allgemein...

Lutz

P.S.: mein Archiv ist noch in Arbeit, deswegen gips noch keine url...  :wink:



Title: Re: Email list of images in lightbox...
Post by: elcorazon on December 27, 2005, 08:06:25 AM
Hello,

The message which I do obtain with the version 1,7 which to make? 


Parse error: parse error, unexpected ':' in /home/g/galeriephotos/www/4images/includes/template.php(133) : eval()'d code on line 204

On the version 17,1 which is well


Title: Re: Email list of images in lightbox...
Post by: V@no on December 27, 2005, 08:24:10 AM
If you dont mind, would post a link to the page where you took the code from?


Title: Re: Email list of images in lightbox...
Post by: elcorazon on January 16, 2006, 07:20:33 PM
If you dont mind, would post a link to the page where you took the code from?

Afflicted, :oops:
 It is with much delay that I answers, the problem is regulated, that come from the file quotation.html.  Thank you to have answered and afflicted for the delay  :cry:


Title: Re: Email list of images in lightbox...
Post by: Vincent on January 16, 2006, 10:29:27 PM
ich habe noch immer meine Probleme mit dem versand!  :cry:

vincent


Title: Re: Email list of images in lightbox...
Post by: Vincent on February 13, 2006, 11:14:29 PM
ist es nicht möglich den versand so zu gestallten das es wie das Kontakt formular, anmelde formular, oder postkarte versenden geht? weil all diese funktionen laufen einwandfrei ausser hier in diesem fall das versenden via quotation_send klappt einfach nicht  :(  :cry:  :cry:  :?


Title: Re: Email list of images in lightbox...
Post by: TheOracle on February 13, 2006, 11:49:42 PM
@vincent: May I ask what is the latest problem you posted (english) ? ;)


Title: Re: Email list of images in lightbox...
Post by: Vincent on February 14, 2006, 07:53:58 AM
still the same problem - the sending of the form is not working with the quotation_send.php file!
maybe it is because my homepage is on a MS-WIN-Server!
so if the form could be mixed in a copy of the postcard - this would help - because Postcard sending works well!

vincent


Title: Re: Email list of images in lightbox...
Post by: TheOracle on February 15, 2006, 05:18:47 AM
Quote  [Expand]

maybe it is because my homepage is on a MS-WIN-Server!


No, actually - I think it is more about an e-mail filtering restriction configuration from the server end in order to get rid of these type of infos. ;)


Title: Re: Email list of images in lightbox...
Post by: Vincent on March 03, 2006, 08:27:58 AM
funny
without doing anything it is working now without problem!
vincent


Title: Re: Email list of images in lightbox...
Post by: e-trader_2002 on June 16, 2006, 09:31:36 PM
Hi,

I just installed the MOD "Email list of images in lightbox" and selceted a few images for the lightbox. In the lightbox all selected images are displayed but when I click the recently added link to generate the email-list of the selected images I get the following error-message from the related SQL-Query in quotation.php:

Quote  [Expand]
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.katalog_nr, i.marke, i.land, i.zusatz_text, i.plu, i.farbe, i.t_farbe, i.form, i.material, i.breite, i.hoehe, i.specials, i.anzahl, i.album_seite, i.acq_datum, i.acq_quelle, i.kurs, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE image_active = 1 AND image_id IN (167, 168, 169, 170) AND c.cat_id = i.cat_id AND i.cat_id IN (0, 22, 17, 3, 33, 41, 4, 7, 44, 34, 32, 14, 1, 24, 8, 47, 39, 30, 5, 2, 11, 12, 10, 40, 9, 28, 38, 29, 18, 13, 48, 20, 19, 16, 6, 21, 27, 25, 23, 26, 15) ORDER BY image_name ASC LIMIT 0, 12
Unknown column 'i.user_id' in 'on clause'

When no images are selected for the lightbox, the error doesn't occur and quotation.php simply says, that there are no images selected for the lightbox.

I would like very much to use this MOD but I can't find any post related to this error and I'm not able to figure out the reason why this error occurs.

I'm using 4images 1.72 and the unmodified files from the downloaded file english_translation.zip. Can anybody help me? Thanks

e-trader_2002


Title: Re: Email list of images in lightbox...
Post by: e-trader_2002 on June 17, 2006, 03:27:47 PM
Hallo,

I solved my problem described above. The errror occurs because of a change in MySql (s. MySQL 5.0 Reference Manual - 13.2.7.1. JOIN Syntax):

Quote  [Expand]
Note: Beginning with MySQL 5.0.12, natural joins and joins with USING, including outer join variants, are processed according to the SQL:2003 standard. These changes make MySQL more compliant with standard SQL. However, they can result in different output columns for some joins. Also, some queries that appeared to work correctly in older versions must be rewritten to comply with the standard.

So I had to change the related SQL-Query in quotation.php by adding a pair of parentheses:

Quote  [Expand]
  $sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
          FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
          LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id) 
          WHERE image_active = 1 AND image_id IN ($image_id_sql) AND c.cat_id = i.cat_id AND i.cat_id IN (".get_auth_cat_sql("auth_viewcat").")
          ORDER BY ".$config['image_order']." ".$config['image_sort']."
          LIMIT $offset, $perpage";

Now everything works well. I hope this post will help you if you are facing the same problem.

e-trader_2002


Title: Re: Email list of images in lightbox...
Post by: ipicture on June 23, 2006, 11:57:50 AM
In the quotation.php there is included the thumbnail_quotation_bit.html in which the lightbox_button is responsible for remove the image. The button-image is the lightbox_yes.gif configured in the function.php.

Now I want to have another image for removing the the pigs out of the lightbox.

How can I do this?

function.php / line 223:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  if ($user_info['user_level'] != GUEST) {
    $lightbox_url = $self_url;
    $lightbox_url .= (!empty($mode)) ? ((preg_match("/\?/", $lightbox_url)) ? "&amp;" : "?")."mode=".$mode : "";
    $lightbox_url .= preg_match("/\?/", $lightbox_url) ? "&amp;" : "?";
    if (check_lightbox($image_row['image_id'])) {
      $lightbox_url .= "action=removefromlightbox&amp;id=".$image_row['image_id'];
      $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_yes.gif")."\" border=\"0\" alt=\"\" /></a>";
    }
    else {
      $lightbox_url .= "action=addtolightbox&amp;id=".$image_row['image_id'];
      $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\" onmouseover=stm(Text[7],Style[0]) onmouseout=htm()><img src=\"".get_gallery_image("lightbox_no.gif")."\" border=\"0\" alt=\"\" /></a>";
    }
  }
  else {
    $lightbox_button = "<img src=\"".get_gallery_image("lightbox_off.gif")."\" border=\"0\" alt=\"\" />";
  }



Klaus


Title: Re: Email list of images in lightbox...
Post by: mstgokcen on July 22, 2006, 10:48:02 AM
I have the same problem when I install mini top.php MOD..

and now I changed my sql too but it doesnt work

before I changed it was

1
2
3
4
5
6
// Votes
$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_thumb_file, i.image_rating, i.image_votes, c.cat_name, u.user_name
       FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c, ".USERS_TABLE." u
       WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id AND i.user_id = u.user_id $cat_match_sql
       ORDER BY i.image_votes DESC, i.image_name ASC
       LIMIT 20";


then I made
1
2
3
4
5
6
// Votes
$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_thumb_file, i.image_rating, i.image_votes, c.cat_name, u.user_name
       FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c, ".USERS_TABLE." u )
       WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id AND i.user_id = u.user_id $cat_match_sql
       ORDER BY i.image_votes DESC, i.image_name ASC
       LIMIT 20";


for 4 times but it didnt work?

any idea


Title: Re: Email list of images in lightbox...
Post by: V@no on July 22, 2006, 09:02:00 PM
the same problem as whom?
didnt work how?


Title: Re: Email list of images in lightbox...
Post by: mstgokcen on July 22, 2006, 09:30:57 PM
I send another post that is OK ...At first I changed wrong SQL codes then i corrected..
thx


Title: Re: Email list of images in lightbox...
Post by: radbe on November 30, 2006, 10:02:05 PM
With this MOD, one important thing missing...

At first I thought about having someone provide a simple way to add an entire category to the lightbox
but then I would still have to fill out information for each file, that's crazy when you have 100+ photos in lightbox
So basically in addition to that you will also need a form that gives the option to send (1) universal request for all files in the lightbox.

Therefore let's say you have 100 photo's the option would allow you to request 1 format for all of them
so maybe adding a check box, that when selected will switch you to another form
allowing you to fill out once the information for all images in the lightbox..
because it is easier to remove the few you want formatted differently and send them as a seperate request..
than to fill out information for each one, don't you think?
 


Title: Re: Email list of images in lightbox... Little modification
Post by: proMedien on March 06, 2007, 04:18:10 PM
Hi everybody.

Thank god (and the professionals in this forum) I found this mod. It is exactly what i´ve been searching for.
But i have to modify it a little. All the details like size, usage, distribution, duration, ... I don´t need in my case.
At first, I am a totally php-Newb. And after days of trying I need help now.

My version of 4images: 1.7.3
php-Version: 4.4.4

The situation:
The user fills his lightbox("Bildauswahl") with the pictures he wants to order. (MOD: Lightbox for guests. Great work.)
When finished he goes to the Order form("Bestellformular") fills out the input boxes with name, company, email, ... and klicks "Bestellen".
That creates a eMail with the list of pictures in his lightbox and his personal data that is sent to me. This works so far.

The problem:
The images are all listed among themselves. How can I let them list just like in the lightbox, 3 x 2 ?
How can I change the details given in the eMail, especially the real filename because that could be different.

I added my modified quotation.php as .txt after this reply.


I hope you could understand my problem and have any idea that could help me.
Thank you for every idea.

Stephan


Title: Re: Email list of images in lightbox...
Post by: Patrick81 on September 02, 2007, 01:03:53 PM
Has someone add a captcha feature for this mod?

Would be great.

br
Pat


Title: Re: Email list of images in lightbox...
Post by: musicsurfer on April 08, 2008, 11:49:09 PM
Hat es eigentlich mal jemand geschafft in dieses LIghtbox-Warenkorbsystem Preise mit einzubauen ?

Ein anderer User hatte sowas auch mal gesuchtm aber ohne Erfolg

ch suche für die neuste Version von 4images ein Modul/Add on, mit dem die Käufer Bilder in verschiedenen Grössen & Preisen bestellen können.

Zum Beispiel:
Foto XY kann bestellt werden in
10x15 zu 1 Euro
13 x 18 zu 2 Euro
20x30 zu 3 Euro

Die Grössen und Preise sind für alle Fotos gleich.

Es muss keine Anbindung an PayPal vorhanden sein, obwohl dies natürlich grossartig wäre.


Gruss


Title: Email list of images in lightbox... PHP5
Post by: proMedien on October 27, 2008, 04:02:48 PM
Hallo zusammen.

Mein Provider stellt Ende des Jahres den Betrieb von PHP4 auf seinen Servern komplett ein. Ist das Script so in dieser Version unter PHP5 lauffähig?
Ich habs mal getestet. Ich habe die Erweiterung ".php" als unterstütztes Format unter "PHP4-Extensions" rausgenommen und nur noch unter "PHP5-Extensions" dringelassen.

Dann habe ich folgende Fehlermeldung bekommen:
"Warning: Variable passed to each() is not an array or object in ...templates/default/quotation_send.php on line 3"

Wenn ich ".php" wieder PHP4 zuordne, läufts wieder.

Bitte helft mir, ich steh echt aufm Schlauch.

Vielen Dank
Stephan

-----

Hello everybody.

My provider completely stops the support of PHP4 to the end of the year. Does this Script run on PHP5?
I have already checked it. In the settings of the Server I deleted ".php" as supported "PHP4-Extension" and only left it as a "PHP5-Extension".

In my browser the follwing error message is shown:
"Warning: Variable passed to each() is not an array or object in ...templates/default/quotation_send.php on line 3"

Everything works fine again, if I put ".php" back on the supported filetypes for PHP4.

Can somebody please help me?

Very great thanks in advance
Stephan




Title: Re: Email list of images in lightbox...
Post by: nobby on October 27, 2008, 04:10:08 PM
Hallo,

wenn Du die Version 1.7.6 einsetzt gibt es keine Probleme, ist für 5 gemacht.

Ansonsten von älteren Versionen auf die neueste Updaten  :wink:

nobby


Title: Re: Email list of images in lightbox...
Post by: proMedien on October 27, 2008, 04:21:50 PM
Hallo.

Vielen Dank für diesen superschnellen Tipp.
Ich dachte, es liegt an der Programmierung dieses MODs (unbeannter Befehl, oder so.)

Da ich allerdings viel von Hand umgeschrieben habe (und das gar nicht mehr alles weiß) muss ichs wohl von Hand machen.  :?
Dann werde ich mal updaten. Vielen Dank.

Grüße
Stephan


Title: Re: Email list of images in lightbox...
Post by: nobby on October 27, 2008, 04:27:49 PM
Dafür nicht...

Updates sind immer wichtig und sollte man auch machen, auch wenn einige MODs neu Angepasst werden müssen.

nobby


Title: Re: Email list of images in lightbox...
Post by: Oblaten on March 10, 2009, 03:29:36 PM
Hallo,

ich benutze die 4images 1.7.6, PHP Version 5.2.6 - erhalte aber trotzdem die folgenden Fehlermeldungen wenn eine Anfrage abgeschickt wird:

Warning: Variable passed to each() is not an array or object in .../templates/hell/quotation_send.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at .../templates/hell/quotation_send.php:3) in .../templates/hell/quotation_send.php:3) in .../templates/hell/quotation_send.php on line 25

Kann mir jemand sagen, woran das liegen kann?

Grüsse
Oblaten



Title: Re: Email list of images in lightbox...
Post by: proMedien on March 10, 2009, 04:01:14 PM
Hallo.

Also bei uns wurde das Problem mittlerweile folgendermaßen gelöst:
(vielleicht klappt das ja auch bei dir)

Suche:
1
2
3
<?php

while (list($textfeld$wert) = each ($HTTP_POST_VARS))

und ersetze durch:
1
2
3
<?php

while (list($textfeld$wert) = each ($_POST))

und
suche:
1
$inPHormer_headSend = "From: ".$HTTP_POST_VARS['E-Mail']."(".$HTTP_POST_VARS['Name_oder_Firma'].")";

und ersetze durch:
1
$inPHormer_headSend = "From: ".$_POST['EMail']."(".$_POST['Name_oder_Firma'].")";

Eigentlich wurde nur in der line 3 :wink: der Zusatz "HTTP" und "VARS" entfernt.
Und unten beim eMail zusammenbasteln dann natürlich auch.

Da ich sehr wenig Ahnung von php habe übernehme ich keine Gewähr für irgendeine Funktion hieraus.
Ich weiß nichtmal warum das jetzt funktioniert und vorher nicht. :oops:
Aber bei uns funktionierts wieder einwandfrei.

Ich hoffe, ich konnte helfen.
Grüße
Stephan


Title: Re: Email list of images in lightbox...
Post by: Oblaten on March 10, 2009, 04:36:02 PM
Hallo Stephan!

Mensch - Danke Danke für Deine schnelle Antwort - werde Deinen Tip gleich anwenden und dann berichten.

Grüsse
Oblaten


Title: Re: Email list of images in lightbox...
Post by: Oblaten on March 10, 2009, 05:00:35 PM
Das war schon mal ein sehr guter Tip, Stephan!!! Dank Dir!!!!   :)

Leider funktionierts noch nicht ganz - die Email wird scheinbar versandt und man gelangt nach Absenden nun auch auf die quotation_ok.html -
es kommt nur leider keine eMail an  :cry:

eMail Nachrichten aus dem Admin & PostkarteneMail funktionieren einwandfrei.

hmmm - schaue mir noch mal alle Beiträge hier an, vielleicht steht da doch noch was...

Grüsse

Oblaten


Title: Re: Email list of images in lightbox...
Post by: Oblaten on March 10, 2009, 06:17:20 PM
Leider finde ich nichts im thread, was das Problem der nicht ankommenden eMail erklären könnte - zwar hatten auch andere ein ähnliches Problem, aber es steht nirgens ein Hinweis auf eine mögliche Lösung.

@Stephan: Habt Ihr evtl. noch etwas anderes geändert?

Was mich wundert ist, dass es keine Fehlermeldung gibt, weder vom Server selbst, noch vom mod, da die quotation_ok nach Versandt angezeigt wird.

Irgend jemand eine Idee?

Edit: Könnte es evt. daran liegen, dass die eMail nicht über den SMTP Server verschickt wird?

Grüsse
Oblaten



Title: Re: Email list of images in lightbox...
Post by: Oblaten on March 18, 2009, 12:13:08 PM
OK - habs nun herausgefunden:
Nach Anfrage bei meinem Hoster stellte sich heraus, dass ich im Admin-Bereich bei meinem Hoster eine Standard-eMailadresse für den Versandt von PHP Skripten speichern musste. Nun funzt es einwandfrei.

Dank noch mal an alle, die an diesem Skript mitgewirkt haben!

Grüsse von
Oblaten


Title: Re: Email list of images in lightbox...
Post by: Buster on June 06, 2009, 09:39:28 AM
Hi miteinander, Acidgod hat mir vor vier Jahren für meine 1.71 ein Bestellsystem gebastelt, dass genau das tut, was hier diskutiert wird: bilder in der lightbox (bei mir heißt sie Bestellbox) sammeln, Formate und Preise auswählen und per Email bestellen. Klappt wunderbar. Nun muss ich umziehen mit der Site und werde auf die neueste Version umsteigen, bin aber sicher, dass die alte Version nicht mehr laufen wird.
Gibt's irgendwo die aktuelle Version, über die Ihr diskutiert, zum Download?
Ihr könnt Euch das gerne bei mir mal anschauen, müsst Euch allerdings registrieren. (Solltet Ihr testen, bitte einen Vermerk dazu, dass Ihr die Bilder nicht wirklich haben wollt, die dann bei mir bestellt werden. :)).
Ich hoffe, Acidgod hat nach all den Jahren keine Einwände, dass ich es hier preisgebe.
Lieben Gruß,
Reiner
------
http://r-wo.de


Title: Re: Email list of images in lightbox...
Post by: Kurman on August 20, 2009, 03:42:13 PM
Sounds as usefull mod.

Can anyone attach here working files of this mod for proper install?

Or maybe someone can post this mod as independed thread in Mods&Plugins (Releases & Support) place.

I've read all pages of this thread, but still cannot apply for myself (( this mod.


Title: Re: Email list of images in lightbox...
Post by: urmasmuld on March 19, 2010, 06:20:25 PM
I have installed this : [MOD] Multi-Language support for any text (updated 05-11-2005)  (http://www.4homepages.de/forum/index.php?topic=6749.0)

Now user selects different language, adds images into lightbox. Then goes to quotation.php. So far so good, language stays correct. But after (s)he hits "Submit" button, it goes to index.php not index.php?l=language. How to modify
1
$inPHormer_err = "http://www.site.com/index.php";
and
1
$inPHormer_ok = "http://www.site.com/index.php";
so that language stays correctly after mail sent? Have tried
1
$inPHormer_ok = "".$site_sess->url(ROOT_PATH."index.php")."";
but getting this error :
1
Fatal error: Call to a member function url() on a non-object in /****/****/quotation_send.php on line 22
Is it possible to make it work like this?

EDIT : Nevermind, solved myself ;)


Title: Re: Email list of images in lightbox...
Post by: InAction on September 11, 2010, 02:23:52 PM
Hi Leute würde die MOD auch unter 1.7.8 laufen?


Title: Re: Email list of images in lightbox...
Post by: fn6887 on September 21, 2010, 12:30:59 PM
Lightboxes and Galleries have many similarities. It's possible to use them interchangeably to a certain extent. But Lightboxes are meant to use collaboratively with one or many people. :)

Send spam here: fn6887@gmail.com