4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: party-cam.org on May 22, 2003, 06:09:52 PM

Title: [Mod] [Beta] Shop Mod für 4images (no support)
Post by: party-cam.org on May 22, 2003, 06:09:52 PM
THIS MOD IS NOT COMPATIBLE WITH 4IMAGES v1.7.4 AND NEWER. PLUS IT SEEMS THERE IS NO SUPPORT FROM THE AUTHOR, SO INSTALL IT AT YOUR OWN RISK.

Mal endlich ein Shop Mod für 4images  :D
Da ich aber eher ein "PHP Newbie" bin ist das ganze noch bisschen unstrukturiert und für "Profis" komisch gecodet.
Der Shop basiert auf den Prinzipien der Lightbox, mit ein paar kleinen Änderungen. Bisjetzt gibt's den Shop nur in deutsch. Einige Ausdrücke fehlen noch in der Language File und müssen direkt in der Template oder .php Datei geändert werden.  :?

Eine Demo hat's unter http://www.party-cam.org/4images_shop

Funktionen siehe Installationsanleitung.  :!:

Die neuen Files gibt's hier zum downloaden (http://www.party-cam.org/board/load.php?id=6)
Die Version ist Beta. Updates folgen...
Also bitte jede Menge Bugs & Vorschläge berichten!!!

Eigene Buttons passen hier natürlich auch hin  :wink:

Code: [Select]
###############################################
## Title: Shop System for 4images
## Version: 0.9
## Author: neo18tildie <neo18tildie@web.de>
## Demo: http://www.party-cam.org/4images_shop
##
## Description:
## Dieses Mod fügt einen Warenkorb in die 4images Gallery ein.
##
## Features:
## - für jedes Bild ist ein sperater Preis einstellbar
## - Bearbeitungsgebühr & Porto einstellbar
## - Liefer- & Rechnungsadresse
## - verschiedene Zahlungsarten
## - Bestätigung per eMail
## - Benachrichtung über neue Bestellungen
## - Kundendatenbank
## - Bilder können für den Verkauf gesperrt werden (-> einfach Preis = 0.00 einstellen)
##
##
## Installation Level: Advanced
## Installation Time: ? Minutes
##
## Included Files:
##
## /4images/admin/plugins/kundendaten.php
## /4images/bestellung.php
## /4images/quittung.php
## /4images/warenkorb.php
## /4images/warenkorb_kunde.php
## /4images/warenkorb_update.php
## /4images/images/basket_add.gif
## /4images/images/basket_delete.gif
## /4images/images/basket_minus.gif
## /4images/images/bestellung.gif
## /4images/lang/deutsch/email/bestellung_admin_email.html
## /4images/lang/deutsch/email/bestellung_email.html
## /4images/templates/default/agbs.html
## /4images/templates/default/bestellung.html
## /4images/templates/default/quittung.html
## /4images/templates/default/warenkorb.html
## /4images/templates/default/warenkorb_kunde.html
## /4images/templates/default/warenkorb_kunde2.html
##
## Files To Edit: 14
## /4images/admin/settings.php
## /4images/bestellung.php *
## /4images/details.php
## /4images/lang/deutsch/main.php
## /4images/lang/deutsch/admin.php
## /4images/includes/constants.php
## /4images/includes/db_field_definitions.php
## /4images/includes/email.php
## /4images/includes/functions.php
## /4images/includes/page_header.php
## /4images/includes/sessions.php
## /4images/templates/default/details.html
## /4images/templates/default/tumbnail_bit.html
## /4images/templates/default/user_logininfo.html
##
##
##
###############################################


************ MYSQL Commands ************

CREATE TABLE 4images_kunden (
  kunde_id mediumint(8) NOT NULL auto_increment,
  kunde_anrede varchar(255) NOT NULL default '',
  kunde_nachname varchar(255) NOT NULL default '',
  kunde_vorname varchar(255) NOT NULL default '',
  kunde_firma varchar(255) NOT NULL default '',
  kunde_plz varchar(255) NOT NULL default '',
  kunde_str varchar(255) NOT NULL default '',
  kunde_ort varchar(255) NOT NULL default '',
  kunde_telefon varchar(255) NOT NULL default '',
  kunde_telefax varchar(255) NOT NULL default '',
  liefer_anrede varchar(255) NOT NULL default '',
  liefer_nachname varchar(255) NOT NULL default '',
  liefer_vorname varchar(255) NOT NULL default '',
  liefer_firma varchar(255) NOT NULL default '',
  liefer_plz varchar(255) NOT NULL default '',
  liefer_str varchar(255) NOT NULL default '',
  liefer_ort varchar(255) NOT NULL default '',
  liefer_telefon varchar(255) NOT NULL default '',
  liefer_telefax varchar(255) NOT NULL default '',
  kunde_zahlungsart varchar(255) NOT NULL default '',
  kunde_bemerkung text NOT NULL,
  kunde_bank varchar(255) NOT NULL default '',
  kunde_kontonr varchar(255) NOT NULL default '',
  kunde_blz varchar(255) NOT NULL default '',
  bestellung tinyint(8) NOT NULL default '1',
  letzte_bestellung int(11) NOT NULL default '0',
  PRIMARY KEY  (kunde_id),
  KEY kunde_nachname (kunde_nachname)
) TYPE=MyISAM;

CREATE TABLE 4images_warenkorb (
  warenkorb_id varchar(32) NOT NULL default '',
  user_id mediumint(8) NOT NULL default '0',
  warenkorb_image_id text,
  image_quantity mediumint(8) default NULL,
  KEY warenkorb_id (warenkorb_id),
  KEY user_id (user_id)
) TYPE=MyISAM;

ALTER TABLE `4images_images` ADD `price_1` DECIMAL( 12, 2 ) DEFAULT '0.00' NOT NULL ;

INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'porto', '1.00'
);

INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'bearbeitung', '1.00'
);



************ UPLOAD INCLUDED FILES ************
List of files at the top of this file.
"root" is your 4images Path


************ ADJUST IN bestellung.php ************

$site_url = 'http://www.your-site.org/4images/';



************ FIND IN includes/email.php ************

function create_header() {
    global $config;
    $header = "";


************ After $header = ""; add the following line:  ************

$header .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
      

************ FIND IN includes/page_header.php ************

//-----------------------------------------------------
//--- Random Image ------------------------------------
//-----------------------------------------------------
$random_image = (defined("SHOW_RANDOM_IMAGE") && SHOW_RANDOM_IMAGE == 0) ? "" : get_random_image();
$site_template->register_vars("random_image", $random_image);
unset($random_image);

************ ADD AFTER ************

//-----------------------------------------------------
//--- Shop System --------------------------------
//-----------------------------------------------------

function FormatPrice ($nPrice)
{
   $nPrice = number_format($nPrice, "2", ",", ".");
   return $nPrice;
}

$kunde = $user_info['user_id'];


************ FIND IN includes/page_header.php ************

//-----------------------------------------------------
//--- Add & Delete from Lists -------------------------
//-----------------------------------------------------
if ($action == "addtolightbox" && $id) {
  if ($user_info['user_level'] >= USER) {
    $msg = (add_to_lightbox($id)) ? $lang['lightbox_add_success'] : $lang['lightbox_add_error'];
  }
  else {
    $msg = $lang['lightbox_register'];
  }
}
if ($action == "removefromlightbox" && $id) {
  if ($user_info['user_level'] >= USER) {
    $msg = (remove_from_lightbox($id)) ? $lang['lightbox_remove_success'] : $lang['lightbox_remove_error'];
  }
  else {
    $msg = $lang['lightbox_register'];
  }
}
if ($action == "clearlightbox") {
  if ($user_info['user_level'] >= USER) {
    $msg = (clear_lightbox()) ? $lang['lightbox_delete_success'] : $lang['lightbox_delete_error'];
  }
  else {
    $msg = $lang['lightbox_register'];
  }
}

************ ADD AFTER ************

if ($action == "addtowarenkorb" && $id) {
  if ($user_info['user_level'] >= USER) {
    $msg = (add_to_warenkorb($id)) ? $lang['warenkorb_add_success'] : $lang['warenkorb_add_error'];
  }
  else {
    $msg = $lang['warenkorb_register'];
  }
}
if ($action == "removefromwarenkorb" && $id) {
  if ($user_info['user_level'] >= USER) {
    $msg = (remove_from_warenkorb($id)) ? $lang['warenkorb_remove_success'] : $lang['warenkorb_remove_error'];
  }
  else {
    $msg = $lang['warenkorb_register'];
  }
}

if ($action == "anzahlverkleinernwarenkorb" && $id) {
  if ($user_info['user_level'] >= USER) {
    $msg = (anzahl_verkleinern_warenkorb($id)) ? $lang['anzahl_verkleinern_success'] : $lang['warenkorb_remove_error'];
  }
  else {
    $msg = $lang['warenkorb_register'];
  }
}

if ($action == "clearwarenkorb") {
  if ($user_info['user_level'] >= USER) {
    $msg = (clear_warenkorb()) ? $lang['warenkorb_delete_success'] : $lang['warenkorb_delete_error'];
  }
  else {
    $msg = $lang['warenkorb_register'];
  }
}


************ FIND IN includes/page_header.php ************

"url_lightbox" => $site_sess->url(ROOT_PATH."lightbox.php"),

************ ADD AFTER ************

"url_warenkorb" => $site_sess->url(ROOT_PATH."warenkorb.php"),


************ FIND IN includes/page_header.php ************

"lang_lightbox" => $lang['lightbox'],


************ ADD AFTER ************

"lang_warenkorb" => $lang['warenkorb'],


************ FIND IN includes/page_header.php ************

//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------


************ ADD BEFORE ************

//-----------------------------------------------------
//--- Warenkorb Box -----------------------------------
//-----------------------------------------------------


      $sql = "SELECT sum( w.image_quantity * i.price_1 ) AS total_price
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i
      WHERE image_active = 1
      AND w.user_id = ".$kunde."
      AND i.image_id = w.warenkorb_image_id";

  $result = $site_db->query_firstrow($sql);
$total_sum = $result['total_price'];
$total_sum = FormatPrice ($total_sum);


      $sql = "SELECT sum( w.image_quantity) AS total_images_sum
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i
      WHERE image_active = 1
      AND w.user_id = ".$kunde."
      AND i.image_id = w.warenkorb_image_id";

  $result = $site_db->query_firstrow($sql);
$total_images_sum = $result['total_images_sum'];


************ FIND IN includes/page_header.php ************

//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
if ($user_info['user_level'] >= USER) {
  $site_template->register_vars("lang_loggedin_msg", preg_replace("/".$site_template->start."loggedin_user_name".$site_template->end."/siU", $user_info['user_name'], $lang['lang_loggedin_msg']));
  $user_box = $site_template->parse_template("user_logininfo");
  $site_template->register_vars(array(
    "user_box" => $user_box,

************ ADD AFTER ************

  "lang_warenkorb" => $lang['warenkorb'],
  "bestellung" => $bestellung,
  "total_images_sum" => $total_images_sum,
  "total_sum" => $total_sum,


************ FIND IN includes/constants.php ************

define('LIGHTBOXES_TABLE', $table_prefix.'lightboxes');

************ ADD AFTER ************

define('WARENKORB_TABLE', $table_prefix.'warenkorb');
define('KUNDEN_TABLE', $table_prefix.'kunden');


************ FIND IN includes/functions.php ************

  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=\"Dieses Bild aus deinem Album entfernen\" /></a>";
      $lightbox_button_kl = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\"Dieses Bild aus deinem Album entfernen\" /></a>";
    }
    else {
      $lightbox_url .= "action=addtolightbox&amp;id=".$image_row['image_id'];
      $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_no.gif")."\" border=\"0\" alt=\"Dieses Bild zu deinem Album hinzufügen\" /></a>";
      $lightbox_button_kl = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Dieses Bild zu deinem Album hinzufügen\" /></a>";
    }
  }
  else {
    $lightbox_button = "<img src=\"".get_gallery_image("lightbox_off.gif")."\" border=\"0\" alt=\"\" />";
    $lightbox_button_kl = "<img src=\"".get_gallery_image("lightbox_off_kl.gif")."\" border=\"0\" align=\"right\" alt=\"\" />";
  }


************ ADD AFTER ************

  if ($user_info['user_level'] != GUEST && $image_row['price_1'] != 0) {
    $warenkorb_url = $self_url;
    $warenkorb_url .= (!empty($mode)) ? ((preg_match("/\?/", $warenkorb_url)) ? "&amp;" : "?")."mode=".$mode : "";
    $warenkorb_url .= preg_match("/\?/", $warenkorb_url) ? "&amp;" : "?";
    if (check_warenkorb($image_row['image_id'])) {
      $warenkorb_url .= "action=removefromwarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes.gif")."\" border=\"0\" align=\"\" alt=\"Aus dem Warenkorb entfernen\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\"Aus dem Warenkorb entfernen\" /></a>";
    }
    else {
      $warenkorb_url .= "action=addtowarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Zum Warenkorb hinzufügen\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Zum Warenkorb hinzufügen\" /></a>";
    }
  }
  else {

  if ($image_row['price_1'] == 0) {
    $warenkorb_button = "<img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" alt=\"Dieses Bild ist zur Zeit leider nicht verfügbar\"/>";
    $warenkorb_button_kl = "<img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Dieses Bild ist zur Zeit leider nicht verfügbar\"/>";
    }
    else {
    $warenkorb_button = "<img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" alt=\"Du musst angemeldet sein, um den Warenkorb zu benutzen\"/>";
    $warenkorb_button_kl = "<img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Du musst angemeldet sein, um den Warenkorb zu benutzen\" />";
    }
  }


************ FIND IN includes/functions.php ************

$site_template->register_vars(array(
    "image_id" => $image_row['image_id'],


************ ADD AFTER ************
    
    "image_price_1" => $image_row['price_1'],


************ FIND IN includes/functions.php ************

function check_lightbox($id) {
  global $user_info;
  $lightbox_array = explode(" ", $user_info['lightbox_image_ids']);
  return in_array($id, $lightbox_array);
}


************ ADD AFTER ************

function add_to_warenkorb($id) {
  global $user_info, $site_db;
  $id = intval($id);
  if (!$id) {
    return false;
  }
  $warenkorb_ids = $user_info['warenkorb_image_id'];
  $warenkorb_array = explode(" ", $warenkorb_ids);
  if (!in_array($id, $warenkorb_array)) {
    $warenkorb_ids .= " ".$id;
  }
  $user_info['warenkorb_image_id'] = trim($warenkorb_ids);

  $warenkorb_id = get_random_key(WARENKORB_TABLE, "warenkorb_id");

  $sql = "SELECT COUNT(*) as check_doubles
   FROM ".WARENKORB_TABLE."
   WHERE user_id=".$user_info['user_id']."
   AND warenkorb_image_id=".$user_info['warenkorb_image_id']." ";

   $check = $site_db->query_firstrow($sql);
     $check_doubles = $check['check_doubles'];

   if ($check_doubles > 0)
   {

 $sql = "SELECT image_quantity
            FROM ".WARENKORB_TABLE."
            WHERE user_id=".$user_info['user_id']."
   AND warenkorb_image_id=".$user_info['warenkorb_image_id']." ";
       $row = $site_db->query_firstrow($sql);
       $image_quantity = $row['image_quantity'];
$new_image_quantity = $image_quantity + 1;

$sql = "UPDATE ".WARENKORB_TABLE."
SET image_quantity = ".$new_image_quantity."
WHERE user_id = ".$user_info['user_id']."
AND warenkorb_image_id = ".$user_info['warenkorb_image_id'];
return ($site_db->query($sql)) ? 1 : 0;
}
else {

  $user_info['image_quantity'] = "";

  $sql = "INSERT INTO ".WARENKORB_TABLE."
                    (warenkorb_id, user_id, warenkorb_image_id, image_quantity)
                    VALUES
                    ('$warenkorb_id', ".$user_info['user_id'].", ".$user_info['warenkorb_image_id'].", '1')";
          return ($site_db->query($sql)) ? 1 : 0;
      }
}



function anzahl_verkleinern_warenkorb($id) {
  global $user_info, $site_db;
  $id = intval($id);
  if (!$id) {
    return false;
  }
  $warenkorb_ids = $user_info['warenkorb_image_id'];
  $warenkorb_array = explode(" ", $warenkorb_ids);
  if (!in_array($id, $warenkorb_array)) {
    $warenkorb_ids .= " ".$id;
  }
  $user_info['warenkorb_image_id'] = trim($warenkorb_ids);

  $warenkorb_id = get_random_key(WARENKORB_TABLE, "warenkorb_id");

  $sql = "SELECT image_quantity
            FROM ".WARENKORB_TABLE."
            WHERE user_id = ".$user_info['user_id']."
   AND warenkorb_image_id = ".$user_info['warenkorb_image_id']." ";
       $row = $site_db->query_firstrow($sql);
       $image_quantity = $row['image_quantity'];

   if ($image_quantity > 1)
   {
$new_image_quantity = $image_quantity - 1;

$sql = "UPDATE ".WARENKORB_TABLE."
SET image_quantity = ".$new_image_quantity."
WHERE user_id = ".$user_info['user_id']."
AND warenkorb_image_id = ".$user_info['warenkorb_image_id'];
return ($site_db->query($sql)) ? 1 : 0;
}
else {

  $sql = "DELETE FROM ".WARENKORB_TABLE."

                    WHERE user_id = ".$user_info['user_id']."
AND warenkorb_image_id = ".$user_info['warenkorb_image_id'];
          return ($site_db->query($sql)) ? 1 : 0;
      }
}


function remove_from_warenkorb($id) {
  global $user_info, $site_db;
  $id = intval($id);
  if (!$id) {
    return false;
  }
  $warenkorb_ids = $user_info['warenkorb_image_id'];
  $warenkorb_array = explode(" ", $warenkorb_ids);
  if (!in_array($id, $warenkorb_array)) {
    $warenkorb_ids .= " ".$id;
  }
  $user_info['warenkorb_image_id'] = trim($warenkorb_ids);

  $warenkorb_id = get_random_key(WARENKORB_TABLE, "warenkorb_id");


  $sql = "DELETE FROM ".WARENKORB_TABLE."
                    WHERE user_id = ".$user_info['user_id']."
AND warenkorb_image_id = ".$user_info['warenkorb_image_id'];
          return ($site_db->query($sql)) ? 1 : 0;


}

function clear_warenkorb() {
  global $user_info, $site_db;
  $current_time = time();
  $sql = "DELETE FROM ".WARENKORB_TABLE."
          WHERE user_id = ".$user_info['user_id'];
  if ($site_db->query($sql)) {
    $user_info['warenkorb_image_id'] = "";

    return true;
  }
  else {
    return false;
  }
}

function check_warenkorb($id) {
  global $user_info, $site_db;

$sql = "SELECT warenkorb_image_id
      FROM ".WARENKORB_TABLE."
      WHERE user_id = ".$user_info['user_id'];
$result = $site_db->query($sql);
  while($row = $site_db->fetch_array($result)) {

    $warenkorb_image .= " ".$row['warenkorb_image_id']." ";
    }
  $warenkorb_array = explode(" ", $warenkorb_image);
  return in_array($id, $warenkorb_array);
}




************ FIND IN includes/functions.php ************

"lightbox_button" => $lightbox_button,


************ ADD AFTER ************

"warenkorb_button" => $warenkorb_button,


************ FIND IN db_field_definitions.php ************

// Example for additional image fields:
//$additional_image_fields['image_photographer'] = array($lang['image_photographer'], "text", 1);


************ ADD AFTER ************

$additional_image_fields['price_1'] = array($lang['price_1'], "decimal(4,2)", 1);






************ FIND IN details.php ************

if ($mode == "lightbox") {
  if (!empty($user_info['lightbox_image_ids'])) {
    $image_id_sql = str_replace(" ", ", ", trim($user_info['lightbox_image_ids']));
    $sql = "SELECT image_id, image_name, image_media_file, image_thumb_file
            FROM ".IMAGES_TABLE."
            WHERE image_active = 1 AND image_id IN ($image_id_sql) AND cat_id IN (".get_auth_cat_sql("auth_viewcat").")
            ORDER BY ".$config['image_order']." ".$config['image_sort'];
    $in_mode = 1;
  }
}


************ ADD AFTER ************

if ($mode == "warenkorb") {
  if (!empty($user_info['warenkorb_image_id'])) {
    $image_id_sql = str_replace(" ", ", ", trim($user_info['warenkorb_image_id']));
    $sql = "SELECT image_id, image_name, image_media_file, image_thumb_file
            FROM ".IMAGES_TABLE."
            WHERE image_active = 1 AND image_id IN ($image_id_sql) AND cat_id IN (".get_auth_cat_sql("auth_viewcat").")
            ORDER BY ".$config['image_order']." ".$config['image_sort'];
    $in_mode = 1;
  }
}


************ FIND IN lang/deutsch/main.php ************

//-----------------------------------------------------
//--- Lightbox ----------------------------------------
//-----------------------------------------------------
$lang['lightbox_no_images'] = "Du hast keine Bilder in deinem Album.";
$lang['lightbox_add_success'] = "Bild erfolgreich hinzugefügt.";
$lang['lightbox_add_error'] = "Fehler beim Hinzufügen!";
$lang['lightbox_remove_success'] = "Bild erfolgreich aus deinem Album entfernt.";
$lang['lightbox_remove_error'] = "Fehler beim Löschen!";
$lang['lightbox_register'] = "Um ein persönliche Album nutzen zu können, musst du ein registrierter Benutzer sein.<br />&raquo; <a href=\"{url_register}\">Jetzt registrieren</a>";
$lang['lightbox_delete_success'] = "Dein Album erfolgreich gelöscht.";
$lang['lightbox_delete_error'] = "Fehler beim Löschen deines Albums!";
$lang['delete_lightbox'] = "Album l&ouml;schen";
$lang['lighbox_lastaction'] = "Album zuletzt aktualisiert:";
$lang['delete_lightbox_confirm'] = "Willst du dein Album wirklich loeschen?";


************ ADD AFTER ************

//-----------------------------------------------------
//--- Warenkorb ---------------------------------------
//-----------------------------------------------------

$lang['warenkorb'] = "Warenkorb";
$lang['warenkorb_no_images'] = "Du hast keine Bilder in deinem Warenkorb.";
$lang['warenkorb_add_success'] = "Bild erfolgreich hinzugefügt.";
$lang['warenkorb_add_error'] = "Fehler beim Hinzufügen!";
$lang['warenkorb_remove_success'] = "Bild erfolgreich aus deinem Warenkorb entfernt.";
$lang['warenkorb_remove_error'] = "Fehler beim Löschen!";
$lang['warenkorb_register'] = "Um ein persönliche Warenkorb nutzen zu können, musst du ein registrierter Benutzer sein.<br />&raquo; <a href=\"{url_register}\">Jetzt registrieren</a>";
$lang['warenkorb_delete_success'] = "Dein Warenkorb wurde erfolgreich gelöscht.";
$lang['anzahl_verkleinern_success'] = "Artikel aus dem Warenkorb entfernt.";
$lang['warenkorb_delete_error'] = "Fehler beim L&ouml;schen deines Warenkorbs!";
$lang['delete_warenkorb'] = "Warenkorb l&ouml;schen";
$lang['warenkorb_lastaction'] = "Warenkorb zuletzt aktualisiert:";
$lang['delete_warenkorb_confirm'] = "Willst du dein Warenkorb wirklich l&ouml;schen?";
$lang['warenkorb_leer'] = "Du hast keine Bilder in deinem Warenkorb.";
$lang['price_1'] = "Preis:";



************ FIND IN lang/deutsch/admin.php ************

/*-- Setting-Group 7 --*/
$setting_group[7]="Session und User Einstellungen";
$setting['user_edit_image'] = "Dürfen User Ihre eigenen Bilder bearbeiten";
$setting['user_delete_image'] = "Dürfen User Ihre eigenen Bilder löschen";
$setting['user_edit_comments'] = "Dürfen User Kommentare zu Ihren eigenen Bildern bearbeiten";
$setting['user_delete_comments'] = "Dürfen User Kommentare zu Ihren eigenen Bildern löschen";
$setting['account_activation'] = "Account-Aktivierung";
$account_activation_optionlist = array(
  "0" => "Keine",
  "1" => "Per Email",
  "2" => "Durch den Admin"
);
$setting['activation_time'] = "Zeitraum in Tagen, in der User ihren Account aktivieren müssen. Danach wird der Eintrag gelöscht.<br /><span class=\"smalltext\">0 schaltet die Funktion aus, d.h. Useraccounts die nicht aktiviert werden, werden nicht gelöscht.</span>";
$setting['session_timeout'] = "Ablaufzeit der Sessions bei Usern ohne Aktion in Minuten";
$setting['display_whosonline'] = "Anzeigen des Moduls \"Wer ist online\". Bei Deaktivierung nur sichtbar für Administratoren";
$setting['highlight_admin'] = "Sollen Administratoren im Modul \"Wer ist online\" fett dargestellt werden";



************ IMPORTANT ************

Replace X with the last Setting-Group No. + 1 !!!
eg. $setting_group[8]

************ ADD AFTER ************

/*-- Setting-Group X --*/
$setting_group[X]="Warenkorb Einstellungen";
$setting['porto'] = "Versandtkosten";
$setting['bearbeitung'] = "Bearbeitungsgebühr";


************ FIND IN admin/settings.php ************

  show_form_footer($lang['save_changes'], "", 2);
}

show_admin_footer();


************ IMPORTANT ************

Replace X with the last Setting-Group No. + 1 !!!
eg. $setting_group[8] / #setting_group_8

************ ADD BEFORE ************

  show_table_separator($setting_group[X], 2, "#setting_group_X");
  show_setting_row("porto");
  show_setting_row("bearbeitung");


************ FIND IN admin/settings.php ************

function show_language_dir_select($setting_name, $setting_value) {
  echo "<select name=\"setting_item[".$setting_name."]\">";
  $handle = opendir(ROOT_PATH."lang");
  while ($folder = @readdir($handle)) {
    if (@is_dir(ROOT_PATH."lang/$folder") && $folder != "." && $folder != "..") {
      $folderlist[] = $folder;
    }
  }
  sort($folderlist);
  for($i = 0; $i < sizeof($folderlist); $i++) {
    echo "<option value=\"".$folderlist[$i]."\"";
    if ($setting_value == $folderlist[$i]) {
      echo " selected=\"selected\"";
    }
    echo ">".$folderlist[$i]."</option>\n";
  }
  closedir($handle);
  echo "</select>\n";
}


************ ADD AFTER ************

function warenkorb_select($setting_name, $setting_value) {
  global $warenkorb_optionlist;
  echo "<select name=\"setting_item[".$setting_name."]\">";
  foreach ($warenkorb_optionlist as $key => $val) {
    echo "<option value=\"$key\"";
    if ($setting_value == $key) {
      echo " selected=\"selected\"";
    }
    echo ">".$val."</option>";
  }
  echo "</select>";
}


************ FIND IN templates/default/details.html ************

<br />{lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}


************ ADD AFTER ************

&nbsp;&nbsp;{warenkorb_button}


************ FIND IN templates/default/tumbnail_bit.html ************

{lightbox_button}

************ ADD AFTER ************

&nbsp;&nbsp;{warenkorb_button}

************ FIND IN templates/default/user_logininfo.html ************

      &raquo; <a href="{url_lightbox}">{lang_lightbox}</a><br />


************ ADD BEFORE ************

      &raquo; <a href="{url_warenkorb}" title="{total_images_sum} Bilder">{lang_warenkorb}</a><br />



SAVE & CLOSE ALL FILES

Kleine Tips:
- Bilder können für den Verkauf gesperrt werden  :arrow: einfach Preis = 0.00 einstellen
- Im Admin Panel erscheint unter Plugins ein Menupunkt "Kundendaten". Hier werden alle Kunden mit ihren Daten aufgelistet
- Unter Allgemein >Einstellungen   lassen sich Bearbeitungsgebühr & Versandtkosten einstellen
- AGBs können per Allgemein > Templates bearbeiten   geändert werden
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Apollo13 on May 22, 2003, 07:43:11 PM
tolle sache. Werd eich mir mal anschauen!!!
Title: hi
Post by: kundera on May 22, 2003, 09:11:12 PM
hello, just two words : Very Nice!!!"
cool, it seems just having little prob in your code you send
after
"find in includes/function"
you send the same code for find and for replace :-)
 
so very good job :D
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on May 22, 2003, 09:20:24 PM
i want bugs. give me more bugs. But bugs in the code - not in the installtion text *g* :oops:
i fixed it.
THX

btw. würd mich freuen wenn jemand das ding zum laufen bringt mit nem eigenen style & es postet.
******* eng. *******
btw. i would be glad if someone get's it running with an own style / template and shows it off to us.

Hier mal Screenshots vom Kundenmenu:

(http://www.party-cam.org/4images_shop/images/kundendaten.gif)


(http://www.party-cam.org/4images_shop/images/kundendaten_d.gif)


P.S.: vielleicht will's auch jemand ins eng. übersetzen.
P.S.S.: ne bessere demo hat's unter www.party-cam.org/cam
Title: me again
Post by: kundera on May 22, 2003, 09:46:25 PM
so good, but thinks that the sql taable miss
'4images_kunden' & '4images_warenkorb' :-)
so i will translate that in french maybe helpfull for some of you, and gonna test to find bugs  :wink:
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on May 22, 2003, 09:59:22 PM
yes
they are/were missing. Just added it  :)

somewhere in the included files 4images_kunden is used instead of 'KUNDEN_TABLE'. I'll fix this bug in the next version.
So use "create 4images_kunden" and no other prefix  :!:
Title: so little prob :-)
Post by: kundera on May 22, 2003, 10:27:21 PM
not big bug, but if your table prefix isn't "4images_ ", have to change
in the files
Code: [Select]
4images_kunden
by
Code: [Select]
".KUNDEN_TABLE."

