SocialEngine PHP Social Network Script

   

 

http://www.ecombase.de/Bilder/pfeil-category.gif ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS

Alle Imedes Software GPL Programme und Module gibt es für jeden auf Ecomase kostenlos zum Download. Der Einsatz und die kostenlose Benutzung der IMEDES Software steht jedem Anwender der Shop Software ECB SEO SHOP SOFTWARE, XT-COMMERCE, GAMBIO 2006/2007, SELF-COMMERCE, COMMERCE:SEO frei. Die Imedes Software ist Gratis !

Weitere Imedes Programme und Shop Module die man kostenlos Downloaden und Nutzen kann.:

kostenlos-imedes-software_zubehoer-modul
kostenlos-imedes-software_aadmin-quickedit

kostenlos-imedes-software_adodb-installieren
kostenlos-imedes-software_advanced-news_nachricht-wenn-artikel-im-shop-verfuegbar kostenlos-imedes-software_ajax-add-to-card
kostenlos-imedes-software_ajax-attribut-manager

kostenlos-imedes-software_ajax-filter

kostenlos-imedes-software_ajax-framework_xajax

kostenlos-imedes-software_ajax-matrix-zubehoer

kostenlos-imedes-software_ajax-produktmatrix

kostenlos-imedes-software_ajax-quick-buy-quickbuy
kostenlos-imedes-software_ajax-staffel-preis-manager-plus kostenlos-imedes-software_artikelabhaengige-versandart kostenlos-imedes-software_artikelabhaengige-zahlart
kostenlos-imedes-software_attribut-check

kostenlos-imedes-software_attribute-image_attribut-bilder
kostenlos-imedes-software_attribut-manager
kostenlos-imedes-software_double-opt-in-pruefung

kostenlos-imedes-software_extra-objekte

kostenlos-imedes-software_faq-support-system

kostenlos-imedes-software_freundschafts-werbung

kostenlos-imedes-software_google-gadget

kostenlos-imedes-software_gutschein-generator

kostenlos-imedes-software_ibillnr

kostenlos-imedes-software_icontentvar

kostenlos-imedes-software_imedes-bundle-software
kostenlos-imedes-software_imedes-cart_komfortabler-warenkorb kostenlos-imedes-software_imedes-kundenbonus kostenlos-imedes-software_imedes-optcalc-optionen-kalkulation kostenlos-imedes-software_imedes-plus-minus-zurueck-von-kaufen-seite kostenlos-imedes-software_irandomindex_imedes-random-index kostenlos-imedes-software_izones_imedes-Zonen kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-frontpage kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-standard kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-template kostenlos-imedes-software_kat-dropdown_kategorie-dropdown-template_frontpage kostenlos-imedes-software_katstaffel_kategorie-staffelpreise
kostenlos-imedes-software_lagerampel

kostenlos-imedes-software_merkzettel
kostenlos-imedes-software_news_newsmanager kostenlos-imedes-software_one-page-checkout
kostenlos-imedes-software_open-search

kostenlos-imedes-software_pdf-katalog

kostenlos-imedes-software_pdf-rechnung

kostenlos-imedes-software_picture-navi_bildnavigation
kostenlos-imedes-software_proaktiver-verkaufsmanager
kostenlos-imedes-software_search

kostenlos-imedes-software_special-filter_spezialfilter
kostenlos-imedes-software_staffel-preis-manager-normal kostenlos-imedes-software_stock-alert.warenbestand-warnung-advanced kostenlos-imedes-software_stock-alert.warenbestand-warnung-basic kostenlos-imedes-software_suspend-user_sperre-kunden kostenlos-imedes-software_thesaurus_shop-Lexikon

 

 *****************************************

 *                                       *

 *         INSTALLATION-GUIDE            *

 *                                       *

 *****************************************

 * @package Artikelabhängige Versandart  *

 * @compatible SP2.1                     *

 *****************************************

 

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

NEW FILES:

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

admin/stats_products_unallowed_shipping.php

includes/functions/database.php

lang/german/admin/stats_products_unallowed_shipping.php

 

 

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

NEW DIRS:

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

imedes_library

includes/classes/adodb_full

 

 

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

CHANGED FILES:

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

admin/includes/application_top.php

admin/includes/classes/categories.php

admin/includes/column_left.php

admin/includes/functions/sessions.php

admin/includes/modules/new_product.php

includes/application_top.php

includes/classes/shipping.php

includes/functions/sessions.php

lang/german/admin/categories.php

 

 

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

