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

0 Members and 1 Guest are viewing this topic.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #45 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

<b>Registered Name</b>


replace with :

Code: [Select]

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


Then, find :

Quote

Company</td>


replace with :

Code: [Select]

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


Then, find :

Quote

<b>Full Name</b>


replace with :

Code: [Select]

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


Then, find :

Quote

Address</td>


replace with :

Code: [Select]

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


Then, find :

Quote

Telephone</td>


replace with :

Code: [Select]

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


Then, find :

Quote

City</td>


replace with :

Code: [Select]

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


Then, find :

Quote

<b>Email</b>


replace with :

Code: [Select]

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


Then, find :

Quote

State</td>


replace with :

Code: [Select]

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


Then, find :

Quote

Fax</td>


replace with :

Code: [Select]

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


Then, find :

Quote

Country</td>


replace with :

Code: [Select]

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


Then, find :

Quote

Angebot per</td>


replace with :

Code: [Select]

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


Then, find :

Quote

checked> eMail


replace with :

Code: [Select]

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


Then, find :

Quote

value=\"fax\"> Fax.


replace with :

Code: [Select]

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


Then, find :

Quote

value=\"post\"> Post


replace with :

Code: [Select]

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


Then, find :

Quote

Telefon


replace with :

Code: [Select]

".$lang['phone_number']."


Then, find :

Quote

<b>Intended Usage</b>


replace with :

Code: [Select]

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


Then, find :

Quote

Commercial<br>


replace with :

Code: [Select]

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


Then, find :

Quote

Personal<br>


replace with :

Code: [Select]

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


Then, find :

Quote

<br>Short Description


replace with :

Code: [Select]

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


Then, find :

Quote

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


replace with :

Code: [Select]

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


Then, find :

Quote

<b>Image Placement</b>


replace with :

Code: [Select]

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


Then, find :

Quote

Editorial<br>


replace with :

Code: [Select]

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


Then, find :

Quote

Advertisement<br>


replace with :

Code: [Select]

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


Then, find :

Quote

Other<br>


replace with :

Code: [Select]

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


Then, find :

Quote

Composite


replace with :

Code: [Select]

".$lang['composite_title']."


Then, find :

Quote

Original


replace with :

Code: [Select]

".$lang['original_statement']."


Then, find :

Quote

<b>Media Name/Edition</b>


replace with :

Code: [Select]

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


Then, find :

Quote

<b>Distribution</b>


replace with :

Code: [Select]

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


Then, find :

Quote

North America


replace with :

Code: [Select]

".$lang['country_north_america']."


Then, find :

Quote

Worldwide<br>


replace with :

Code: [Select]

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


Then, find :

Quote

Specific Country


replace with :

Code: [Select]

".$lang['specific_country']."


Then, find :

Quote

<b>Usage duration</b>


replace with :

Code: [Select]

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


Then, find :

Quote

1 Year Non-exclusive


replace with :

Code: [Select]

".$lang['year_exclusive']."


Then, find :

Quote

Unlimited


replace with :

Code: [Select]

".$lang['unlimited_statement']."


Then, find :

Quote

Other (specify below)


replace with :

Code: [Select]

".$lang['other_below']."


Then, find :

Quote

<b>Additional Comments</b>


replace with :

Code: [Select]

<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

?>


add above :

Code: [Select]

//-------------------------------------------------------------
//--- 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.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Noch ein paar Fragen...
« Reply #46 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

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #47 on: August 01, 2005, 11:24:37 AM »
in der Datei quotation_send.php hast du die folgende angaben:

Code: [Select]
// 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: Email list of images in lightbox...
« Reply #48 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

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #49 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: Email list of images in lightbox...
« Reply #50 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

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #51 on: August 02, 2005, 02:33:55 PM »
Quote

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

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: Email list of images in lightbox...
« Reply #52 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

Offline Saiman

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Email list of images in lightbox...
« Reply #53 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 ;-)

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #54 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #55 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.

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #56 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

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


add "below" :

Code: [Select]

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


;)

TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #57 on: August 06, 2005, 04:08:56 PM »
Update: August 7th, 2005.

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

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Email list of images in lightbox...
« Reply #58 on: August 06, 2005, 10:05:29 PM »
 :wink: and now houres of testing!  :wink:

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: Email list of images in lightbox...
« Reply #59 on: August 06, 2005, 10:19:33 PM »
How's the result coming ? ;)