(for example in admin/plugins/kundendaten.php
//////////////////////////////////////////////////////////////////////
so that the first part of french translation in lang/french/main.php
 :arrow: before ?>
add :

Code: [Select]
$lang['warenkorb'] = "Votre caddy";
$lang['warenkorb_no_images'] = "Aucun article dans votre caddy.";
$lang['warenkorb_add_success'] = "Article ajouté avec succèst.";
$lang['warenkorb_add_error'] = "Erreur lors de l'ajout de l'article!";
$lang['warenkorb_remove_success'] = "Article ajoutée au panier.";
$lang['warenkorb_remove_error'] = "Article supprimé avec succès!";
$lang['warenkorb_register'] = "Pour activer votre caddy personnel, vous devez vous inscrire <a href=\"{url_register}\">Inscription</a>";
$lang['warenkorb_delete_success'] = "Caddy supprimé avec succès.";
$lang['anzahl_verkleinern_success'] = "L'article a été supprimer du caddy avec succès.";
$lang['warenkorb_delete_error'] = "Erreur lors de la suppression de l'image dans le caddy!";
$lang['delete_warenkorb'] = "Caddy supprimé";
$lang['warenkorb_lastaction'] = "Caddy actualisé :";
$lang['delete_warenkorb_confirm'] = "Voulez vous supprimer ces articles du caddy?";
$lang['warenkorb_leer'] = "Aucun article mémorisé dans le caddy.";
$lang['price_1'] = "Prix:";


gona do the admin, check this one and after do the english version, and continue test :-)

//////////////////update translation files  :!:  :!:  need to check :-)
 :arrow: in templates/{your template}/warenkorb_kunde.html
find :


Code: [Select]
<br><p><br><p>



    <table border=0 cellpadding=2 cellspacing=1 align=center width="100%" class="row3">

    <tr><td colspan="2" align=center><b>Adresse</b><br></td></tr>

    <tr>

      <td align="right" class="row1">Anrede:</td>

      <td class=row2>

      <select class="categoryselect"name="kunde_anrede">

      <option value="Herr" >Herr</option>

      <option value="Frau" >Frau</option>

      <option value="Firma" >Firma</option>

      </select>

      </td>

    </tr>
<table border=0 cellpadding=3 cellspacing=1 align=center width="100%" class="row2">

<tr>

<td>Bestelldaten</td>

<td width=175 align=center>Deine Kundennummer: {kunde_id}</td>

</tr>

</table>
   

    <tr>

      <td align="right" class="row1">Vorname:</td>

      <td class=row2><input class=input type="Text" name="kunde_vorname" size="25" maxlength="30" value="{kunde_vorname}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Nachname: *</td>

      <td class=row2><input class=input type="Text" name="kunde_nachname" size="25" maxlength="30" value="{kunde_nachname}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Firma:</td>

      <td class=row2><input class=input type="Text" name="kunde_firma" size="25" maxlength="30" value="{kunde_firma}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Strasse&nbsp;+&nbsp;Nr: *</td>

      <td class=row2><input class=input type="Text" name="kunde_str" size="25" maxlength="30" value="{kunde_str}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">PLZ: *</td>

      <td class=row2><input class=input type="Text" name="kunde_plz" size="5" maxlength="5" value="{kunde_plz}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Ort: *</td>

      <td class=row2><input class=input type="Text" name="kunde_ort" size="25" maxlength="30" value="{kunde_ort}"></td>

    </tr>

   



    <tr>

      <td align="right" class="row1">Telefon:</td>

      <td class=row2><input class=input type="Text" name="kunde_telefon" size="25" maxlength="30" value="{kunde_telefon}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Telefax:</td>

      <td class=row2><input class=input type="Text" name="kunde_telefax" size="25" maxlength="30" value="{kunde_telefax}"></td>

    </tr>



    </table>



<br><p>

    <!-- Liefer Adresse -->

    <table border=0 cellpadding=2 cellspacing=1 align="center" width="100%">

    <tr><td colspan="2">Lieferadresse, falls abweichend:</td></tr>

    <tr>

      <td align="right" class="row1">Anrede:</td>

      <td class="row2">

      <select class="categoryselect"name="liefer_anrede">

      <option value="Herr" >Herr</option>

      <option value="Frau" >Frau</option>

      <option value="Firma" >Firma</option>

      </select>

      </td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Vorname:</td>

      <td class=row2><input class=input type="Text" name="liefer_vorname" size="25" maxlength="30" value="{liefer_vorname}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Nachname:</td>

      <td class=row2><input class=input type="Text" name="liefer_nachname" size="25" maxlength="30" value="{liefer_nachname}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Firma:</td>

      <td class=row2><input class=input type="Text" name="liefer_firma" size="25" maxlength="30" value="{liefer_firma}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Strasse&nbsp;+&nbsp;Nr: *</td>

      <td class=row2><input class=input type="Text" name="liefer_str" size="25" maxlength="30" value="{liefer_str}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">PLZ:</td>

      <td class=row2><input class=input type="Text" name="liefer_plz" size="5" maxlength="5" value="{liefer_plz}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Ort:</td>

      <td class=row2><input class=input type="Text" name="liefer_ort" size="25" maxlength="30" value="{liefer_ort}"></td>

    </tr>

   

   

    <tr>

      <td align="right" class="row1">Telefon:</td>

      <td class=row2><input class=input type="Text" name="liefer_telefon" size="25" maxlength="30" value="{liefer_telefon}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Telefax:</td>

      <td class=row2><input class=input type="Text" name="liefer_telefax" size="25" maxlength="30" value="{liefer_telefax}"></td>

    </tr>



    </table>

<br><p><br><p>





    <!-- Zahlungsweise -->

    <table border=0 cellpadding=2 cellspacing=1 class=forumline width="60%">

    <tr><td colspan="2" class=topic>Zahlungsweise:</td></tr>

   

    <tr>

      <td align="right" class="row1">Zahlungsart:</td>

      <td class=row2>

      <select class="categoryselect"name="kunde_zahlungsart" >



      <option value="{kunde_zahlungsart}">{kunde_zahlungsart}</option>

      <option value="">- Bitte auswählen -</option>

      <option value="Bankeinzug" >Bankeinzug</option>

      <option value="Vorkasse" >Vorkasse</option>

      <option value="Rechnung" >Rechnung</option>

      </select>

      </td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Bank:</td>

      <td class=row2><input class=input type="Text" name="kunde_bank" size="22" maxlength="30" value="{kunde_bank}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">BLZ:</td>

      <td class=row2><input class=input type="Text" name="kunde_blz" size="22" maxlength="30" value="{kunde_blz}"></td>

    </tr>

   

    <tr>

      <td align="right" class="row1">Konto-Nr.:</td>

      <td class=row2><input class=input type="Text" name="kunde_kontonr" size="22" maxlength="30" value="{kunde_kontonr}"></td>

    </tr>

    </table>





<p>





    <table border=0 cellpadding=3 cellspacing=1 class="forumline" width="60%">

    <tr>

      <td>Bemerkung:</td>

    </tr>

    <tr>

      <td class="row2">Wenn Sie uns etwas mitteilen wollen:<br></td>

    </tr>

    <tr>

      <td class="row1"><textarea class="commenttextarea" name="kunde_bemerkung" rows="10" cols="30" wrap="virtual">{kunde_bemerkung}</textarea></td>

    </tr>

    </table>

   