INSTALLATION:

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

 

1. Datenkbankerweiterungen durchführen

CREATE TABLE `products_unallowed_shippings` (

  `products_id` int(10) unsigned NOT NULL,

  `shipping_modul` varchar(64) NOT NULL

) ENGINE=MyISAM;

 

ALTER TABLE `admin_access` ADD `stats_products_unallowed_shipping` INT( 1 ) NOT NULL DEFAULT '1';

 

 

2. new_files kopieren.

 

3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:

 

 

-admin/includes/application_top.php

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

  require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_close.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_error.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_query.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_output.inc.php');

  require_once(DIR_FS_INC . 'xtc_db_input.inc.php');

 

und ersetze es mit:

require_once('../'.DIR_WS_FUNCTIONS.'database.php');

//require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_close.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_error.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_query.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_output.inc.php');

//require_once(DIR_FS_INC . 'xtc_db_input.inc.php');

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

  xtc_db_connect() or die('Unable to connect to database server!');

 

und ersetze es mit:

  require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');

    db_connect_alt() or die('Unable to connect to database server!');

    global $ADODB_FETCH_MODE;

    $ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;

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

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

 

 

-admin/includes/classes/categories.php

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

finde folgendes:

        $products_date_available = (date('Y-m-d') < $products_date_available) ? $products_date_available : 'null';

 

und füge danach ein:  

    // Add unallowed shippings

    xtc_db_query ( "DELETE FROM products_unallowed_shippings WHERE products_id = '".$products_id."'" );

    foreach ( $products_data['unallowed_shippings'] as $class => $enabled ) {

        if ( $enabled )

            xtc_db_query ( "INSERT INTO products_unallowed_shippings VALUES ( '".$products_id."', '".xtc_db_prepare_input($class)."' )" );

    }

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

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

 

 

-admin/includes/column_left.php

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

finde folgendes:

   if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['stats_campaigns'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CAMPAIGNS_REPORT, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CAMPAIGNS_REPORT . '</a><br>';

 

und füge danach ein:

  if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['stats_products_unallowed_shipping'] == '1')) echo '<a href="' . xtc_href_link("stats_products_unallowed_shipping.php", '', 'NONSSL') . '" class="menuBoxContentLink"> -Verbotene Versandarten</a><br>';

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

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

 

 

-admin/includes/functions/sessions.php

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

      function _sess_write($key, $val) {

       global $SESS_LIFE;

 

und füge danach ein:

        if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird

            global$db;

            require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');

            db_connect_alt() or die('Unable to connect to database server!');

            $db->Execute("SET NAMES 'latin1'");

            $db->Execute("SET CHARACTER_SET_CLIENT=latin1");

            $db->Execute("SET CHARACTER_SET_RESULTS=latin1");

        }

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

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

 

 

-admin/includes/modules/new_product.php

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

finde folgendes:

 <?php $fsk18_array=array(array('id'=>0,'text'=>NO),array('id'=>1,'text'=>YES)); ?>

 

und füge danach ein:

<?php $shipping_array=array(array('id'=>0,'text'=>NO),array('id'=>1,'text'=>YES)); ?>

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

finde folgendes:

         <td><span class="main"><?php echo xtc_draw_pull_down_menu('shipping_status', $shipping_statuses, $pInfo->products_shippingtime); ?></span></td>

       </tr>

 <?php } ?>

 

und füge danach ein:

<?php

if (defined('MODULE_SHIPPING_INSTALLED') && xtc_not_null(MODULE_SHIPPING_INSTALLED)) {

    $modules = explode(';', MODULE_SHIPPING_INSTALLED);

 

    if($pInfo->products_id != '') {

        $excluded_query = xtc_db_query ( "SELECT shipping_modul FROM products_unallowed_shippings WHERE products_id = ".$pInfo->products_id." GROUP BY shipping_modul" );

        while ( $row = xtc_db_fetch_array ( $excluded_query ) ) {

            $excluded_shippings[] = $row['shipping_modul'];

        }

    }

 

    while (list(, $value) = each($modules)) {

        $class = substr($value, 0, strrpos($value, '.'));

              include(DIR_FS_LANGUAGES . $_SESSION['language'] . '/modules/shipping/' . $value);

?>

      <tr>

        <td><span class="main"><?php printf(TEXT_UNALLOWED_SHIPPINGS, constant ( "MODULE_SHIPPING_".strtoupper($class)."_TEXT_TITLE" ) ); ?></span></td><td><span class="main"><?php echo xtc_draw_pull_down_menu('unallowed_shippings['.$class.']', $shipping_array, is_array ( $excluded_shippings )?in_array ( $class, $excluded_shippings ):0 ); ?></span></td>

      </tr>

<?php }

}