<p align=left>

<input type="checkbox" name="kunde_conditions" value="checked" >

 Die Allgemeinen <a href="javascript:agbs()">Gesch&auml;ftsbedingungen</a> habe ich gelesen und erkenne sie hiermit an.

</p>

<center>

   <input class="button" type="Submit" name="submit" value="Speichern"><br><br>

</center>


Replace with :
//////////////////////////////////////////////////////////////////////////////////////
Code: [Select]

<table border=0 cellpadding=3 cellspacing=1 align="center" width="100%" >
                                                              <tr>
                                                                <td>{lang_client}</td>
                                                                <td width=175 align="center">{lang_client_number}{kunde_id}</td>
                                                              </tr>
                                                            </table>
                                                            <br>
                                                            <p><br>
                                                            <p>
                                                            <table border=0 cellpadding=2 cellspacing=1 align=center width="100%" class="row3">
                                                              <tr>
                                                                <td colspan="2" align=center><b>{lang_adresse}</b><br></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_kind}</td>
                                                                <td   >
                                                                  <select class="categoryselect"name="kunde_anrede">
                                                                    <option value="Herr" >Herr</option>
                                                                    <option value="Frau" >Frau</option>
                                                                    <option value="Firma" >Firma</option>
                                                                  </select> </td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_name}</td>
                                                                <td   ><input class=input type="Text" name="kunde_vorname" size="25" maxlength="30" value="{kunde_vorname}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_forname}</td>
                                                                <td   ><input class=input type="Text" name="kunde_nachname" size="25" maxlength="30" value="{kunde_nachname}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_firm}</td>
                                                                <td   ><input class=input type="Text" name="kunde_firma" size="25" maxlength="30" value="{kunde_firma}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_street}</td>
                                                                <td   ><input class=input type="Text" name="kunde_str" size="25" maxlength="30" value="{kunde_str}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_cp}</td>
                                                                <td   ><input class=input type="Text" name="kunde_plz" size="5" maxlength="5" value="{kunde_plz}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_town}</td>
                                                                <td   ><input class=input type="Text" name="kunde_ort" size="25" maxlength="30" value="{kunde_ort}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_phone}:</td>
                                                                <td   ><input class=input type="Text" name="kunde_telefon" size="25" maxlength="30" value="{kunde_telefon}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_fax}:</td>
                                                                <td   ><input class=input type="Text" name="kunde_telefax" size="25" maxlength="30" value="{kunde_telefax}"></td>
                                                              </tr>
                                                            </table>
                                                            <br>
                                                            <p>
                                                              <!-- Liefer Adresse -->
                                                            <table border=0 cellpadding=2 cellspacing=1 align="center" width="100%">
                                                              <tr>
                                                                <td colspan="2">{lang_client_shipping}</td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_firm}:</td>
                                                                <td >
                                                                  <select class="categoryselect"name="liefer_anrede">
                                                                    <option value="Herr" >Herr</option>
                                                                    <option value="Frau" >Frau</option>
                                                                    <option value="Firma" >Firma</option>
                                                                  </select> </td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_name}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_vorname" size="25" maxlength="30" value="{liefer_vorname}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_forname}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_nachname" size="25" maxlength="30" value="{liefer_nachname}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_firm}</td>
                                                                <td   ><input class=input type="Text" name="liefer_firma" size="25" maxlength="30" value="{liefer_firma}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_street}</td>
                                                                <td   ><input class=input type="Text" name="liefer_str" size="25" maxlength="30" value="{liefer_str}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_cp}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_plz" size="5" maxlength="5" value="{liefer_plz}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_street}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_ort" size="25" maxlength="30" value="{liefer_ort}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_phone}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_telefon" size="25" maxlength="30" value="{liefer_telefon}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_fax}:</td>
                                                                <td   ><input class=input type="Text" name="liefer_telefax" size="25" maxlength="30" value="{liefer_telefax}"></td>
                                                              </tr>
                                                            </table>
                                                            <br>
                                                            <p><br>
                                                            <p>
                                                              <!-- Zahlungsweise -->
                                                            <table border=0 cellpadding=2 cellspacing=1 class=forumline width="60%">
                                                              <tr>
                                                                <td colspan="2" >{lang_client_shipping_rules}</td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_payement}:</td>
                                                                <td   >
                                                                  <select class="categoryselect"name="kunde_zahlungsart" >
                                                                    <option value="{kunde_zahlungsart}">{kunde_zahlungsart}</option>
                                                                    <option value="">-
                                                                    Bitte auswählen
                                                                    -</option>
                                                                    <option value="Bankeinzug" >Bankeinzug</option>
                                                                    <option value="Vorkasse" >Vorkasse</option>
                                                                    <option value="Rechnung" >Rechnung</option>
                                                                  </select> </td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_bank}:</td>
                                                                <td   ><input class=input type="Text" name="kunde_bank" size="22" maxlength="30" value="{kunde_bank}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_blzt}:</td>
                                                                <td   ><input class=input type="Text" name="kunde_blz" size="22" maxlength="30" value="{kunde_blz}"></td>
                                                              </tr>
                                                              <tr>
                                                                <td align="right"  >{lang_client_count_nbr}:</td>
                                                                <td   ><input class=input type="Text" name="kunde_kontonr" size="22" maxlength="30" value="{kunde_kontonr}"></td>
                                                              </tr>
                                                            </table>
                                                            <p>
                                                            <table border=0 cellpadding=3 cellspacing=1  width="60%">
                                                              <tr>
                                                                <td>{lang_client_info}</td>
                                                              </tr>
                                                              <tr>
                                                                <td >{lang_client_info_txt}<br></td>
                                                              </tr>
                                                              <tr>
                                                                <td  ><textarea class="commenttextarea" name="kunde_bemerkung" rows="10" cols="30" wrap="virtual">{kunde_bemerkung}</textarea></td>
                                                              </tr>
                                                            </table>
                                                            <p align=left>
                                                              <input type="checkbox" name="kunde_conditions" value="checked" >
                                                              {lang_client_agreement}</p>
                                                            <center>
                                                              <input class="button" type="Submit" name="submit" value="Speichern">
                                                              <br>
                                                              <br>
                                                            </center>


 :arrow: in
find
////////////////////////////////////////////////////////////////////////////////////

Code: [Select]

"kunde_blz" => $kunde_info['kunde_blz']


replace with
////////////////////////////////////////////////////////////////////////////////
Code: [Select]
"kunde_blz" => $kunde_info['kunde_blz'],
"lang_client" => $lang['client'],
"lang_client_number" => $lang['client_number'],
"lang_client_adresse" => $lang['client_adresse'],
"lang_client_kind" => $lang['client_kind'],
"lang_client_name" => $lang['client_name'],
"lang_client_forname" => $lang['client_forname'],
"lang_client_firm" => $lang['client_firm'],
"lang_client_street" => $lang['client_street'],
"lang_client_cp" => $lang['client_cp'],
"lang_client_town" => $lang['client_town'],
"lang_client_phone" => $lang['client_phone'],
"lang_client_fax" => $lang['client_fax'],
"lang_client_shipping" => $lang['client_shipping'],
"lang_client_firm" => $lang['client_firm'],
"lang_client_firm_name" => $lang['client_firm_name'],
"lang_client_shipping_rules" => $lang['client_shipping_rules'],
"lang_client_payement" => $lang['client_payement'],
"lang_client_bank" => $lang['client_bank'],
"lang_client_bltz" => $lang['client_bltz'],
"lang_client_count_number" => $lang['client_count_nbr'],
"lang_client_agreement" => $lang['client_agreement']


 :arrow:  in lang/french/main.php before
Code: [Select]
?>

add :
//////////////////////////////////////////////////////////////////////:
Code: [Select]
$lang['client'] = "Prix:"
$lang['client_number'] = "Numéro de client"
$lang['client_adresse'] = "Adresse"
$lang['client_kind'] = "Civilité"
$lang['client_name'] = "Nom"
$lang['client_forname'] = "Prénom"
$lang['client_firm'] = "Entreprise"
$lang['client_street'] = "Adresse"
$lang['client_cp'] = "Code postal"
$lang['client_town'] = "Ville"
$lang['client_phone'] = "Tel"
$lang['client_fax'] = "Fax"
$lang['client_shipping'] = "Destinataire de l'envoie"
$lang['client_firm'] = "Entreprise"
$lang['client_firm_name'] = "Nom de l'entreprise"
$lang['client_shipping_rules'] = "Modalité de payement"
$lang['client_payement'] = "Mode de payement"
$lang['client_bank'] = "Banque"
$lang['client_bltz'] = "?"
$lang['client_count_nbr'] = "Numéro de compte:"
$lang['client_agreement'] = "Je certifie avoir pris connaissance des termes d'utilisations et des conditions de vente"
Title: [Mod] [Beta] Shop Mod für 4images
Post by: toto1 on May 23, 2003, 09:17:01 AM
yes good mod thk

i am translate to french
Title: saluté
Post by: kundera on May 23, 2003, 12:05:48 PM
salut toto, bon si jamais on peut se repartir le boulot pour la traduction, histoir que ca aille plus vite :-)

So i think there is another miss code, i didn't find the code for adding/deleting image to cart.(or maybee bad link) (in thumbail page and detail page)
So can't see if the sytem is runing :-) :wink:

another thinks, maybe for updating the validation of the form, it will be better to use the check system of 4images (like reegister) instead of using a error window?
gona try to do it  :wink:
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on May 23, 2003, 02:02:03 PM
*arrg*

there were more mistakes in the installation text than i tought  :oops:

fixed:
Code: [Select]
************ FIND IN templates/default/details.html ************

<br />{lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}

************ ADD AFTER ************

&nbsp;&nbsp;{warenkorb_button}


and added:
Code: [Select]
************ FIND IN templates/default/tumbnail_bit.html ************

{lightbox_button}

************ ADD AFTER ************

&nbsp;&nbsp;{warenkorb_button}


You can use {warenkorb_button_kl} to have a different button for thumbnail view. Create your buttons with the names
warenkorb_off_kl.gif
warenkorb_yes_kl.gif
warenkorb_no_kl.gif

and upload them to 4images/templates/default/images
Title: Re: saluté
Post by: toto1 on May 24, 2003, 05:24:06 AM
Quote from: kundera
salut toto, bon si jamais on peut se repartir le boulot pour la traduction, histoir que ca aille plus vite :-)

So i think there is another miss code, i didn't find the code for adding/deleting image to cart.(or maybee bad link) (in thumbail page and detail page)
So can't see if the sytem is runing :-) :wink:

another thinks, maybe for updating the validation of the form, it will be better to use the check system of 4images (like reegister) instead of using a error window?
gona try to do it  :wink:


no proleme je finit l'install car j'ai un probleme pour afficher un prix ainsi que l'image du panier apres no probleme :)
Title: is there
Post by: mantra on May 24, 2003, 06:40:54 AM
is there any in english, yet [lang ] :roll:
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on May 24, 2003, 09:39:23 AM
not "yet" *g*
it seems nobody wants it...  :roll:
and the german-frensh connection gets better and better  :lol:

But it would be better to write in one language. e.g. english?

Quote
no proleme je finit l'install car j'ai un probleme pour afficher un prix ainsi que l'image du panier apres no probleme

if i understand it right:
u have to change the default value in the MYSQL Database

edit 4images_images table and insert e.g. 0.29 or 1.99 for price_1

MYSQL Command
Code: [Select]
ALTER TABLE `4images_images` CHANGE `price_1` `price_1` DECIMAL( 12, 2 ) DEFAULT '0.39' NOT NULL
replace '0.39' with your default value
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Shap on May 24, 2003, 09:56:24 AM
Anyone know how to translate this page to english?

thx
Title: [Mod] [Beta] Shop Mod für 4images
Post by: drhtm on May 24, 2003, 10:38:15 AM
Quote from: Shap
Anyone know how to translate this page to english?

thx



try this http://translate.google.com/translate?sourceid=navclient&hl=en&u=http%3A%2F%2Fwww%2E4homepages%2Ede%2Fforum%2Fviewtopic%2Ephp%3Fp%3D25203%2325203
Title: fix
Post by: party-cam.org on May 24, 2003, 02:02:16 PM
IMPORTANT BUGFIX  :!:
adjust    $site_email->set_to("info@party-cam.org");  in bestellung.php to your eMail or  
   
Code: [Select]
   $site_email->set_to($config['site_email']);


P.S.: the whole code:
Code: [Select]
   $site_email = new Email();
    $site_email->set_to("info@party-cam.org");
    $site_email->set_from($config['site_email'], $config['site_name']);
    $site_email->set_subject("Neue Bestellung eines Kunden");
    $site_email->register_vars(array(
      "user_name" => $user_info['user_name'],
      "recipient_name" => $recipient_name,
      "site_name" => $config['site_name'],
      "user_email" => $user_info['user_email'],
      "images" => $images,
        "total_sum" => $total_sum,
   "total_images_sum" => $total_images_sum,
   "bearbeitung" => $bearbeitung,
   "sum_porto_bear" => $sum_porto_bear,
  "porto" => $porto,
        "kunde_id" => $kunde_info['kunde_id'],
   "kunde_nachname" => $kunde_info['kunde_nachname'],
   "kunde_vorname" => $kunde_info['kunde_vorname'],
   "kunde_firma" => $kunde_info['kunde_firma'],
   "kunde_plz" => $kunde_info['kunde_plz'],
   "kunde_str" => $kunde_info['kunde_str'],
   "kunde_ort" => $kunde_info['kunde_ort'],
   "kunde_telefon" => $kunde_info['kunde_telefon'],
   "kunde_telefax" => $kunde_info['kunde_telefax'],
   "kunde_zahlungsart" => $kunde_info['kunde_zahlungsart'],
   "kunde_bemerkung" => $kunde_info['kunde_bemerkung'],
   "kunde_bank" => $kunde_info['kunde_bank'],
   "kunde_kontonr " => $kunde_info['kunde_kontonr '],
   "kunde_blz" => $kunde_info['kunde_blz'],
   "liefer_anrede" => $kunde_info['liefer_anrede'],
   "liefer_nachname" => $kunde_info['liefer_nachname'],
   "liefer_vorname" => $kunde_info['liefer_vorname'],
   "liefer_firma" => $kunde_info['liefer_firma'],
   "liefer_plz" => $kunde_info['liefer_plz'],
   "liefer_str" => $kunde_info['liefer_str'],
   "liefer_ort" => $kunde_info['liefer_ort'],
   "liefer_telefon" => $kunde_info['liefer_telefon'],
  "liefer_telefax" => $kunde_info['liefer_telefax'],
  "bestellung_nr" => $kunde_info['bestellung'],



          ));
    $site_email->set_body("bestellung_admin_email", $config['language_dir']);
    $site_email->send_email();
Title: hello
Post by: kundera on May 26, 2003, 08:32:59 PM
:!: all the mod is not finish to convert in english, but come soon
 :!: There is the news files to be easiest for all to work at it

so i have work for convert the mod in english version
for the moment, need to check and to finish to traduce, but the sql table, the name of files, and some bug are replace.

you can find here.
This version will be finish tomorow, but if somebody want help mee to correct all the bug, i will be happy lol)

so this is the package with the installation file :
Tell me if you find another bug

http://www.adcity.fr/4images/shop_update.zip
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Iboker on June 03, 2003, 10:46:02 PM
Ich hab alles so gemacht wie party-cam.org es beschrieben hat. Fotos in den Warenkorb einfügen, löschen, Anzahl verändern, funktioniert alles :)
Doch die Versandkosten & Bearbeitungsgebühren werden nicht berechnet, obwohl sie in der Datenbank mit 1.50 € bzw. 0.79 € eingetragen sind.
Habe bei den Gebühren auch schon , statt . probiert. Ging aber auch nicht :(
Weiß jemand Rat?
Oder weiß jemand, wo der Endpreisberechnet wird?



mrX
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on June 04, 2003, 12:32:32 AM
"kleiner" Fehler:

der "Warenkorb Summen" block ist nicht überall korrekt

Quote
//-----------------------------------------------------
//--- Warenkorb Summen --------------------------------
//-----------------------------------------------------


      $sql = "SELECT sum( w.image_quantity * i.price_1 ) AS total_price
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i
      WHERE image_active = 1
      AND w.user_id = ".$kunde."
      AND i.image_id = w.warenkorb_image_id";

  $result = $site_db->query_firstrow($sql);
$total_sum = $result['total_price'];
$porto = $config['porto'];
$bearbeitung = $config['bearbeitung'];

$sum_porto_bear_t = ($total_sum + $porto + $bearbeitung);
$sum_porto_bear = FormatPrice ($sum_porto_bear_t);

$total_sum = FormatPrice ($total_sum);
$porto = FormatPrice ($config['porto']);
$bearbeitung = FormatPrice ($config['bearbeitung']);


      $sql = "SELECT sum( w.image_quantity) AS total_images_sum
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i
      WHERE image_active = 1
      AND w.user_id = ".$kunde."
      AND i.image_id = w.warenkorb_image_id";

  $result = $site_db->query_firstrow($sql);
$total_images_sum = $result['total_images_sum'];

$site_template->register_vars(array(
  "total_sum" => $total_sum,
  "total_images_sum" => $total_images_sum,
  "bearbeitung" => $bearbeitung,
  "sum_porto_bear" => $sum_porto_bear,
  "porto" => $porto
  ));


den alten Block durch den obigen in
warenkorb.php, quittung.php, warenkorb.php
ersetzen
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Iboker on June 04, 2003, 11:19:45 AM
Noch ein kleines Problem ist aufgetreten:
Die Bestätigungsemails sowohl für den Benutzer als auch für den Admin werden nicht als HTML dargestellt, sondern kommen als Quelltext an.
Am eMailprogramm liegt's nicht, weil ich schon öfters HTML-eMails bekommen habe.


sebastian
ps: danke für die flotte hilfe!
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on June 04, 2003, 11:24:06 AM
dann hast du das nicht gemacht:


Code: [Select]
************ FIND IN includes/email.php ************

function create_header() {
    global $config;
    $header = "";


************ After $header = ""; add the following line:  ************

$header .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
Title: [Mod] [Beta] Shop Mod für 4images
Post by: wenzel-orf on June 07, 2003, 10:47:17 PM
Quote from: party-cam.org
"kleiner" Fehler:

der "Warenkorb Summen" block ist nicht überall korrekt

Quote from: party-cam.org

den alten Block durch den obigen in
warenkorb.php, quittung.php, warenkorb.php
ersetzen


könntest du bitte das mal etwas präziser beschreiben? Ein solcher Block taucht nicht in den beschriebenen Dateien auf. Wohl aber in der page_header.php. Es wäre nicht schlecht, wenn du die Dateien in der rar mal auf ihren Stand überprüfen und die erkannten Fehler ausmerzen könntest.


Danke für deine Mühe!
Robert
Title: Frage...
Post by: erdnuss on June 11, 2003, 09:11:22 AM
Hallo zusammen,
schöner Mod, vielen Dank dafür, ich hab aber trotzdem noch vier Fragen:

1) Wäre es nicht sinnvoll, den Download Button zu canceln, bzw. erst nach einer Bestellung freizugeben, ansonsten geht man über Download und hat das Bild trotzdem. Weiß jemand wie man das umsetzen kann?

2) In includes/functions.php kann ich leider nicht die entsprechenden Zeilen finden, welche im Installations Guide beschrieben sind, könnte man die ZIP Datei nicht auf den neuesten Stand bringen?

3) in meiner Version, kommen leider keine Warenkorb Buttons zum Vorschein. Habe nun schon alles dreimal durchforstet, aber leider nix gefunden, wodran das liegen könnte, weiß jemand Rat?

4) Die Warenkorb Summen, in welche Datei?!

Vielen Dank für die Mühe
Jens
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Iboker on June 12, 2003, 10:49:19 AM
Zu 1. kann ich dir eine Antwort geben:
Wenn du z.B. Fotos "verkaufen" möchtest, dann versehe sie mit einem Wasserzeichen stelle sie mit einer mäßigen Qualität (72 dpi, geringe Breite und Höhe, usw) in deine Gallery. Wenn jetzt der Benutzer auf Downloaden geht, bekommt er nur eine schlechte Qualität. Würde er das Foto kaufen, so bekäme er z.B. ein Foto mit den Maßen 2560x1920 und 300 dpi, womit sich durchaus sehr gute Druckergebnisse erzielen lassen.
Oder aber du (oder Fotoservice) druckst ihm auf hochwertigen Fotopapier die Fotos aus und sendest sie ihm nach Hause.
Mit dem Qualitätsunterschied kannst du dann werben ;)
Title: [Mod] [Beta] Shop Mod für 4images
Post by: tomster on June 12, 2003, 05:09:18 PM
Hallo,

schöne Sache mit dem Shop Mod!
Eine Frage nur: Gibt es eine Möglichkeit, für ein Bild verschiedene Preise (Variationen) einzubinden?
Ich denke da an einen Service, die Bilder in verschiedenen Größen oder komplett mit Rahmung anzubieten.

Gruß,
Thomas
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on June 12, 2003, 06:34:36 PM
die möglichkeit gibt es. jedoch jetz noch nicht.

die nächste version kommt auf jeden fall, aber bei den temperaturen fällt's halt schwer, besonders wenn man sonst noch tätig ist.  :oops:
Title: any progress
Post by: mantra on June 13, 2003, 02:42:17 AM
any progress in engglish yet????
Title: [Mod] [Beta] Shop Mod für 4images
Post by: Iboker on June 14, 2003, 10:11:10 PM
Die AGBs wollen noch nicht so recht angezeigt werden. Im Adminbereich kann ich die AGBs erstellen/ändern, sie werden im "Warenkorb" jedoch nicht angezeigt (Seite wird nicht gefunden). Ich vermute, dass die Datei agb.php (passen zum agbs.html-Template) fehlt.
Title: missing html
Post by: ropey on June 15, 2003, 10:03:39 PM
I see that in your demo, after placing an order, i receive a nice email.
the only problem is that you forgot an </html> at the end.
Title: I like this very much but canthis be added :
Post by: larissa on June 19, 2003, 01:40:10 PM
I like this very much but canthis be added :

I would like to have the cart gif to be displayed only at the bottom of certain images or categories .
Or at least to have it disabled on images   I do not want to "sell"
....only certains images not all of them...

Can someonehelp me ??
Thanks in advance
LArissa
Title: [Mod] [Beta] Shop Mod für 4images
Post by: lutz on June 19, 2003, 06:12:19 PM
hallo zusammen,
ich bin äußerst interessiert an diesem mod, denn ich möchte gerne bilder zum verkauf anbieten können. bis jetzt war ich zwar nicht der meinung, daß man es mit einem warenkorbsystem machen sollte, aber ich hab´s trotzdem gerne ausprobiert. leider habe ich folgendes problem:
es ist mir nicht möglich den warenkorb-button betätigen zu können, d.h. er ist nicht anklickbar...
es wird ständig das warenkorb_no.gif angezeigt und ich bin mir keines installationsfehlers bewußt.

darüberhinaus fehlt natürlich die entscheidende funktion, die erdnuss schon erkannt hat:
Quote
1) Wäre es nicht sinnvoll, den Download Button zu canceln, bzw. erst nach einer Bestellung freizugeben, ansonsten geht man über Download und hat das Bild trotzdem.

das isses natürlich! es ist schon ein problem, wenn man die bilder nach erfolgter bestellung selber zum kunden mailen muß. das würde ich ja als kunde auch nicht nachvollziehen können.
das soll jetzt um gottes willen keine kritik an diesem mod sein! nur ein hinweis darauf, wie man ihn vervollkommnen könnte...  :wink:
wer, wie bestimmt einige andere in diesem forum auch, die großen originaldaten zum download anbietet (da gips ja zum glück auch einen hervorragenden mod dafür!), dem fehlt diese eine konsequente ergänzung leider... :cry:

ich würde wirklich wahnsinnig gerne beim scripten helfen, kann aber nix wirklich außer knipsen, sorry!!
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on June 19, 2003, 08:40:45 PM
Also das Warenkorb System ist NICHT dafür gedacht, Bilderdownloads zu verkaufen, sondern für Versandt von Bildern (z.B. als Abzüge, original Gemälde, Negative, ...). Eine Mengenanzahl ist beim Download auch ziemlich unsinnig...
Man kann es dafür verwenden, dabei treten gewisse Probleme auf:
Quote
es ist schon ein problem, wenn man die bilder nach erfolgter bestellung selber zum kunden mailen muß. das würde ich ja als kunde auch nicht nachvollziehen können.

Ich denke, dass sich keiner der eine 4images Bilder Gallery ein automatisches Bezahlsystem von einer Bank (mit Lastschrifteneinzug o.ä.) leisten kann. Daher muss der Bezahlvorgang manuell kontrolliert werden, wodruch die Zustellung der Bilder sowie unabhängig vom Warenkorbsystem laufen kann.

Die einzige Lösung beim Bilderdownload ist ja wohl, dass der Kunde NACH Zahlungsbestätigung über eine Downloadmöglichkeit benachrichtigt wird. ("live" bezahlung geht hier einfach nicht.). Man könnte noch eine Funktion erstellen, die automatisch aus den original Dateien (in hoher Auflösung) der bestellten Bilder ein ZIP File erstellt, das dann nur für den einen Benutzer für eine bestimmt Zeit downloadbar ist.
Andere allgemeine Vorschläge dafür???

Auf jeden Fall wird das Mod primär in Richtung Warenkorb für Versandt  gebufixt und weiterentwickelt.

zu "nicht anklickbar":
Der warenkorb ist nicht anklickbar, wenn man gast ist oder der Preis des Bildes 0.00 ist.

Quote
I would like to have the cart gif to be displayed only at the bottom of certain images or categories

If the Image Price ist set to '0.00' the cart button isn't clickable. Make the button "warenkorb_off.gif" 100% transparent  :arrow: no button is displayed.


zu den AGB's:
mit diesem Code einen agbs.php erstellen
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File&#58; agbs.php                                            *
 *        Copyright&#58; &#40;C&#41; 2002 Jan Sorgalla                                *
 *            Email&#58; jan@4homepages.de                                    *
 *              Web&#58; http&#58;//www.4homepages.de                             *
 *    Scriptversion&#58; 1.7                                                  *
 *                                                                        *
 *    Never released without support from&#58; Nicky &#40;http&#58;//www.nicky.net&#41;   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen &#40;Lizenz.txt&#41; für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    &#40;Licence.txt&#41; for further information.                              *
 *                                                                        *
 *************************************************************************/

$templates_used 'agbs,category_bit,whos_online,thumbnail_bit';
$main_template 'agbs';

define&#40;'GET_CACHES', 1&#41;;
define&#40;'ROOT_PATH', './'&#41;;
define&#40;'GET_USER_ONLINE', 1&#41;;
include&#40;ROOT_PATH.'global.php'&#41;;
require&#40;ROOT_PATH.'includes/sessions.php'&#41;;
$user_access get_permission&#40;&#41;;

if &#40;isset&#40;$HTTP_GET_VARS['template'&#93;&#41; || isset&#40;$HTTP_POST_VARS['template'&#93;&#41;&#41; &#123;
  
$template = &#40;isset&#40;$HTTP_GET_VARS['template'&#93;&#41;&#41; ? stripslashes&#40;trim&#40;$HTTP_GET_VARS['template'&#93;&#41;&#41; &#58; stripslashes&#40;trim&#40;$HTTP_POST_VARS['template'&#93;&#41;&#41;;
  
if &#40;!file_exists&#40;TEMPLATE_PATH."/".$template.".".$site_template->template_extension&#41;&#41; &#123;
    
$template "";
  &
#125;
  
else &#123;
    
$main_template $template;
  &
#125;
&#125;
else &#123;
  
$template "";
&
#125;
include&#40;ROOT_PATH.'includes/page_header.php'&#41;;

if &#40;!empty&#40;$template&#41;&#41; &#123;
  
$clickstream "<a href=\"".$site_sess->url&#40;ROOT_PATH."index.php"&#41;."\">".$lang['home'&#93;."</a>".$config['category_separator'&#93;.str_replace&#40;"_", " ", ucfirst&#40;$template&#41;&#41;;
  
$site_template->register_vars&#40;"clickstream", $clickstream&#41;;
  
$site_template->print_template&#40;$site_template->parse_template&#40;$main_template&#41;&#41;;
  
include&#40;ROOT_PATH.'includes/page_footer.php'&#41;;
&#125;


//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars&#40;array&#40;
  
"msg" => $msg,
  
"clickstream" => $clickstream
&#41;&#41;;
$site_template->print_template&#40;$site_template->parse_template&#40;$main_template&#41;&#41;;
include&#40;ROOT_PATH.'includes/page_footer.php'&#41;;
?>




Was es in den kommenden Updates geben wird / upcoming updates:
- verschiedene Preise pro Bild / different pirces per image
- multilanguge Support / multilanguge Support
- mehrwertsteuer/umsatzsteuer / sales tax
- evtl. mehrere Währungen / different currencies
- Guthabenkonto für jeden Kunden / credit account for your clients


Nochmal was allgemeines für alle:
Der Shop ist BETA  (nicht vergessen!)
Der Shop ist OpenSource und das heisst:
- Arbeitet mit & an ihm! Er ist nur die Grundlage. Jeder Shop hat seinen eigenen "Bedürfnisse". Deshalb sollte man schon ein paar php kenntnisse mitbringen und ihn für sich anpassen.
- daher ist er auch voller "Fehler". Es gibt keine Lösung die für alle passt.

Danke an alle die das Ding mitgestalten.
THX @ all who help to create the shop and translate it in other languages.
Title: [Mod] [Beta] Shop Mod für 4images
Post by: lutz on June 20, 2003, 12:16:14 AM
also, deine idee:
Quote
...dass der Kunde NACH Zahlungsbestätigung über eine Downloadmöglichkeit benachrichtigt wird. ("live" bezahlung geht hier einfach nicht.). Man könnte noch eine Funktion erstellen, die automatisch aus den original Dateien (in hoher Auflösung) der bestellten Bilder ein ZIP File erstellt, das dann nur für den einen Benutzer für eine bestimmt Zeit downloadbar ist...
kenne ich von der http://www.ZEFA.de und ich finde sie ganz hervorragend! ich dachte aber, das wäre so dermaßen schwierig und kompliziert umzusetzen, daß man sowas hier lieber gar nicht erst ansprechen sollte.
da weckst du nun natürlich hoffnungen...  :wink:

Quote
Ich denke, dass sich keiner der eine 4images Bilder Gallery ein automatisches Bezahlsystem von einer Bank (mit Lastschrifteneinzug o.ä.) leisten kann.
das brauch man sich auch gar nicht leisten. ich würde nur gerne eine konkrete, detaillierte rechnung verschicken können und das kann ich ja wunderbar, dank dieser ausführlichen mailnachricht. da kann man übrigens bei "mehrfachtätern" ja auch sammelrechnungen machen, das is für beide seiten eh angenehmer.

zusammenfassend kann ich sagen, daß ich deine idee von der zeitlich begrenzten download-berechtigung für den königsweg halte! mehr brauch man nicht. ich hoffe nur, daß sich noch andere dafür interessieren, denn ich kann ja wohl kaum darauf hoffen, daß ihr sowas für einen einzigen 4images-betreiber entwickelt. beim durchschauen der referenz-seiten anderer 4images benutzer habe ich aber hier und da seiten gesehen, die ebenfalls hires-daten anbieten. vielleicht hätten die ja auch interesse? mal schaun, wer sich noch so meldet.

danke erstmal überhaupt für die ausführliche antwort auf meine bemerkungen.
Title: [Mod] [Beta] Shop Mod für 4images
Post by: erdnuss on June 20, 2003, 11:13:54 AM
Quote
also, deine idee: ...dass der Kunde NACH Zahlungsbestätigung über eine Downloadmöglichkeit benachrichtigt wird. ("live" bezahlung geht hier einfach nicht.). Man könnte noch eine Funktion erstellen, die automatisch aus den original Dateien (in hoher Auflösung) der bestellten Bilder ein ZIP File erstellt, das dann nur für den einen Benutzer für eine bestimmt Zeit downloadbar ist
da weckst du nun natürlich hoffnungen...


Genau sowas wäre eine feine Sache. So etwas würde ich mir auch wünschen! Dachte auch, dass es eine schwierige Programmierung wäre. Hoffnung :o

Quote
Ich denke, dass sich keiner der eine 4images Bilder Gallery ein automatisches Bezahlsystem von einer Bank (mit Lastschrifteneinzug o.ä.) leisten kann.das brauch man sich auch gar nicht leisten. ich würde nur gerne eine konkrete, detaillierte rechnung verschicken können und das kann ich ja wunderbar, dank dieser ausführlichen mailnachricht. da kann man übrigens bei "mehrfachtätern" ja auch sammelrechnungen machen, das is für beide seiten eh angenehmer.


Dachte auch an manueller Rechnungsversendung. Dabei muß sich der User zuerst vollständig registrieren und darf Bilder downloaden, bekommt aber danach immer ne Rechnung zugesendet.

Ggf. könnte man auch ein User Downloadlimit einstellen (geht sowas?!), der User der das erste Mal downloaded und noch nie bezahlt halt, darf bis zum eintreffen des ersten Geldes nur xy Bilder downloaden, danach kann man die Zahl hochstellen.

Kann man in die Richtung auch einige erwähnten Funktionen einrichten?!
Viele Grüße
Jens
Title: [Mod] [Beta] Shop Mod für 4images
Post by: rustynet on June 21, 2003, 07:13:51 PM
Wenn ich diese mod benutze, muß ich dann für diese skript 99€ zahlen?
Title: [Mod] [Beta] Shop Mod für 4images
Post by: lutz on June 21, 2003, 07:18:37 PM
Quote
...muß ich dann für diese skript 99€ zahlen?

wo ist das problem??
Title: [Mod] [Beta] Shop Mod für 4images
Post by: rustynet on June 21, 2003, 07:36:49 PM
Nur eine Frage, ich habe natürlich kein Problem zu bezahlen, das Skript ist ja sehr gut.
Ich hoffe nur, dass in der nachste version solche mod schon integriert ist. :D

So...muß ich denn zahlen wenn ich diese mod benutze?
Title: [Mod] [Beta] Shop Mod für 4images
Post by: erdnuss on June 21, 2003, 07:39:43 PM
Quote from: boti
Wenn ich diese mod benutze, muß ich dann für diese skript 99€ zahlen?


Wenn Du diese Skript kommerziell nutzen willst und mit diesem Mod wird es wohl eine kommerzielle Nutzung, dann solltest Du 99 € bezahlen. Und das ist, denke ich jedenfalls, eine gute Investition.
Title: [Mod] [Beta] Shop Mod für 4images
Post by: xtase on June 23, 2003, 11:46:37 PM
Quote from: lutz
hallo zusammen,
 leider habe ich folgendes problem:
es ist mir nicht möglich den warenkorb-button betätigen zu können, d.h. er ist nicht anklickbar...
es wird ständig das warenkorb_no.gif angezeigt und ich bin mir keines installationsfehlers bewußt.


genau dasselbe probleme habe ich auch aber ich bin angemeldet also kein gast und habe die installation schon 5 mal kontrolliert bast alles 100%  :roll:

habe in ne frische Gallery den Shop eingebaut, bin eingeloggt aber ich kan den Korb ned anklicken  :cry:

bei mir ist allerdings folgendes bild nicht hinterlegt -> warenkorb_no_kl.gif also was das im unterschied zum lutz macht ... keine ahnung ... +g+

weiters habe ich noch was festgestellt laut anleitung muss man in der includes/functions.php folgende stelle suchen ..

Quote
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=\"Dieses Bild aus deinem Album entfernen\" /></a>";
      $lightbox_button_kl = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\"Dieses Bild aus deinem Album entfernen\" /></a>";
    }
    else {
      $lightbox_url .= "action=addtolightbox&amp;id=".$image_row['image_id'];
      $lightbox_button = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_no.gif")."\" border=\"0\" alt=\"Dieses Bild zu deinem Album hinzufügen\" /></a>";
      $lightbox_button_kl = "<a href=\"".$site_sess->url($lightbox_url)."\"><img src=\"".get_gallery_image("lightbox_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Dieses Bild zu deinem Album hinzufügen\" /></a>";
    }
  }
  else {
    $lightbox_button = "<img src=\"".get_gallery_image("lightbox_off.gif")."\" border=\"0\" alt=\"\" />";
    $lightbox_button_kl = "<img src=\"".get_gallery_image("lightbox_off_kl.gif")."\" border=\"0\" align=\"right\" alt=\"\" />";
  }



Diese Stelle gibts bei mir nicht die lautet so ... sie hat kleine unterschiede ...

Quote
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)."\"><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=\"\" />";
  }


aber irgendwas muss an der stelle falsch sein denn an der happerst ja drum ist mein zeug auch nicht verlinkt  :roll:

ich hoffe es kann mir wer helfen ... :)