?>

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

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

 

 

-includes/application_top.php

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

require_once (DIR_FS_INC.'xtc_db_connect.inc.php');

require_once (DIR_FS_INC.'xtc_db_close.inc.php');

require_once (DIR_FS_INC.'xtc_db_error.inc.php');

require_once (DIR_FS_INC.'xtc_db_perform.inc.php');

require_once (DIR_FS_INC.'xtc_db_query.inc.php');

require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');

require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');

require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');

require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');

require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');

require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');

require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');

require_once (DIR_FS_INC.'xtc_db_output.inc.php');

require_once (DIR_FS_INC.'xtc_db_input.inc.php');

 

und ersetze es mit.

    require_once(DIR_WS_FUNCTIONS.'database.php');

    // require_once (DIR_FS_INC.'xtc_db_connect.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_close.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_error.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_perform.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_query.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_output.inc.php');

    // require_once (DIR_FS_INC.'xtc_db_input.inc.php');

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

xtc_db_connect() or die('Unable to connect to database server!');

 

und ersetze es mit:

    require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');

    db_connect_alt() or die('Unable to connect to database server!');

    global $ADODB_FETCH_MODE;

    $ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

 // include the language translations

 require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');

 

und füge danach ein:

    $db->Execute("SET NAMES 'latin1'");

    $db->Execute("SET CHARACTER_SET_CLIENT=latin1");

    $db->Execute("SET CHARACTER_SET_RESULTS=latin1");

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

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

 

 

-includes/classes/shipping.php

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

finde folgendes:

         for ($i = 0, $n = sizeof($include_modules); $i < $n; $i++) {

          if (xtc_in_array(str_replace('.php', '', $include_modules[$i]['file']), $unallowed_modules) != 'false') {

 

und ersetze es mit:

    // Get unallowed shippings for selected products in order

    $excluded_shippings = array();

    if ( is_object ( $order ) && count ( $order ) > 0 ) {

 

        // get selected products from order

        $selected_products = '';

        $first = true;

        foreach ( $order->products as $prod ) {

            if ( !$first )

                $selected_products .= ", ";

 

            $first = false;     

 

            $selected_products .= "'".$prod['id']."'";

        }

 

        // get unallowed shippings for selected products

        require_once('imedes_library/aav.php');

    }

 

         for ($i = 0, $n = sizeof($include_modules); $i < $n; $i++) {

          if (xtc_in_array(str_replace('.php', '', $include_modules[$i]['file']), $unallowed_modules) != 'false' && !in_array ( $include_modules[$i]['class'], $excluded_shippings ) ) {

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

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

 

 

-includes/functions/sessions.php

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

Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes

erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie

einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an

finde folgendes:

     function _sess_write($key, $val) {

       global $SESS_LIFE;

 

und füge danach ein:

        if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird

            global$db;

            require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');

            db_connect_alt() or die('Unable to connect to database server!');

            

            $db->Execute("SET NAMES 'latin1'");

            $db->Execute("SET CHARACTER_SET_CLIENT=latin1");

            $db->Execute("SET CHARACTER_SET_RESULTS=latin1");

        }

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

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

 

 

-lang/german/admin/categories.php

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

finde folgendes:

 define('HEADING_CATEGORY','Kategorie');

 

und füge danach ein:

define('TEXT_UNALLOWED_SHIPPINGS','Lieferung per %s verbieten:');

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

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

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

 

 

 

 

Deine Werbung auf Ecombase ? 50.000 Einblendungen täglich.
Kleiner Preis - große Wirkung - Anfragen - eMail im Impressum !

Quick Links

Andere Empfehlungen

http://www.ecombase.de/Bilder/Designnerd-3D-RSS-preview.jpg
   Gully RSS News : Ecomdev News

   Mein Name gehört mir ! 
   Marketing Zielgruppe 50+
   Gast durch Gottes Hand ?

Copyright (C) 2008 eComBASE Shop Software - Community  - bei Volker Bellendorf - 59077 Hamm - +49-2381-402621
SHOPcommuniy (R) ist eingetragene Wort + Bildmarke
Alle Texte & Bilder sind Eigentum der Betreiber der Webseite eCombase.de
Vervielfältigung - Verwendung auf eigenen Webseiten nicht ohne schriftliche Genehmigung