Bitte Danke
Title: [Mod] [Beta] Shop Mod für 4images
Post by: xtase on June 23, 2003, 11:56:20 PM
ach schei**e :D

habs selber rausgefunden da war kein preis bei den bildern dabei +g+ ... käse ... +g+

aber die sache mit der anleitung wäre trotzdem noch cool wenn man das klären könnte vor allem wenn dann die fragen kommen das sie das in der datei nicht finden was sie suchen wollen  :roll:  :D

Gute Nacht
Title: [Mod] [Beta] Shop Mod für 4images
Post by: party-cam.org on June 25, 2003, 04:57:56 PM
upsa, das sind sachen die man in der anleitung nicht bedenkt *g*

ich habe bei mir für den Warenkorb & die Lightbox mit dem Zusatz "_kl" einen weiteren Button hinzugefügt, der somit genau die selbe Funktion hat, jedoch kann man dadurch für die Thumbnail und Detailansicht 2 verschiedene Buttons verwenden. Äußerst praktisch, wenn man in der Übersicht ein bisschen Platz sparen will.
Title: [Mod] [Beta] Shop Mod für 4images
Post by: xtase on June 25, 2003, 06:12:54 PM
halb so wild +g+

nur wenn du schon bei der readme fixen dabei bist kannst die sache mit dem $porto und $bearbeitung berechnen auch gleich fixen in der page_header.php der codeschnipesl der in der readme steht geht nemlich nicht ... was heisst nicht gehen er zeigt halt das porto die bearbeitung und die summe nicht an +g+

du hast hier eh schon mal nen fix dazu gepostet müsste man nur aktualisieren sonst super hack ... hab auch schon vieles verändert +g+  :roll:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: SantaZ on March 10, 2005, 03:34:32 PM
tja, dann muss ich wohl noch einmal posten.



Und zwar würde ich gerne  in der details.html anzeigen lassen. In welcher Qualität die Originalbilder ( in /BIG ) vorhanden sind.

Ich hatte mir das sogedacht. Beim erstellen einer Kategorie wird einfach ein neues Feld eingefügt. In der die Bildqualität  in z.B. drei Stufen angegeben werden können ( 1,2, u. 3). Diese Daten werden mit in der Datenbank gespeichert. Wenn dann später die details.html aufgerufen wird. Wird kurz gescheckt welche Qualität die original Bilder besitzen und aus den Zahlen 1,2 oder 3 wird dann ein Bild gemacht was in der details die qualität wiederspiegeln soll.

Für mich besteht das grösste problem darin das aus diesen zahlen ein Bild gemacht werden soll. Also z.B. 1 für Bidl mit guter qualität und die 2 für ......
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Badmojo on March 11, 2005, 02:02:05 PM

Und zwar würde ich gerne  in der details.html anzeigen lassen. In welcher Qualität die Originalbilder ( in /BIG ) vorhanden sind.

Ich hatte mir das sogedacht. Beim erstellen einer Kategorie wird einfach ein neues Feld eingefügt. In der die Bildqualität  in z.B. drei Stufen angegeben werden können ( 1,2, u. 3). Diese Daten werden mit in der Datenbank gespeichert. Wenn dann später die details.html aufgerufen wird. Wird kurz gescheckt welche Qualität die original Bilder besitzen und aus den Zahlen 1,2 oder 3 wird dann ein Bild gemacht was in der details die qualität wiederspiegeln soll.

Für mich besteht das grösste problem darin das aus diesen zahlen ein Bild gemacht werden soll. Also z.B. 1 für Bidl mit guter qualität und die 2 für ......

Hi,
ich habe so etwa das gleiche vor. Ein Thumbnail, ein angezeigtes Bild mit einer nicht druckbare Qualität und ein anderes in der DB hinterlegtes downloadbares Bild in Druckqualität.

Ich habe aber das Problem, das der DL-Link für den Mod nicht mehr funzt. Ich würde auch gerne einen Shop in das System intergrieren und habe wenig Lust die schon getane Arbeit nochmal zu machen. Ich werde den Shop dann auch weiterentwickeln und zur Verfügung stellen.
Kann mir jemand nen Link zu dem Shop Mod pasten?


Vielen Dank
Badmojo
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on March 11, 2005, 03:05:33 PM
hi,

hier ist der link zum shop-modul:

http://www.rustynet.de/cat187.html

viele grüße

baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on March 15, 2005, 10:44:44 AM
Hi

Besteht die Möglichkeit, dass der Button "Bestellen" unabhängig vom "Lightbox-Button" angezeigt wird?
Das heisst, ich möchte gerne die Shop-Funktionalität vom "Lightbox" entkoppeln.
Eine Karte sollte auch bestellt werden können, wenn diese nicht in die "Lightbox" abgelegt wurde.

Vielen Dank für die Hilfe!

Gruss
Serge


Hi

Is there a possibility that the Button "to order" appear without activate the "lightbox-button" before?
I would like split the shop-functionality from the light-box-functionality.
A picture should be ordered without putting the card into the "lightbox.

Thank you for helping me!

Serge
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: SantaZ on March 16, 2005, 07:05:41 PM
hallo,

hast du das System bei dir schon installiert?
Oder ich habe dir Frage falsch verstanden.


Das Shop System ist auf basis der Lighbox aufgebaut. Arbeitet aber nicht mit ihr. Du kannst also beides unabhängig voneinander nutzen.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on March 16, 2005, 11:01:37 PM
Hi SantaZ

Ich habe den Shop installiert. Und eigentlich funktioniert alles.
Das einzige was mich stört ist, dass ich ein Bild erst bestellen kann, wenn ich das Bild in die Lightbox abgelegt haben.
Das heisst, der Button "Bestellen" wird erst angezeigt, wenn der Button "Lightbox" aktiv ist.
Ich hätte lieber, dass der Kunde ein Foto bestellen kann, ohne dass das Bild vorher in die Lightbox abgelegt werden muss.

Gruss
Serge
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on March 17, 2005, 11:28:11 AM
Hallo,

hat jemand von euch das [Mod] so angepast, das man pro bild verschiedene preise anlegen kann (denke an drei verschiedene preise pro bild).

viele grüße

baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on March 17, 2005, 11:21:14 PM
Hi

Anybody who can help me?  :|

Hi

Besteht die Möglichkeit, dass der Button "Bestellen" unabhängig vom "Lightbox-Button" angezeigt wird?
Das heisst, ich möchte gerne die Shop-Funktionalität vom "Lightbox" entkoppeln.
Eine Karte sollte auch bestellt werden können, wenn diese nicht in die "Lightbox" abgelegt wurde.

Ist ein User nicht eingelogt, sieht er den Button "Lightbox" und den Button "Bestellen" in der Ansicht "Detail". Klickt er auf den Button "Bestellen" erscheint die Meldung, dass er sich einloggen muss. Den Button "Warenkorb" soll in der Ansicht "Detail" nicht angezeigt werden.

Für einen User, der eingeloggt ist, sieht ebenfalls die zwei Buttons "Lightbox" und "Bestellen". Klickt er auf Bestellen, wird der Button "Aus Warenkorb löschen" angezeigt (statt "Bestellen"). Dies ist bereits heute so.

Vielen Dank für die Hilfe!

Gruss
Serge


Hi

Is there a possibility that the Button "to order" appear without activate the "lightbox-button" before?
I would like split the shop-functionality from the light-box-functionality.
A picture should be ordered without putting the card into the "lightbox.

Thank you for helping me!

Serge
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Big J on March 21, 2005, 12:10:33 PM
Hallo Zusammen

Ja das würde mich auch brennend interessieren: :lol:

Hallo,

hat jemand von euch das [Mod] so angepast, das man pro bild verschiedene preise anlegen kann (denke an drei verschiedene preise pro bild).

viele grüße

baseline


Gruss Big J
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: CheerPix on March 22, 2005, 03:17:44 PM
Hallo !
wie kann ich für eine ganze ketegorie den preis einstellen und nicht für jedes bild einzeln ?

---------------------------------------------------------------------------------------------------------------------------
Hi !
how can i set the price for a whole category ??


Yvonne
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: ActionBoy on March 27, 2005, 11:22:35 PM
hi!
i'm a newby in php, so i was wondering if there was someone who has allready a bug-fixed version from this cool shop?
Downloadable?
That would be very much a help!
thanks

!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: marod0er on March 28, 2005, 06:38:25 PM
hi!
i'm a newby in php, so i was wondering if there was someone who has allready a bug-fixed version from this cool shop?
Downloadable?
That would be very much a help!
thanks

!

Yes, good idea. I'm interested as well!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: spacekai on April 12, 2005, 01:56:21 PM
Hi!
warenkorb_kunde.php Wie kann ich ihn ins Deutsche übersetzen?

cu spacekai
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: SantaZ on April 13, 2005, 05:51:54 PM
Hi!
warenkorb_kunde.php Wie kann ich ihn ins Deutsche übersetzen?

cu spacekai

Was bitte schön möchtest du denn da Übersetzen???
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: spacekai on April 15, 2005, 10:32:24 AM
Hallo!
Ich meinete: Wenn ich die Warenkorb-Seite aufrufe, dass Sie in Deutsch angezeigt wird.
z.B. "Item" in "Artikel" usw!
Nach langen suchen habe ich es gefunden, wo es steht.

cu spacekai
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: benediktlangmantl on May 11, 2005, 11:52:44 AM
Hallo, da die Links um das Script runterzuladen auf Seite 1 nicht mehr aktiv ist, hier die Frage, wer kann mir einen downloadlink schicken, mit dem Ich die deutsche Version des Shop Mod runterladen kann
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: max.cady on May 11, 2005, 08:45:16 PM
wurde eine Seite vorher gepostet ....  :wink:

http://www.rustynet.de/cat187.html
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Vincent on May 11, 2005, 11:15:13 PM
@spacekai

hast du es installiert kann man es mal bewundern?

gruss
vincent
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: pawel852 on May 14, 2005, 03:59:42 AM
Hi there,
I did everything as you write... (ver. 4images 1.7)  i get files from http://www.rustynet.de/cat187.html and modefied rest of the files.
Gallery started... shop mod works but... when im loged in to the gallery i can add pic. to cart, next when i click on button 'go to shopping card'  gallery show... "Errorr please login" when i loged in second time & click on 'go to s.c.' button i see my shopping card but when i click on for exp. 'remove pic. from card' i get this same msg: Error please login. Every times when i click on something i must relogin. Another function like download or control pannel works fine there is no need to login every time when i click on.
Maybe someone could help me, i dont know what is it.
thanks
 
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Vincent on May 14, 2005, 09:28:23 AM
i am not sure but the shop could work with cookies - do you let them into your computer?

vincent
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: pawel852 on May 14, 2005, 01:05:52 PM
I have allowed coockies .
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: pawel852 on May 14, 2005, 02:22:56 PM
U have right... its cookies problem,  when i add my domain to trusted domain problem was solved.
Tx for help
 
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: pawel852 on May 15, 2005, 01:00:20 AM
One more question, how can I add row price position to image datails or is another way to displey price for example under image?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: pawel852 on May 15, 2005, 01:30:31 AM
I find it http://www.4homepages.de/forum/index.php?topic=747.msg3277#msg3277
its works:)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: picster on May 22, 2005, 12:13:50 AM
Hi,
ich habe den Shop installiert (rustys files, nutze 4images 1.7.1), und alles x-mal auf Übertragungsfehler gecheckt - aber nichts gefunden. Ich kann jetzt nach der installation die site aufrufen, komme aber nicht über die index.php hinaus, da bei jedem Aufruf (z.B. categories.php) ein parse error kommt: >unexpected T_String in line 230<

Line 230 sieht aber ganz ok aus, ohne  ein einsames  '  oder so etwas... Bitte, kann mir jemand helfen????

DANKE!!!!



I have the Shop installed (rustys files, using 4images 1.7.1) double-checked everything precisely whithout having found any mistake. Now, after installation, I can  call the site,, but unfortunately I have to remain on the index.php, as with any call (i.e. to categories.php) there is a parse-error: <unexpected T_String on line 230<

This line looks quite ok to me, no single or lonely  '  or something like that... Please, can somebody help me????


THANKS!!!


these are the lines 228 - 243:

  //Shop
  if ($user_info['user_level'] != GUEST && $image_row['price_1'] != 0) {

//This is line 230!!!   
    $warenkorb_url = $self_url;

    $warenkorb_url .= (!empty($mode)) ? ((preg_match("/\?/", $warenkorb_url)) ? "&amp;" : "?")."mode=".$mode : "";
    $warenkorb_url .= preg_match("/\?/", $warenkorb_url) ? "&amp;" : "?";
    if (check_warenkorb($image_row['image_id'])) {
      $warenkorb_url .= "action=removefromwarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Remove item from shopping cart\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\" Remove item from shopping cart \" /></a>";
    }
    else {
      $warenkorb_url .= "action=addtowarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
    }
  }
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: max.cady on May 22, 2005, 11:19:46 AM
In welchem Document wird denn der Fehler angezeigt? Bei einer Fehlermeldung steht ja immer der Pfad zum entsprechenden Dokument da. Wenn ich das richtig sehe, gehört categories.php ja nicht zu den Dateien, die geändert wurden. Also liegt der Fehler wohl in irgendeiner der include-Dateien (nur meine Vermutung ;))

Jedenfalls ist unexpected T-String irgendwas, was auf einem Flüchtigkeitsfehler beruht
http://www.php-fehlermeldungen.de/artikel,18,parse-error-parse-error--unexpected-t_string,.html

Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: picster on May 22, 2005, 10:17:50 PM
Danke für den link, leider fand ich dort auch nichts erhellendes zur Problemlösung o:, ich hatte auch schon auf aanderen php-seiten gesucht, aber auch die Beispiele trafen nicht mein Problem - weil:

die Fehlermeldung bezieht sich auf die Zeile $warenkorb_url = $self_url; - und die hat nix "stehen gelassenes" und ist der Originalcode aus dem Shop-Mod...

Und - sorry, ich hatte das vergessen: der Parse-Error bezieht sich auf die includes/function (also "unexpected T_STRING in xxx/includes/function on line 230") Hilft Dir/uns das weiter??? H I L F E  !!!! ;->
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: max.cady on May 23, 2005, 06:55:47 AM
Hast du deine main.php in lang mit den Warenkorb-Zusätzen versehen?
Vielleicht erkennt er das url_warenkorb nicht?

Und wie siehts aus mit der Datenbankergänzung price_1? Das wäre die Zeile
vorher ... ist die Spalte in deiner Tabelle drin?

Bin leider ein php newbie deshalb kann ich nur Vermutungen anstellen ;)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: fotograf74 on May 26, 2005, 04:10:49 PM
Hallo,
gibt es irgendwelche Besipielseiten die den Shop im Einsatz haben?

Kann man das mit dem Shop machen?

Bilderverkauf mit direkten Download der Bilder:
- der Kunde legt sozusagen ein Bild (mit Wasserzeichen) in den Warenkorb
- nach dem Einkauf bestätigt er seine Bestellung mit allem was dazu gehört (wie halt eine normale Bestellung in einem Online-Shop)
- Nachdem die Bestellung durchgeführt wurde, kann er direkt das Original-Bild (ohne Wasserzeichen) in hoher Auflösung und Größe downloaden

Ist das mit dem Shop möglich? Und kann das Downloadbild extern liegen (wegen der größe)

THanks
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: SantaZ on June 07, 2005, 04:24:30 PM
hallo,

auf den alten Seiten gab es noch ein SQLquery womit man in einem rutsch die kompletten Preise editieren kann.

Kann mir mal bitte jemand sagen wie dieser Query aussehen muss?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: kief24 on June 09, 2005, 02:50:41 PM
why is this whole topic in german ?  :?  :?

In the topic on "pic security" the bottom line is that you cannot secure your pictures for 100 %.

How is security with this shop ?
Is it 100 % safe ? or can visitors find the pics you try to sell ?



Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: JLT on June 10, 2005, 02:02:52 PM
Hello everybody!

I look forward to see the script running. But I am not that prof. so I have a question about a part of the script that need to be changed.
What is ment with:

IMPORTANT:
Replace X with the last Setting-Group No. + 1 !!!
eg. $setting_group[8] / #setting_group_8

In document admin/settings.php

what do I have to fill in by the X part. Where can I find the "setting-group???

Hopefully somebode can help.

Greetz,
jelte

Ps. I wrote this in English because my german isn't that good I am from the Netherlands
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: V@no on June 10, 2005, 02:47:47 PM
before u change that file, find last instance of $setting_group
look what number it has, then add one to that number (for example if number is 8 then 8+1=9, nine is your number) and then after changing the file with the new code, replace X with the number you got.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: JLT on June 10, 2005, 05:14:41 PM
Ok I think that's clear! Thanx! But now I am running the script and I am getting the following erroro from the server.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Parse error: parse error in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/functions.php on line 226

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/functions.php:226) in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/sessions.php on line 84

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/functions.php:226) in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/sessions.php on line 84

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/functions.php:226) in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/functions.php:226) in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/sessions.php on line 92

Parse error: parse error in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/includes/page_header.php on line 227

Fatal error: Call to undefined function: get_categories() in /home/httpd/vhosts/cafethequestion.nl/httpdocs/4images/index.php on line 78
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Am I missing something? Or am I doing something wrong? :?



This is my function.php file from line 225 to 239
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  if ($user_info['user_level'] != GUEST && $image_row['price_1'] != 0) {
    $warenkorb_url = $self_url;
    $warenkorb_url .= (!empty($mode)) ? ((preg_match("/\?/", $warenkorb_url)) ? "&amp;" : "?")."mode=".$mode : "";
    $warenkorb_url .= preg_match("/\?/", $warenkorb_url) ? "&amp;" : "?";
    if (check_warenkorb($image_row['image_id'])) {
      $warenkorb_url .= "action=removefromwarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\"Remove item from shopping cart\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_no_kl.gif")."\" border=\"0\" align=\"\" alt=\" Remove item from shopping cart \" /></a>";
    }
    else {
      $warenkorb_url .= "action=addtowarenkorb&amp;id=".$image_row['image_id'];
      $warenkorb_button = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
      $warenkorb_button_kl = "<a href=\"".$site_sess->url($warenkorb_url)."\"><img src=\"".get_gallery_image("warenkorb_yes_kl.gif")."\" border=\"0\" align=\"\" alt=\" Add to shopping cart\" /></a>";
    }
  }

Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: V@no on June 11, 2005, 12:22:25 AM
Am I missing something? Or am I doing something wrong? :?
yes, probably somewhere above the line the error message pointing to.
inserted in a wrong place? missed a bracket?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Joachim on June 11, 2005, 09:16:10 PM
hallo wer kann mir helfen - das shop mod - kann das auch in die 4images-version 1.71 eingebaut werden ??
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: bine on June 23, 2005, 05:49:47 PM
Hi,

I've read that only registered Users can use the shop.
I tried to make some changes to realize that also unregistered clients can buy a picture.

I deleted in functions.php this part
Code: [Select]
$user_info['user_level'] != GUEST &&
in page_header.php I changed
Code: [Select]
if ($user_info['user_level'] >= USER) {to
Code: [Select]
if ($user_info['user_level'] >= GUEST) {
and commented out ind warenkorb.php this code
Code: [Select]
/*
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
  show_error_page($lang['warenkorb_register']);
}
*/

In this case a guest has the right to add something in the basket, but all other guests have also this article in their basket.

I think the Informations they give during the order precedure  is  all what the seller must know. But I don't know how to identify the single client during the order.

Is it possible and what must I do to change the mod, that unregistered clients can buy something?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: bine on June 28, 2005, 11:12:59 AM
Hi,

I'm a little bit lost with this mod.
in Oct. 2004 I installed this successfully for art-stylers.de

Now I want to install this with 4images 1.71

I found in the meanwhile an acceptable solution for the shopping of non registered users. I integrated the registration during the order procedure.

My problems are:

1. The order procedure runs fine, but no entrys of client Dates arrive the Database. no error-message appears. I controled the table and the fields, its all available.

2. in admin-cp appears no client-list. I get this error message:
Quote
Warning: main(./../admin/admin_global.php): failed to open stream: No such
file or directory in
/Library/Apache2/htdocs/_mysite/4images/admin/plugins/kundendaten.php
on line 30

Fatal error: main(): Failed opening required './../admin/admin_global.php'
(include_path='.:/Library/PHP4/lib/php') in
/Library/Apache2/htdocs/_mysite/4images/admin/plugins/kundendaten.php
on line 30

line 30 in kundendaten.php looks like this:
Code: [Select]
require(ROOT_PATH.'admin/admin_global.php');

and admin/admin_global.php is on his place in 4images/admin/admin_global.php

Is this a file properties Problem? or a Path Problem? I don't know where I must search for.
Or do I have general Problems with this mod in Version 1.71 ?

I hope anyone can help me out with this?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: bine on June 29, 2005, 06:13:47 PM
Hi, the second point is solved. Kundendaten List in admin cp appears since I wrote in admin/plugins/kundendaten.php
Code: [Select]
$_SERVER['PHP_SELF']instead only php_self

All of the shop now runs fine. But the most urgent function not :(

I get no entrys in the Database-client-fields and no email for seller and client.
no error message appears.

Please can anyone help me. Where must I look for  :?:

german -----------------------

Hi, Der zweite Punkt meines vorherigen Postings ist gelöst. Die Kundendaten-Liste im admin-cp wird angezeigt seitdem ich
Code: [Select]
$_SERVER['PHP_SELF'] anstatt nur php_self in admin/plugins/kundendaten.php geschrieben habe.

Aber mein Hauptproblem besteht immer noch. Ich weiß nicht wo ich noch suchen soll. Trotz fehlerlosem Bestellablauf werden keine Kundendaten in die Datenbankfelder geschrieben und es wird auch keine Bestellungs email und Auftragsbestätigung herausgeschickt.

Bitte kann mir wenigstens Jemand helfen an welcher Stelle ich ungefähr suchen muß  :?:  Ich habe die Dateien alle mit meinem laufenden Testshop verglichen und sehe keinen Unterschied.




Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: bine on July 03, 2005, 04:12:55 PM
OK, another problem is solved. The reason why no client Dates appeard in the database was, that the server was modified with register_globals off

Since php 4.2 off  is the global setting.

When you have the same problem add this  little script in your global.php
Code: [Select]
// -------------- edit solve problem with register globals off ------ //
if (isset($HTTP_GET_VARS))
extract($HTTP_GET_VARS);
if (isset($HTTP_POST_VARS))
extract($HTTP_POST_VARS);
// --------------- end edit -------------- //

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

So I have only one more problem with this funny ;) installation

The gallery doesen't sent any emails. no email confirmation of order and no email from the admin-cp. But no error message appears.
I looked at the code 1000 times, and I must see that the same files used on another server works fine. So I think in this installation it must be the server configuration that don't allow the gallery to sent emails. I will ask the server Admin about the rights that must be given to sent emails. Myself I have no own server, and I don't know what he must change.

Does anyone here know about the rights for sending emails in the server Administration? What must he do? What should I tell him to do?


PS: SantaZ
Quote
hallo,

auf den alten Seiten gab es noch ein SQLquery womit man in einem rutsch die kompletten Preise editieren kann.

Kann mir mal bitte jemand sagen wie dieser Query aussehen muss?

I bump this posting from SantaZ up because I also need a function to set for more than 1000 images the same price in one step. How is this possible?
Title: OUT OF STOCK
Post by: nika2000 on July 07, 2005, 03:15:07 PM
HI!

I just installed the Shop-skript from http://www.rustynet.de/cat187.html .
But I have the problem that there are some gif's missing, for example warenkorb_off_kl.gif and also, at all the pictures is written "out of stock"...
How can I get them "in stock"?

thanx for help
Nika2000
Title: Different prices for one picture?
Post by: nika2000 on July 07, 2005, 03:29:00 PM
Hi,

I just found the function to get the pictures "in Stock", I had to add an price  :lol:.
But now, I have another question: is it possible to add more then one price on one picture?
I'd like to have different prices for different sizes of prints for one picture...
For example something like this: http://www.isipixx.de/view.cfm?foto=18267

mfg
Nika2000
Title: Where can I find order-inforamtions?
Post by: nika2000 on July 07, 2005, 03:53:20 PM
Hi!

Another question:
Where I can't find the orders form the users?!
I got a mail but I dont see which pictures were ordered :-(

mfg
Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: fotograf74 on July 11, 2005, 05:55:23 PM
How can I realize:

- Download the Original picture after the order
- create for example one price for one category
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: goodfred on July 18, 2005, 12:39:38 PM
Hallo

hach der Installation des Shop Mod bekommen ich bei

PlugIns /Customer  diese Fehlermeldung:   - Ist mir ein Rästel

Warning: main(): Unable to access ./../admin/admin_global.php in /mnt/ja2/08/248/00000001/htdocs/galerie/admin/plugins/kundendaten.php on line 30

Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /mnt/ja2/08/248/00000001/htdocs/galerie/admin/plugins/kundendaten.php on line 30

Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/opt/RZphp4/includes') in /mnt/ja2/08/248/00000001/htdocs/galerie/admin/plugins/kundendaten.php on line 30


Wer kann helfen...? - Danke
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: fotograf74 on July 31, 2005, 12:02:41 AM
Nobody can help me?

- Directly download the Original picture without a watermark after the order
- create for example one price for one category. so I can faster change the price.

The next stage:
- different price for different image quality and so different downloads like the image quality

Who can help me???
Title: More then one price per picture?
Post by: nika2000 on August 10, 2005, 02:05:30 PM
Hi,

Is it possible to change this mod to add more then one price for one picture?
I'd like to have different prices for different sizes of prints for one picture...
For example something like this: http://www.isipixx.de/view.cfm?foto=18267
Can anyone help? I don't know php well :-(

mfg
Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 02:24:08 PM
Quote

Is it possible to change this mod to add more then one price for one picture?


If I understand you correctly, you'd like to have a dropdown form so users could have more than a simple choice per picture.

Correct ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 02:59:49 PM
Yes, correct!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 03:03:58 PM
In that case, since each price fields are set individually, how many of these fields would you like to have additionnally ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 03:14:02 PM
hmm, good question!

I don't know php, but I'm programming with progress-Databases, so I know a lot about databases....

I thought about a new table with the following fields:
Price_ID
Price
Description
Image_ID

So it should be possible to create as much prices (with description) as you like for one picture.
But I don't know if this works in php?!

What do You think?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 03:22:50 PM
Quote

So it should be possible to create as much prices (with description) as you like for one picture.


Ok, but since there's only a single price field (for now), how many additional price fields would you like to have ?

Quote

But I don't know if this works in php?!


On this case, it only works individually for each seperated price fields.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 03:29:24 PM
- I think 5 fields would be enought for the beginning :-)

Quote
On this case, it only works individually for each seperated price fields.
This phrase I don't understand :-(
Could you plaese explain it?

Isn't there a possibility to generate the dropdown form from the contents of a new table?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 03:33:08 PM
Quote

Could you plaese explain it?


What it means is that the price fields would be showed seperately in the dropdown form

such as :

- $100.00
- $150.00

and not :

- $100.00 + $150.00 (same field with two prices in it).

for example.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: honda2000 on August 10, 2005, 03:34:22 PM
nur mal ne frage: Gibt es den MOD als download irgendwo??

der Link ist ja leider tot!

wenn es geht in deutsch + readme (mit install-anleitung!)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: honda2000 on August 10, 2005, 03:35:40 PM
nur mal ne frage: Gibt es den MOD als download irgendwo??

der Link ist ja leider tot!

wenn es geht in deutsch + readme (mit install-anleitung!)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 03:39:47 PM
Quote
- $100.00
- $150.00
:roll:

certainly, I'd like to have it like this .... And this is not possible with a table?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 03:42:43 PM
This Link works:  http://www.rustynet.de/cat187.html

You can find it on page 5 ....
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 03:50:11 PM
Quote

this is not possible with a table?


Since this is a very typical question, an example would be amended in order to see which type of table presentation you'd like to have.

Quote

You can find it on page 5 ....


Please post the precise URL where I can see this to faciliate the task.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 04:11:38 PM
Quote
You can find it on page 5 ....
Please post the precise URL where I can see this to faciliate the task.

-> this was only the download-link for honda2000....

Quote
which type of table presentation you'd like to have.
-> ok, I will try to explain:

- I have one Image with image_id = 1
- I have a new table prices with fields Price_ID, Price, Description, Image_ID
- In this table, there are 3 records (for example; 1 record stands for one price):
   Price_ID      = 1
   Price           = 1
   Description   = "Print 10 cm x 15 cm"
   Image_ID    = 1

   Price_ID      = 2
   Price           = 3,50
   Description   = "Print 20 cm x 30 cm"
   Image_ID    = 1

   Price_ID      = 3
   Price           = 10
   Description   = "Puzzel with your picture"
   Image_ID    = 1

When I now call the details.php of this picture, there should be a dropdown form with the following Items:
  Print 10 x 15 cm - 1,00 €
  Print 20 x 30 cm - 3,50 €
  Puzzel with your picture - 10,00 €

Do you understand what I mean? There is one row in the dropdown form for each record.
So I have the possibility to use as much prices and different descriptions as I like...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 04:15:04 PM
Ah ! now it's clearer. 8)

You wish to have 5 seperated table pictures with 5 seperated dropdown list for each of them. Right ?

If so, it would require some time to do something like this as it would involve massive modifications in order to accomplish this.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 04:25:15 PM
I'm not sure, if you understand it right....

In my example, I have 1 picture and 3 prices. The assignment picture - price is the Image_ID in the price_table....
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 04:40:13 PM
Ok. This should make things easier then. I have added this on my TODO list and I will try this out.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 10, 2005, 04:42:57 PM
cool,  8) thank you!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 10, 2005, 04:44:06 PM
No problem. I'll post the results if they're successful.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on August 11, 2005, 07:48:02 PM
Hi TheOracle, Hi nika2000

That would be a very useful new feature for this Shop Mod.   :)

TheOracle: Thank you for your engagement. I'm looking for this feature for a long time.

TIMT
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 11, 2005, 08:21:15 PM
No problem. 8)

--- Update ---

Since the past few days, I have been looking deeply into the codes as, I'm sure we're all proud to see that - since yesterday - customization of buttons from details page can now be applied without any risks involved).

In the mean time, I have looked at some examples from this MOD  :

http://www.4homepages.de/forum/index.php?topic=8682.0

and I think it is wise to say that, since it could really match with this particular Beta Shop MOD, it would be recommended to install it in order to facilitate the task for each users. This way, the beta Shop MOD could be customized in a much better way and the additional codings structure would be easier to handle than right now, since the category listings would be listed with the subcategories in the presentation on one single page. In the mean time, price fields could be indicated on each of these categories - as : retail prices & packages. Althought, there's no promising on this one since I'm not completely familiar with this type of functions yet. ;)

As for the details page, additional price fields could be created below the already existing price field.

As for the dropdown list, it would still be considered a hard task in order to accomplish something like this since each products info would need to be added into the products table and needs to be assigned from includes/functions.php file as a general function (pretty much like the buttons customization MOD).

However, even if my time is limited, I'd still acquire a tester user that has a great server dealership which can provide a great level of bandwidth usage due to a undetermined timing of testings of this project. Notifications will be sent to the evaluator once these additions would be greatly expand.

During this time, your patience is being asked as these try-outs will not be at a full-time basis.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 12, 2005, 08:52:53 AM
If I should test, plaese send your attemtions.........
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on August 12, 2005, 09:13:26 AM
I can also do some tests...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tmpicture on August 13, 2005, 01:22:08 AM
Hi folks,

Where I can download the files of the shop mod. If possibly in german...

Thanks, Thomas
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: fotograf74 on August 17, 2005, 10:51:43 PM
@ oracle

I am searching for this function too.
I want to integrate a drop down menu with 4 different prices that the user can choose.

I can test it too.

Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on August 18, 2005, 10:51:32 AM
hello,

a few weeks ago I have a price extension into 4images built under (an example)

http://www.picture-shuttle.de/data/details.php?image_id=194

can it you this times look at, if I with test am finished, I the code will publish

greets

baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 18, 2005, 11:01:49 AM
Hi Baseline!

It looks good,
but I can't klick on the buttons to move a picture in the cart?!
Is it possible to change the tree buttons in a dropdown form?

Greetings Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on August 18, 2005, 11:42:07 AM
hallo,

the shop- functioned only if one into the system logt in  itself.  A dropdownmenuee to integrien would have to be very simple.

Sorry for my bad english :wink:

baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on August 18, 2005, 12:04:08 PM
Hallo Nika2000,

die preise werden beim artikel hinterlegt (also beim foto, dort gibt es die möglichkeit drei separate preise anzulegen). Bei picture-shuttle machte dies sinn und wahr einfach schon beim bestehenden mod zu integrieren.

grüße

baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 18, 2005, 12:28:54 PM
Ist es auch möglich, mehr als drei Preise zu hinterlegen?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on August 18, 2005, 12:39:47 PM
es ist überhaupt kein problem mehr als drei preise zu integrieren (im prinzip können 10 oder 20 preise pro bild eingezeigt werden), nur irgendwann macht dies ja auch kein sinn mehr.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 18, 2005, 12:47:52 PM
Update to the beta testers :

As we all know, many german and english users are trying this MOD (or perhaps others too that didn't posted on this topic yet). Althought, I do not speak german. That said, in order to test this out, testers must have a clean typing in english (or french) in order to evaluate the dropdown addon in case of failures (or even success).

No offense to the others but I really don't understand your language and it would simply take longer to resolve issues that you might face on this additional listing. Rather than forwarding messages to others that might speak german, full evaluations must be made first before distributions to other users to avoid numerous bad post results.

More update to come . . .
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 18, 2005, 12:48:16 PM
klar :-)

Nur wenn man Abzüge verkauft und nicht das digitale Bild, braucht u.U. noch den ein oder anderen Preis mehr.
Aber wenn das kein Problem ist, ist das was Du programmiert hast eigentlich genau das, worauf schon viele Leute warten :-)
Jetzt würde nur noch die Möglichkeit fehen, ein Bild in mehrern Größen (zu unterschiedlichen Preisen) in den Warenkorb zu legen!

LG Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on August 18, 2005, 01:21:58 PM
hallo Nika2000,

werde wenn alles gut geht, werde ich nächste woche oder vielleicht noch diese woche den code veröffentlichen, dann kann jeder nach herzenlust das mod nach seinen wünschen ergänzen.

lg sascha
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 18, 2005, 01:24:03 PM
ok, danke!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 20, 2005, 01:32:22 AM
Quote

hallo Nika2000,

werde wenn alles gut geht, werde ich nächste woche oder vielleicht noch diese woche den code veröffentlichen, dann kann jeder nach herzenlust das mod nach seinen wünschen ergänzen.

lg sascha


Does this mean that I won't have to post my results if you intend to code this up ? :|
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 21, 2005, 11:49:29 PM
Quote
Does this mean that I won't have to post my results if you intend to code this up ?

No!
I'd like to see your results very much!
Please post it!

Greetings
Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 23, 2005, 05:09:16 AM
Update:

Tomorrow, this big beast will be coded as each additional fields will be tested from ACP under the images page to see if everything is being tracked successfully. Then, later, I will work on the dropdown list so it could appear from the details page.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on August 29, 2005, 09:09:17 AM
Hi!

Are there news about the mod?

Greetings
Nika2000
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 29, 2005, 02:29:44 PM
Update :

10 additional textbox fields, in ACP - > add / edit images, has been added. Now, I'm currently working with the selection fields from includes/functions.php file.

More news to come . . .
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on August 30, 2005, 05:15:45 PM
Erstmal ein Lob an den Autor/die Autoren des Shopmods. Nun zu meiner Frage:
Da ich den Shopmod nicht auf deutsch herunterladen konnte, bin ich grad dabei, ihn für mich slebst zu übersetzen. So einiges habe ich gefunden und übersetzt, aber wenn ich ein Bild in den Warenkorb lege und mir den Warenkorb dann ansehe, finde ich Bezeichnungen auf Englisch, von denen ich nicht weiß wo ich diese ins Deutsche übersetzen muss. Das sind die Bezeichnungen in der Tabelle, in der die Bilder gelistet werden, die man kaufen möchte. Im einzelnen sind das folgende Bezeichnungen: Item, Item#, Total Price, Quantity, Item Id, Unit Price und nochmal Item. Wo finde ich diese Begriffe, damit ich sie übersetzen kann?
Vielen Dank im voraus.

In English:
Since I can't find a download opportunity for the german version of the shop mod, i'm about to translate it myself. I have translate quite a bit, but i can't find words in the files, so i am not able to translate them. These are the following words: Item, Item#, Total Price, Quantity, Item Id, Unit Price uand once again Item. They appear in a table, when i view the shopping cart. Any hints?
Thanks in advance.

Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 30, 2005, 05:18:07 PM
Quote

Any hints?


Parts of these words has been added into the PHP core files of this MOD from the author. The appropriate place for these would be in lang/english/main.php file. ;)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on August 30, 2005, 07:09:53 PM
Thanks for your quick answer.
I already translated the words in main.php, there are still some words left, exactly the words i mentioned in my previous post. I translated the html-files in the template folder as well, so that is not the place where the "missing" words are located either.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 30, 2005, 07:46:46 PM
Quote

Item, Item#, Total Price, Quantity, Item Id, Unit Price uand once again Item


So, these ones are already translated into main.php or these are the ones that you can't find at all ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on August 30, 2005, 09:27:44 PM
That are the ones I can't find at all.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on August 30, 2005, 09:37:50 PM
For the word :

Item / Item# :

- ./bestellung.php
- /lang/english/email/bestellung_admin_email.html
- ./quittung.php
- /templates/<your_template>/warenkorb.html
- ./warenkorb.php

Total Price :

- /lang/english/email/bestellung_admin_email.html
- /lang/english/email/bestellung_email.html
- /templates/<your_template>/quittung.html
- /templates/<your_template>/warenkorn.html
- ./warenkorb.php

Quantity

- ./bestellung.php
- ./quittung.php
- ./warenkorb.php

Item Id

- ./bestellung.php
- ./quittung.php
- ./warenkorb.php

Unit Price

Same as Item ID.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on August 31, 2005, 12:43:02 PM
Hi baseline, hi TheOracle

When can we expect a first version of your "shop-code"?

Thanks for informations.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on September 01, 2005, 12:42:06 AM
Quote

When can we expect a first version of your "shop-code"?


The date for testing has not been decided yet.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on September 01, 2005, 01:29:21 PM
Thanx a lot oracle for your list. That had been a great help.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on September 05, 2005, 09:32:54 PM
Update :

Most of my MODs has been distributed in this forum since the past few weeks. Next week-end, a big step ahead will be made in order to complete this MOD.

More news to come . . .
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: auksiniz on September 14, 2005, 09:39:45 PM
where download free this module?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on September 20, 2005, 10:42:28 PM
Hi baseline

I still waiting for your online-shop-code. When do you expect to publish the MOD?

Thank you for answering me.

TIMT
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TheOracle on September 21, 2005, 03:35:41 PM
Update :

Unfortinutely, I will not be able to complete this MOD as, first, it requires massive codings in order to accomplish something like this and, second, due to my limited time.

If baseline offered his inputs on this project, then I wish him, as all you guys, the best of luck to complete this beast in order to fit your needs. :)

P.S : My apologize for posting so late. There were so many try-outs from my end, since the past few weeks, as I completely forgot to update this topic.

That said, hopefully it will be completed the way you expected it.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: baseline on September 22, 2005, 11:59:58 AM
hallo ihr da draußen,

sorry, das ich mich so lange nicht gemeldet habe, wir sind letzte woche mit www.picture-shuttle.de online gegangen, da wahr leider noch eine menge arbeit zu erledigen, jetzt erst kann ich mich darum kümmern, den quellcode zu veröffentlichen und dies zu beschreiben, denke, das wird noch eine menge arbeit.

Habe für dieses forum ein testzugang eingerichtet

Hier die zugangsdaten:

www.picture-shuttle.de

benutzername: 4images
passwort: 4images

viel  spass beim ausprobieren.

baseline

for translate:    http://www.google.de/language_tools?hl=de
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: TIMT on September 22, 2005, 01:10:39 PM
Hallo baseline

Zuerst Gratulation zu Eurer neuen Seite! Sie ist übersichtlich, man weiss schnell, um was es geht... sehr intuitiv. Und das Desing gefällt mir sehr gut!

Gespannt warte ich auf die erste Veröffentlichung. Wenn ich etwas helfen kann, lass es mich wissen. Allerdings befinde ich mich im Moment in Abschlussprüfungen und die Zeit ist eben ein beschränktes Gut.

Gruss
TIMT
Title: Re: [Mod] [Beta] Shop Mod für 4images - html Mail
Post by: netXess on September 23, 2005, 12:32:13 PM
Hallo,

hab mod_shop installiert, läuft auch alles prima. Nur derr Versand der Bestellmails funktioniert nicht. Es wird nur der html-Quellcode verschickt. Die Einstellung:

************ After $header = ""; add the following line:  ************

$header .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";

hab ich gemacht.

Und nun? Hat jemand eine Idee?  :?:

Danke
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: guggi on October 17, 2005, 11:13:04 AM
Tja momentan dürfte anscheinend nicht meine beste phase bei php sein  :oops:

Ich hab mir den mod von hier heruntergeladen: http://www.rustynet.de/cat187.html

Die Installation hat eigentlich einwandfrei funktioniert.

Und doch hab ich zwei kleine Probleme:

Im CC hab ich einen Punkt Customer dazubekommen. Wenn ich auf diesen klicke bekomme ich folgende Fehlermeldungen:
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /var/www/fotos/admin/plugins/kundendaten.php on line 30

Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/fotos/admin/plugins/kundendaten.php on line 30

Ich hab zwar die Fehlermeldung im Thread gefunden aber keine wirkliche Lösung

Das zweite Problemchen was ich hab:
Wie bekomme ich die Fotos in den Warenkorb??

Ich steh momentan komplett auf der Leitung :roll:

Danke lG
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: guggi on October 17, 2005, 11:28:06 AM
Tja lesen sollte man können. die fehler meldung ist jetzt weg.
bleibt noch das andere
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: guggi on October 17, 2005, 01:10:05 PM
So der rest ist jetzt auch erledigt!

warte jetzt auf die von baseline
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on October 19, 2005, 08:46:04 PM
Deutsch:
Ich habe noch ein kleineres Problem mit dem Shop-Mod. Und zwar steht in den Mails, die vom Mod verschickt werden (z.B. die Bestellbestätigung), kein Absender. Wo kann ich das einstellen, das ein Absender angezeigt wird?

English:
I've got another little problem with the shop-mod. The mails which are sended by the mod (e.g. the order confirmation mail) do not contain a sender, so that the sender field in an email program is empty. Where can I add the Sender information to these e-mails?

Regards
Tonarmleuchter
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: aramis on October 30, 2005, 10:16:12 AM
Hallo,

Hab das Mod jetzt zum 5mal installiert und irgent wie will das ding nicht richtig funktionieren.
folgendes problem: man kann keine bilder in den warenkorb legen !

das mit dem Preis für die bilder hab ich mitbekommen, ich habe bei den einstellungen 2 felder einmal versand und bearbeitungsgebühr
diese beiden felder stehen nicht auf null hab bei beiden ein betrag eingetragen.

jetzt weis ich nicht müsste es noch andere felder geben oder sind das die felder für die bilder ?
in den beschreibungen der bilder sind auch keinerlei felder wo ein preis steht.

freue mich über jede hilfe.

PS: was mir noch aufgefallen ist die Install Anleitung auf seite eins ist nicht die selbe wie die im Download, welche ist den jetzt die aktuelle ?

gruß aramis
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mafa1999 on October 30, 2005, 07:19:32 PM
Hallo,

ich finde den Shop genial.  8) Läuft soweit auch alles.
Ich habe nur noch eine Idee.

* (verschiedene Preise) ich weiß, das wollen viele...

* wäre es möglich am Ende einer Bestellung automatisch eine zip datei zu erstellen und diese in einem ordner \bestellung\ abzulegen?
außerdem sollten die einzelne bestellungen (mit Datum) im backend sichtbar sein und einen verweis auf die jeweiligen *timestamp*warenkorb.zip haben.

perfekt wäre natürlich noch, wenn man die "bestell-zips" im backend an einen bilderdienst übertragen kann und anschließend die datei vom server zu löschen...

leider habe ich nur ideen, aber keine große ahnung von php  :wink:

Vielleicht nimmt sich jemand dieser herausforderung an!?

danke und einen schönen feiertag
MAFA
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mafa1999 on November 01, 2005, 12:47:25 PM
Hat keiner eine Idee, wie man das machen könnte?  8O
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: broadcast on November 09, 2005, 01:38:39 PM
Hallo Leute

Ich hab da mal noch ne kleine frage ?

Wo stelle ich denn die shipping und "admin" Preis ein
den bildpreis kann ich ja unter den bildinformationen einstellen!

im kundendaten plugin ist nichts drin

????

M.f.G
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: broadcast on November 11, 2005, 09:40:07 AM
weiß das keiner ???????
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Acidgod on November 11, 2005, 10:57:45 AM
Also shipping ist doch das hier oder?

Quote
Unter Allgemein >Einstellungen   lassen sich Bearbeitungsgebühr & Versandtkosten einstellen
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: broadcast on November 11, 2005, 03:18:52 PM
komisch bei mir leider nicht !!!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Acidgod on November 11, 2005, 03:21:16 PM
dann ahste 100% was beim einbau falsch gemacht, schicke mir nochmal URL und Admin zugang per PN bitte...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on November 15, 2005, 12:33:50 AM
i've install it but this give me this

Main Page

Code: [Select]
DB Error: Bad SQL Query: SELECT sum( w.image_quantity * i.price_1 ) AS total_price FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = -1 AND i.image_id = w.warenkorb_image_id
Table 'blacktra_imga4.4images_warenkorb' doesn't exist

DB Error: Bad SQL Query: SELECT sum( w.image_quantity) AS total_images_sum FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = -1 AND i.image_id = w.warenkorb_image_id
Table 'blacktra_imga4.4images_warenkorb' doesn't exist

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.price_1, 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 i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'i.price_1' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/shop/includes/db_mysql.php on line 116

On ACP

Code: [Select]
DB Error: Bad SQL Query: SELECT * FROM 4images_kunden k, 4images_users u WHERE k.kunde_id = u.user_id ORDER BY kunde_id ASC
Table 'blacktra_imga4.4images_kunden' doesn't exist

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/shop/includes/db_mysql.php:188) in /home/blacktra/public_html/shop/admin/admin_functions.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/shop/includes/db_mysql.php:188) in /home/blacktra/public_html/shop/admin/admin_functions.php on line 169

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/shop/includes/db_mysql.php:188) in /home/blacktra/public_html/shop/admin/admin_functions.php on line 170

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/shop/includes/db_mysql.php:188) in /home/blacktra/public_html/shop/admin/admin_functions.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/shop/includes/db_mysql.php:188) in /home/blacktra/public_html/shop/admin/admin_functions.php on line 172


whats wrong ??
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: V@no on November 15, 2005, 03:19:58 AM
whats wrong ??
What do you think?
Quote
DB Error: Bad SQL Query: SELECT sum( w.image_quantity * i.price_1 ) AS total_price FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = -1 AND i.image_id = w.warenkorb_image_id
Table 'blacktra_imga4.4images_warenkorb' doesn't exist

DB Error: Bad SQL Query: SELECT sum( w.image_quantity) AS total_images_sum FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = -1 AND i.image_id = w.warenkorb_image_id
Table 'blacktra_imga4.4images_warenkorb' doesn't exist
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on November 15, 2005, 05:08:01 AM
that not help me....... how added ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: V@no on November 15, 2005, 07:15:23 AM
that not help me....... how added ?
mmm...the very first steps...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on November 15, 2005, 08:25:26 PM
i've a lil problem with thumbnail not open(showing) ....

Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Acidgod on November 15, 2005, 09:21:18 PM
but how will we now what is going wrong? )o:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on November 16, 2005, 01:41:52 AM
actually i've just forgot  make "create-auto" thumbs...  :mrgreen:

but its possible  show on details page the "price " ????
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: auksiniz on December 04, 2005, 11:56:22 AM
DB Error: Bad SQL Query: SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_date, i.image_hits, i.image_comments, i.image_thumb_file, i.image_rating, i.image_votes, i.price_1, w.user_id as w_user_id, w.warenkorb_id, w.image_quantity, w.warenkorb_image_id, c.cat_name, u.user_name FROM 4images_warenkorb w, 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 1) AND 1 = w.user_id AND i.image_id = w.warenkorb_image_id ORDER BY image_name ASC LIMIT 0, 9
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/auksiniz/domains/daiva-foto.com/public_html/bankas/includes/db_mysql.php on line 116

this error wrote if i go to warenkorb.php :)

I use mysql 5 version :)
there is error?

thank
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Acidgod on December 06, 2005, 10:38:10 AM
I use mysql 5 version :)
there is error?

try to search for mysql5... (o:
Title: Mod für Shop
Post by: honda2000 on December 09, 2005, 09:46:58 AM
Kann man den Mod für den Shop nicht mal als kompletten Mod zum download zur Verfügung stellen, so das man den als Mod in 4images 1.7.1 einbauen kann???
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on December 09, 2005, 05:02:16 PM
i've a few questions about it :

1) how make it not show in random images
2) How make this images not count in gallery stats
3) How make it not show in newest images

 :wink:

(just this images,i'm using a specific category for this images)  :|
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: osnafoto on December 11, 2005, 05:37:49 PM
ich versuche gerade den shop zu installieren. den code zu ändern ist selbst für mich einfach, aber kann mir jemand erklären wie ich die neuen mysql tabellen erstelle? in der anleitung unter punkt 2. "Create all this table with your MYSQL Commands" genannt
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: osnafoto on December 11, 2005, 06:14:54 PM
die frage mit der tabellenerstellung hat sich erledigt, habe das inzwischen hinbekommen und soweit alles installiert. aber trotzdem ist irgendwie vom shop außer dem warenkorb nichts zu sehen. muss ich erst einen preis für die fotos festlegen, damit auch eine grafik bzw ein link in der detailansicht des fotos angezeigt wird um das foto dem warenkorb hinzuzufügen, oder warum sieht man bei mir sonst nichts? falls ja, wie geht das?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: osnafoto on December 21, 2005, 10:08:47 AM
jetzt läuft alles :-)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: osnafoto on December 21, 2005, 09:02:19 PM
im cp kann ich die kundendaten nicht anzeigen lassen. ich bekomme immer folgende fehlermeldung:

Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /srv/www/htdocs/web55/html/4im/4images/admin/plugins/kundendaten.php on line 30

Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php') in /srv/www/htdocs/web55/html/4im/4images/admin/plugins/kundendaten.php on line 30

kann mir nicht erklären woran das liegen könnte.

weiß jemand rat?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: auksiniz on December 28, 2005, 09:44:15 AM
I use mysql 5 version :)
there is error?

try to search for mysql5... (o:
without shop mod work good, but i not fount there error in this sql query :(
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: auksiniz on December 28, 2005, 09:53:58 AM
yes, works :)
the code:
Code: [Select]
FROM ".IMAGES_TABLE." i, ".WARENKORB_TABLE." wchange to:
Code: [Select]
FROM (".IMAGES_TABLE." i, ".WARENKORB_TABLE." w)
and
Code: [Select]
FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." cchange to:
Code: [Select]
FROM (".WARENKORB_TABLE." w, ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Egly on December 28, 2005, 10:17:08 AM
Hi,

i want to use this mod, but the download link doesnt work any more...

greets, Bastian
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mawenzi on December 28, 2005, 10:34:56 AM
Download here : http://www.rustynet.de/cat187.html
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Egly on December 28, 2005, 12:59:31 PM
thx Mawenzi!

Is the shop on rustynet this mod?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Acidgod on December 28, 2005, 01:00:23 PM
No!

Rusty has no Shop on his Site, its only a Paypal Button... (o:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Egly on December 28, 2005, 01:05:59 PM
Oh yes, i see..

But on party-cam.org?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Egly on December 29, 2005, 07:46:37 AM
ok now i have implemented it and it works nearly great!

My only problem is, that i dont have (in the emails):

- no link to user profile (doesnt work)
- Customer ID and Adress
- Delivery Adress
- Payment Method


Where could the mistake be?

Great MOD!!

greets Bastian
Title: Complete Mod available?
Post by: VaB on January 01, 2006, 11:01:25 PM
Hello @ all:

This thread is now 12 pages long and many changes, bug fixes and updates have been posted - I am confused!

I am trying to create the shop but it does not work.
Is there any chance to get a download.zip?

Thanks,
VaB
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: osnafoto on January 03, 2006, 08:45:35 AM
you can download it here: http://www.rustynet.de/cat187.html
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on January 04, 2006, 04:07:05 PM
Ich hab noch eine kleine Frage zum Mod. Weiß jemand, ob und wie man einstellen kann, daß der Preis, der dem Bild automatisch zugeordnet wird, nicht 0 Euro ist, sondern ein Preis meiner Wahl? Der Preis soll für alle Bilder gleich sein. Also quasi ein anderer Default wert als 0.

in english:
I would like to change the default price assigned to new pictures. At the moment, this is 0 Euro. Where can i change that? I want to achieve, that any uploaded picture has a price assigned automatically. All pictures should have the same price, so to me it seems, that the only thing i have to do, is change the default. But where?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on January 04, 2006, 04:14:59 PM
Musst in der Datenbank den Initialwewert des Feldes ändern, das wird das einfachste sein...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on January 04, 2006, 04:20:38 PM
Wär toll, wenn du mir noch kurz erklärst, wie ich das mache.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mawenzi on January 04, 2006, 04:26:24 PM
Wär toll, wenn du mir noch kurz erklärst, wie ich das mache.

phpMyAdmin -> Tabelle: 4images_images -> Feld: price_1 -> editieren -> Standard -> hier deinen Preis eingeben
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nika2000 on January 04, 2006, 04:31:58 PM
Is there anywhere the code from Baseline for download with the three prices ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on January 04, 2006, 04:42:49 PM
Danke an euch beide nika2000 und mawenzi, hat prima funktioniert.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: VaB on January 25, 2006, 02:39:27 PM
***bookmark***
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: om6acw on February 09, 2006, 09:33:52 PM
Some news with code from Baseline for download with the three prices ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Will Fealey on February 09, 2006, 10:01:35 PM
hello im totally new to PHP and 4image, i have downloaded this shop, from this part of the forum.

However now in the top of my page this appears:
DB Error: Bad SQL Query: SELECT sum( w.image_quantity * i.price_1 ) AS total_price FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = 1 AND i.image_id = w.warenkorb_image_id
Unknown column 'w.warenkorb_image_id' in 'where clause'

DB Error: Bad SQL Query: SELECT sum( w.image_quantity) AS total_images_sum FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = 1 AND i.image_id = w.warenkorb_image_id
Unknown column 'w.warenkorb_image_id' in 'where clause'

Can anyone please tell me what i should do...

Thank you very much  :oops:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: fotograf74 on March 21, 2006, 04:31:41 PM
This Script is nice but I searching for a mod that can realize a PhotoStore with this features for me:

- over 50.000 pictures
- user can buy pictures in different sizes
- user can automatic download the pictures after paying over services like Paypal or firstgate

First I want to realize this with an e-commerce script like Oscommerce or Virtuemart.There I have the advantages to sell digital downloads, but not the advantages that a PhotoGallery have (Design, Batch ..)

Is there any modification here?

Or can someone program me a script which can do this?

Thanks for your answer
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Stoleti on April 21, 2006, 10:40:07 PM
I've couple questions about this shop MOD:

1 - Its possible rename the pages(php) to english ?
2 - Set price from upload form ?
3 - Show the price on details.php ?
4 - Send request to image owner and not to admin ?

Cheers  :wink:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: tonarmleuchter on May 01, 2006, 12:27:03 PM
Register_globals

It seems to me, that this Shop-Mod requires register_globals=on. A few days ago, my hoster turned it off, and the address information in the order mails got lost. After turning register_globals on again, it now works. So far so good, but my hoster told me, that leaving register_globals on is a temporary thing, they will turn it off for good in some time.
So here is my question: Is there any possibility to modify the existing, installed and working shop-mod, so that it does not need register_globals=on?

Greetz
tonarmleuchter
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: edel on June 30, 2006, 11:36:35 PM
hallo,

gibt es noch einen aktuellen link zum download dieses mods?

danke
stephan
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Wittrock on July 25, 2006, 10:01:53 AM
Hallo erst einmal,

habe den Shop installiert, und verfolge nun schon länger ob und wie man für ein Foto mehrere Preise in den Mod einbauen kann.
Es würde schon reichen wenn jemand der sich damit auskennt evtl. schreibt wo man den Code ändern muß, ich glaube das würde nicht nur mir sondern auch vielen anderen weitehelfen.

Danke Gruß Ralf
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: sajwal on August 01, 2006, 01:29:36 AM
Not any download link working for this mod's files .... pls. somebody have the courtesy to share :D or provide the working download link.....and if somebody translated it in english ... it would be a GOD's help to me!
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Wittrock on August 01, 2006, 08:06:46 AM
Hello,

sorry for my English !!!!

Here is the Downloadlink for the Shop !!!!

http://www.rustynet.de/

Ralf
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: sajwal on August 01, 2006, 11:43:02 AM
thank you wittrock  :P
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: sajwal on August 01, 2006, 03:52:14 PM
Hello any body who can help me with this now,  The following error occurs when i go to index page and also i cannot log in to admin panel now ... it shows a blank page

Notice: Undefined index: price_1 in C:\wamp\www\impgal\4images1.7.3\4images\includes\functions.php on line 350

Notice: Undefined index: price_1 in C:\wamp\www\impgal\4images1.7.3\4images\includes\functions.php on line 367

Notice: Undefined index: price_1 in C:\wamp\www\impgal\4images1.7.3\4images\includes\functions.php on line 426

Notice: Undefined variable: bestellung in C:\wamp\www\impgal\4images1.7.3\4images\includes\page_header.php on line 481


Please anybody help me asap
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: m.a on November 20, 2006, 07:28:39 AM
Hallo,

ich habe versucht die Tolle Shop zu probieren aber es kommt bei mir die Meldung obwohl ich genau wie deine Anweisung gegangen:

DB Error: Bad SQL Query: SELECT sum( w.image_quantity * i.price_1 ) AS total_price FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = 1 AND i.image_id = w.warenkorb_image_id
Table '######.4images_warenkorb' doesn't exist

DB Error: Bad SQL Query: SELECT sum( w.image_quantity) AS total_images_sum FROM 4images_warenkorb w, 4images_images i WHERE image_active = 1 AND w.user_id = 1 AND i.image_id = w.warenkorb_image_id
Table '######.4images_warenkorb' doesn't exist

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.price_1, 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 i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'i.price_1' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Programme\xampp\htdocs\4images\includes\db_mysql.php on line 116

Kanst du mir Tipps geben wie ich das Problem beseitigen.
Oder wo liegt mein Fehler und was habe ich Falsch gemacht.

Danke im Voraus
Amoli
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mawenzi on November 20, 2006, 09:41:06 AM
DB-Update / Installation nicht ausgeführt ... und Fragen eigentlich schon selbst beantwortet ...

1. Tabelle nicht angelegt
Table 'akspix.4images_warenkorb' doesn't exist

2. Spalte nicht angelegt
Unknown column 'i.price_1' in 'field list'
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: m.a on November 21, 2006, 06:43:49 AM
Hi mawenzi,
Danke viel Mals!!
Das war gantz Blooood von mir !!

Es war doch Klar!
und Fragen eigentlich schon selbst beantwortet ...

Ich habe dieTabelle 4images_kunden und 4images_warenkorb erstellt.
Und ich habe (ALTER TABLE `4images_images` ADD `price_1` DECIMAL( 12, 2 ) DEFAULT '0.00' NOT NULL ; ) auch ausgeführt.

aber ich glaube, dass ich diesen Teil nicht so richtig gemacht habe:

INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'porto', '1.00'
);

INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'bearbeitung', '1.00'
);



Weil ich beim Klick auf NeueBilder oder Suche eine Fehler-Meldung bekomme und die Fehler-Meldung beim Logginoder ausgeloggt sind unterschiedlich:
Wenn ich Loggin bin kommt diese Fehler-Meldung:

Notice: Undefined index: price_1 in C:\Programme\xampp\htdocs\4images\includes\functions.php on line 355

Notice: Undefined index: price_1 in C:\Programme\xampp\htdocs\4images\includes\functions.php on line 372

Notice: Undefined index: price_1 in C:\Programme\xampp\htdocs\4images\includes\functions.php on line 451

Notice: Undefined variable: bestellung in C:\Programme\xampp\htdocs\4images\includes\page_header.php on line 618




Und wenn ich ausgeloggt als normal User bin kommt diese Fehler-Meldung:

Notice: Undefined index: price_1 in C:\Programme\xampp\htdocs\4images\includes\functions.php on line 372

Notice: Undefined index: price_1 in C:\Programme\xampp\htdocs\4images\includes\functions.php on line 451




Und in Dtei includes\functions.php auf der Zeile 355 steht:
if ($user_info['user_level'] != GUEST && $image_row['price_1'] != 0) {
    $warenkorb_url = $self_url;
    $warenkorb_url .= (!empty($mode)) ? ((preg_match("/\?/", $warenkorb_url)) ? "&amp;" : "?")."mode=".$mode : "";
    $warenkorb_url .= preg_match("/\?/", $warenkorb_url) ? "&amp;" : "?";


Und in Dtei includes\functions.php auf der Zeile 372 steht:
if ($image_row['price_1'] == 0) {
    $warenkorb_button = "<img src=\"".get_gallery_image("warenkorb_off_kl.gif")."\" border=\"0\" alt=\"Out of stock\"/>";


Und in Dtei includes\functions.php auf der Zeile 451 steht:
"image_price_1" => $image_row['price_1'],


Und in Dtei includes\page_header.php auf der Zeile 618 steht:
"bestellung" => $bestellung,




Ausserdem wenn ich in Admin-Bereich ein Bild preis gebe, wird es gespeichert,  und auch beim Bilder in Warenkorb hinzufgen, wird  die Preis vom Bild nicht gezeigt aber gerchnert und wenn bie Bilder mehr werden wird auch zusamen gerechnert.




Ein anderse Problem gibt es im Admin-Bereich, nämlich: im PlugIns beim Klick auf den Link Customer, kommt diese Fehler-Meldung:

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in C:\Programme\xampp\htdocs\4images\admin\plugins\kundendaten.php on line 30

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.;C:\Programme\xampp\php\pear\') in C:\Programme\xampp\htdocs\4images\admin\plugins\kundendaten.php on line 30


Ich wiess es nicht was ich noch nicht gemacht habe oder was und wo ich falsch gemacht habe.

Ich habe 4 Mals genau wie diese BeschreibungsLink 4images_shop\4images_shop\root\README\README.htm, dass ich beim 4images_shop-DownLoad bekommen habe, gemacht und durchgechecked, aber leider bis jetzt keinen Erfolg.

Ich habe auch 2 Mals genau wie diese BeschreibungsLink : http://www.4homepages.de/forum/index.php?topic=5813.0
gegangen und durchgechecked, leider immer wieder die selbe Fehler-Meldung und Probleme wie ich geschrieben habe.


Danke im Voraus
Amoli
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: m.a on November 24, 2006, 01:07:50 AM
Hi,
Danke, dass du voriges Mal so schnel mir die Antwort geschriebeb hast.
Aber mein Problem ist noch beim Daten Bank geblien.
Ich habe im Forum und besonderes dir mein Problem geschriebn und um Hilfe gerufen.

Bitte meldet euch
Danke !
m.a
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: m.a on December 01, 2006, 05:37:19 PM
Hallo,
es scheint, dass niemand will über das Problem eine Antwort geben.
Nach langem Versuch habe ich festgestellt, dass das Problem kommt von PHP5 und MYSQL und wenn man PHP5 nicht am Serevr instaliert und PHP4 nutzt kommt die Fehlermeldung nicht mehr.
Aber wahrscheinlich gibt es beim Shop Beta Script ... bisschen Problem.

Ich habe das Beta Shop mehr Mals und immer wieder instaliert und wenn ich auf neue Bilder klicke bekomme ich folgende Fehler-Meldung:

Notice: Undefined index: price_1 in /srv/www/htdocs/web48/html/includes/functions.php on line 402
Notice: Undefined index: price_1 in /srv/www/htdocs/web48/html/includes/functions.php on line 496
Notice: Undefined index: bearbeitung in /srv/www/htdocs/web48/html/includes/page_header.php on line 494
Notice: Undefined index: bearbeitung in /srv/www/htdocs/web48/html/includes/page_header.php on line 499

Und wenn man sich einlogt und auf Neue Bilder-Link klickt, kommt noch eine Fehlermeldung dazu:
Notice: Undefined index: price_1 in /srv/www/htdocs/web48/html/includes/functions.php on line 385

Und ausserdem wenn man chekin macht und seine Adress schreibt und sendet, kommt die angegeben Daten von Kunden nicht beim Admin an Und im Customer-Bereich wird nur die E-Mail Adresse von Kunde gezeigt bzw. gespeichert und keine andere Daten wie: Last Name, First Name,Street, Zip Code und Town/City von Kunde wird in Daten Bank gespeichert und im Admin-Bereich gezeigt.

Ich habe fast als Paar Mal gemacht und versteh ich nicht was überhaupt falsch gemacht ist.
Oder liegt das Problem an Beta-Shop Script???

Bitte melde sich jemand
Danke im Voraus
m.a
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: orb42 on February 14, 2007, 01:05:59 PM
hi and thanks for all guys that support this mod here!  :)

But I got the same error as m.a .
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mantra on February 19, 2007, 06:26:27 AM
anyone have success install this mood on 4images v.1.7.4 ?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Tini123 on February 20, 2007, 03:10:51 PM
habs mal versucht einzubauen aber es funktioniert nicht wirklich.

Gbit es jemanden der noch einen Download mit dem kompletten Shop-Warenkorb-System anbietet?

Hat vielleicht sogar jemand den code für das System von http://www.fandome.de/ ?
Ich hätte für meien Galerie auch gerne so ein System.

Gerne auch gegen Bezahlung da ich es ncicht hinbekomme
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: darvid on March 25, 2007, 07:00:29 PM
even the last download link doesnt work anymore! would somebody share the code? (im using 4images 1.7.4.)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: xico on July 17, 2007, 02:14:12 AM
anyone have success install this mod on 4images v.1.7.4 ?  8O
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: orb42 on July 27, 2007, 12:08:07 AM

Here is a link to download 4images Shop beta :

[MOD] 4images Shop.rar (http://www.megaupload.com/fr/?d=48ZBEM5N)


Here is a link to download Shop Mod Lite :

[MOD].Shop Mod Lite.rar (http://www.megaupload.com/?d=C3218I35)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: mantra on July 27, 2007, 01:25:26 AM

Here is a link to download 4images Shop beta :

[MOD] 4images Shop.rar (http://www.megaupload.com/fr/?d=48ZBEM5N)


Here is a link to download Shop Mod Lite :

[MOD].Shop Mod Lite.rar (http://www.megaupload.com/?d=C3218I35)


rapidshare please??
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: orb42 on July 27, 2007, 07:30:16 AM
Is there a problem MAntra? (download it & upld it to rapidshare if you want)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: manurom on July 27, 2007, 08:40:55 AM
Hello;
whynot attaching the files here? :?: :|
Please find the two rar files in one in attachment.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: kowalski on August 15, 2007, 01:02:51 AM
===
1/
Is there any way to change the currency on this shop?

The default value seems to be Euros, and rather than a decimal point being used a comma (eg 12,00)  is used.
For UK British Pounds Sterling we use a decimal point (eg. £12.00) .. where can this be changed?
A good mod would be to allow the user to select their own currency ... euros, dollars, pound etc




===
2/

Also I am getting errors on my shopping cart:

Code: [Select]

my errors on shopping cart

DB Error: Bad SQL Query: SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_date, i.image_hits, i.image_comments, i.image_thumb_file, i.image_rating, i.image_votes, i.price_1, w.user_id as w_user_id, w.warenkorb_id, w.image_quantity, w.warenkorb_image_id, c.cat_name, u.user_name FROM 4images_warenkorb w, 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 2, 1) AND 1 = w.user_id AND i.image_id = w.warenkorb_image_id ORDER BY image_name ASC LIMIT 9999
Unknown column 'i.user_id' in 'on clause'

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\_new june07 sites\4images2\includes\email.php on line 174

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\_new june07 sites\4images2\includes\email.php on line 174



===
3/

On the shopping cart order page, where you enter the address details, the bottom section (for entering shipping details) is in German.
Also is it not possible to tick a box so the billing details are copied across to the shipping details if they are the same?

===
4/

Another problem I was getting earlier was solved by auksiniz in this reply (http://www.4homepages.de/forum/index.php?topic=5813.msg55733#msg55733)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: thunderstrike on August 15, 2007, 01:28:26 AM
Quote
/-----------------------------------------------------
//--- Warenkorb Box -----------------------------------
//-----------------------------------------------------


      $sql = "SELECT sum( w.image_quantity * i.price_1 ) AS total_price
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i

for:

Quote
/-----------------------------------------------------
//--- Warenkorb Box -----------------------------------
//-----------------------------------------------------


      $sql = "SELECT sum( w.image_quantity * i.price_1 ) AS total_price
      FROM (".WARENKORB_TABLE." w, ".IMAGES_TABLE." i)

Quote
$total_sum = $result['total_price'];
$total_sum = FormatPrice ($total_sum);


      $sql = "SELECT sum( w.image_quantity) AS total_images_sum
      FROM ".WARENKORB_TABLE." w, ".IMAGES_TABLE." i

for:

Quote
$total_sum = $result['total_price'];
$total_sum = FormatPrice ($total_sum);


      $sql = "SELECT sum( w.image_quantity) AS total_images_sum
      FROM (".WARENKORB_TABLE." w, ".IMAGES_TABLE." i)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: comicart on August 17, 2007, 04:11:18 AM
anyone have success install this mod on 4images v.1.7.4 ?  8O

I'd love to second this.
Anyone using it on 1.7.4?

Does anyone else know another "shop" solution for 4Images?

Terry
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: thunderstrike on August 17, 2007, 08:14:39 PM
I ... post patch before ...
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Blesi on December 15, 2008, 09:18:50 PM
Hallo,
gibs jetzt mittlerweile ein script o.ä. wo fertig ist und die Fehler ausgebessert sind?

Gruß Christian
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: nobby on December 15, 2008, 10:22:27 PM
Nö, alles noch BETA  :wink:
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Blesi on December 16, 2008, 02:04:40 PM
Okay, dann wird eben noch unbestimmte Zeit gewartet ;-)
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: hlalink on July 27, 2009, 11:53:52 AM

Hi

Thank you for beautiful work, but when I research shows this error



Notice: Undefined index: price_1 in XXXXXX\fa\includes\functions.php on line 350

Notice: Undefined index: price_1 in XXXXXX\fa\includes\functions.php on line 367

Notice: Undefined index: price_1 in XXXXXX\fa\includes\functions.php on line 426

Notice: Undefined variable: bestellung in XXXXXX\fa\includes\page_header.php on line 431



thank you
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: hlalink on July 31, 2009, 03:24:25 PM
any help please in this

 :| :?
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: Nicky on July 31, 2009, 10:26:47 PM
hi,

as you can see this mod is in status BETA since 6 years ;)

but you can open
global.php and uncomment
Code: [Select]
error_reporting(E_ERROR | E_WARNING | E_PARSE);like this
Code: [Select]
//error_reporting(E_ERROR | E_WARNING | E_PARSE);
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: hlalink on August 01, 2009, 05:28:32 AM
hi,

as you can see this mod is in status BETA since 6 years ;)

but you can open
global.php and uncomment
Code: [Select]
error_reporting(E_ERROR | E_WARNING | E_PARSE);like this
Code: [Select]
//error_reporting(E_ERROR | E_WARNING | E_PARSE);

thnk's  for your  replay

bout i still have the same

thank you
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: V@no on August 01, 2009, 06:06:56 AM
Apparently this mod is not compatible even with v1.7.4

I've added a note to the first post.
Title: Re: [Mod] [Beta] Shop Mod für 4images
Post by: hlalink on August 01, 2009, 11:57:53 AM
Apparently this mod is not compatible even with v1.7.4

I've added a note to the first post.

yas  i'm traing to use it with v1.7.6

so thank you  for your replay and  can i get it  from any why if yas please where and how


thank you
Title: Re: [Mod] [Beta] Shop Mod für 4images (no support)
Post by: Sunny C. on July 08, 2010, 11:14:37 AM
Hat sich da niemand weiter daran versucht das irgendwie zu optimieren?
Title: Re: [Mod] [Beta] Shop Mod für 4images (no support)
Post by: DPHAZE on August 20, 2010, 10:49:35 PM
Hello there,

i've got a short question.

The author of this mod said in his first posting, that there are 14 files (incl. the sessions.php) to change.
But further down the how-to of this mod there is no hint what's to change exactly in the sessions.php.
Is that a mistake by the author or is there no need to change something?

Anyone familiar with this fact?

Thanks for your help.

-------- in deusch----------------------

Hallo,

kurze Frage.
Im Eingangspost dieser Mod schreibt der Autor, dass 14 Dateien inkl. der sessions.php zu ändern seien.
Jedoch läst sich im weiteren Verlauf des How-To zu dieser Mod kein Hinweis darauf finden, was genau in der sessions.php zu ändern ist.
Ist das ein Fehler des Autors oder muss letztendlich in der sessions.php nichts geändert werden?

Kennt sich zufällig jemand damit aus?

Vielen Dank für Eure Hilfe.