rechtstexte für onlineshop
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: MODUL: Shopbewertung für modified eCommerce Shopsoftware

    myp

    • Neu im Forum
    • Beiträge: 37
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #990 am: 24. Oktober 2014, 11:59:18
    Morgen,

    schon mal vielen Dank für die Hilfe  :-)

    Geladen habe ich die neuste Version von der Seite direkt (gestern Abend).

    Hier die PHP Datei bzw. der Inhalt:

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: boxes.php 3409 2012-08-10 12:47:17Z web28 $

       modified eCommerce Shopsoftware
       http://www.modified-shop.org

       Copyright (c) 2009 - 2013 [www.modified-shop.org]
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2006 XT-Commerce
       
       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/


    // BOF - Tomcraft - 2009-10-27 - Prevent duplicate content, see: http://www.gunnart.de/tipps-und-tricks/doppelten-content-vermeiden-productredirect-fuer-xtcommerce/
      require_once (DIR_FS_CATALOG . 'templates/' . CURRENT_TEMPLATE . '/source/inc/gunnart_productRedirect.inc.php');
    // EOF - Tomcraft - 2009-10-27 - Prevent duplicate content, see: http://www.gunnart.de/tipps-und-tricks/doppelten-content-vermeiden-productredirect-fuer-xtcommerce/



      define('DIR_WS_BOXES',DIR_FS_CATALOG .'templates/'.CURRENT_TEMPLATE. '/source/boxes/');

    //BOC require boxes
    // -----------------------------------------------------------------------------------------
    //      Immer sichtbar
    // -----------------------------------------------------------------------------------------
      require_once(DIR_WS_BOXES . 'categories.php');
      require_once(DIR_WS_BOXES . 'whats_new.php');
      require_once(DIR_WS_BOXES . 'categories_dropdown.php');
      require_once(DIR_WS_BOXES . 'manufacturers.php');
      require_once(DIR_WS_BOXES . 'last_viewed.php');
      require_once(DIR_WS_BOXES . 'search.php');
      require_once(DIR_WS_BOXES . 'content.php');
      require_once(DIR_WS_BOXES . 'information.php');
      require_once(DIR_WS_BOXES . 'languages.php');
      require_once(DIR_WS_BOXES . 'infobox.php');
      require_once(DIR_WS_BOXES . 'loginbox.php');
      require_once(DIR_WS_BOXES . 'newsletter.php');
     
    // -----------------------------------------------------------------------------------------
    //      Nur, wenn Preise sichtbar
    // -----------------------------------------------------------------------------------------
      if ($_SESSION['customers_status']['customers_status_show_price'] == 1) {
        require_once(DIR_WS_BOXES . 'add_a_quickie.php');
        require_once(DIR_WS_BOXES . 'shopping_cart.php');
      }
    // -----------------------------------------------------------------------------------------

    // -----------------------------------------------------------------------------------------
    //      Nur fuer Admins
    // -----------------------------------------------------------------------------------------
      if ($_SESSION['customers_status']['customers_status_id'] == 0) {
        require_once(DIR_WS_BOXES . 'admin.php');
        $smarty->assign('is_admin', true);
      }
    // -----------------------------------------------------------------------------------------
    //      Produkt-Detailseiten
    // -----------------------------------------------------------------------------------------
      if ($product->isProduct()) {
        //Aktuelle Seite ist Produkt-Detailseite
        require_once(DIR_WS_BOXES . 'manufacturer_info.php');
      } else {
        //Aktuelle Seite ist keine  Produkt-Detailseite
        require_once(DIR_WS_BOXES . 'best_sellers.php');
        require_once(DIR_WS_BOXES . 'specials.php');
      }
    // -----------------------------------------------------------------------------------------
    //      Nur fuer eingeloggte Besucher
    // -----------------------------------------------------------------------------------------
      if (isset($_SESSION['customer_id'])) {
        require_once(DIR_WS_BOXES . 'order_history.php');
      }
    // -----------------------------------------------------------------------------------------
    //      Nur, wenn Bewertungen erlaubt
    // -----------------------------------------------------------------------------------------
      if ($_SESSION['customers_status']['customers_status_read_reviews'] == 1) {
        require_once(DIR_WS_BOXES . 'reviews.php');
      }
    // -----------------------------------------------------------------------------------------
    //      Waehrend des Kauf-Abschlusses verborgen
    // -----------------------------------------------------------------------------------------
      if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
        require_once(DIR_WS_BOXES . 'currencies.php');
      }
    // -----------------------------------------------------------------------------------------
    //EOC require boxes

    // -----------------------------------------------------------------------------------------
    // Smarty Zuweisung Startseite
    // -----------------------------------------------------------------------------------------
    $smarty->assign('home', strpos($PHP_SELF, 'index')!==false && !isset($_GET['cPath']) && !isset($_GET['manufacturers_id']) ? 1 : 0);
    // -----------------------------------------------------------------------------------------

    $smarty->assign('tpl_path',DIR_WS_BASE.'templates/'.CURRENT_TEMPLATE.'/');

    // (( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! )) - Shopreview-Modul
    require_once(DIR_FS_CATALOG . '/mailhive/configbeez/config_shopvoting/classes/Shopvoting_widget.php');
    $shopvoting = new Shopvoting_widget();
    $smarty->assign('box_shopvoting',$shopvoting->output());
    ?>

    VlG
    Stefan

    web4design

    • Experte
    • Beiträge: 1.122
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #991 am: 24. Oktober 2014, 12:04:12
    Hm,

    dumme Frage aber MailBeez  hast du auch installiert oder? :D

    Ansonsten melde dich mal per Mail bei mir.

    Gruß

    myp

    • Neu im Forum
    • Beiträge: 37
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #992 am: 24. Oktober 2014, 12:17:07
    Äääh... MailBeez, installiert   :hust:

    Ich wusste doch, da stimmt was nicht  :lol:

    Sry, im Normalfall komme ich mit Installationen relativ gut zurecht... Nur hier komme ich
    an meine Grenzen...

    Ich meld mich mal bei Dir via Mail  :-)

    LG
    Stefan

    mr.august

    • Frisch an Board
    • Beiträge: 60
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #993 am: 09. Januar 2015, 23:46:59
    Hallo zusammen,

    ich beschäftige mich nun auch seit ein paar Tagen mit dem Modified Shopsystem und bin bislang sehr zufrieden. Habe mich auch schon etwas reingelesen und das Template bislang problemlos meinen Wünschen anpassen können.

    Aber bei der Installation dieses Moduls, scheitere ich warum auch immer ...
    Es will einfach nicht laufen.

    Ich habe die Dateien wie in der Anleitung hochgeladen, die column_left.php angepasst und dann komme ich nicht weiter.

    Erstmal verschieb es im Backoffice alles, wie auf Bild 1 zu sehen.
    Abgesehen davon, funktioniert es auch nicht. Sobald ich auf "MailBeez" klicke, kommt folgender Fehler :

    "1054 - Unknown column 'mailbeez' in 'field list'

    select mailbeez from admin_access where customers_id = '1'

    [MOD SQL Error]"


    Was mache ich falsch?

    Verwende die aktuellsten Versionen. Habe ich was überlesen?

    Vielen Dank und beste Grüße

    web4design

    • Experte
    • Beiträge: 1.122
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #994 am: 10. Januar 2015, 11:27:21
    Hi.

    Hast du  nach der MailBeez-Anleitung: http://tinyurl.com/mq8oor3

    auch Schritt 3 ausgeführt?

    Wenn dein Admin-Menü verschoben ist, gehe ich erste inmal davon aus, dass du es nicht korrekt eingebaut hast.

    Geh am besten noch einmal die Anleitung durch.

    Gruß

    Nachtrag:
    Am besten in den Thread hier schauen und rein schreiben: http://www.modified-shop.org/forum/index.php?topic=31420

    Dort geht es primär um das Shopbewertungsmodul in Verbindung um MailBeez (ab Version 3.0)

    mr.august

    • Frisch an Board
    • Beiträge: 60
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #995 am: 17. Januar 2015, 17:46:05
    Vielen Dank für die Antwort, habe das Problem jetzt einigermaßen lösen können.

    Nur die Anzeige im Admin Menü funktioniert nach wie vor nicht richtig, aber passt schon.

    merci!

    wicki

    • Frisch an Board
    • Beiträge: 91
    • Geschlecht:
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #996 am: 09. September 2015, 20:26:36
    was mach ich da falsch.....bekomme nach dem eintrag immer eine weiße seite
    --------------------------------------------------------------------------------------------
    Öffne die Datei:
    includes/header.php

    Suche nach:
    <script type="text/javascript"><!--
    var selected;

    Füge darüber ein: (ACHTUNG: "DARÜBER" -- nicht darunter einfügen)
    <?php include('web4design-de/shopbewertung/vars/votinginclude.php'); ?>

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: header.php 3808 2012-10-28 20:39:04Z web28 $

       modified eCommerce Shopsoftware
       http://www.modified-shop.org

       Copyright (c) 2009 - 2013 [www.modified-shop.org]
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(header.php,v 1.40 2003/03/14); www.oscommerce.com
       (c) 2003 nextcommerce (header.php,v 1.13 2003/08/17); www.nextcommerce.org
       (c) 2006 XT-Commerce (header.php 1140 2005-08-10)

       Released under the GNU General Public License
       -----------------------------------------------------------------------------------------
       Third Party contribution:

       Credit Class/Gift Vouchers/Discount Coupons (Version 5.10)
       http://www.oscommerce.com/community/contributions,282
       Copyright (c) Strider | Strider@oscworks.com
       Copyright (c  Nick Stanko of UkiDev.com, nick@ukidev.com
       Copyright (c) Andre ambidex@gmx.net
       Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/


    define('DIR_MODIFIED_INSTALLER', '_installer');

    //SET SHOP OFFLINE 503 STATUS CODE
    require_once(DIR_FS_INC . 'xtc_get_shop_conf.inc.php');
    if(xtc_get_shop_conf('SHOP_OFFLINE') == 'checked' && $_SESSION['customers_status']['customers_status_id'] != 0) {          
            header("HTTP/1.1 503 Service Temporarily Unavailable");
      header("Status: 503 Service Temporarily Unavailable");
    }
    //SET 410 STATUS CODE
    elseif (isset($error) && ($error == CATEGORIE_NOT_FOUND || $error == TEXT_PRODUCT_NOT_FOUND)) {
      header("HTTP/1.0 410 Gone");
      header("Status: 410 Gone"); // FAST CGI
    }

    /******** SHOPGATE **********/
    if(strpos(MODULE_PAYMENT_INSTALLED, 'shopgate.php') !== false && strpos($_SESSION['customers_status']['customers_status_payment_unallowed'], 'shopgate') === false){
      include_once (DIR_FS_CATALOG.'includes/external/shopgate/base/includes/header.php');
    }
    /******** SHOPGATE **********/

    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <?php
    /******** SHOPGATE **********/
    if(strpos(MODULE_PAYMENT_INSTALLED, 'shopgate.php') !== false && strpos($_SESSION['customers_status']['customers_status_payment_unallowed'], 'shopgate') === false){
      echo $shopgateJsHeader;
    }
    /******** SHOPGATE **********/
    ?>
    <?php include(DIR_WS_MODULES.FILENAME_METATAGS); ?>
    <link rel="shortcut icon" href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER).DIR_WS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/favicon.ico';?>" type="image/x-icon" />
    <?php
    /*
      The following copyright announcement is in compliance  to section 2c of the GNU General Public License,
      and thus can not be removed, or can only be modified  appropriately.

      Please leave this comment intact together with the following copyright announcement.
    */

    ?>
    <!--
    =========================================================
    modified eCommerce Shopsoftware (c) 2009-2012 [www.modified-shop.org]
    =========================================================

    modified eCommerce Shopsoftware offers you highly scalable E-Commerce-Solutions and Services.
    The Shopsoftware is redistributable under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html].
    based on: E-Commerce Engine Copyright (c) 2006 xt:Commerce, created by Mario Zanier & Guido Winger and licensed under GNU/GPL.
    Information and contribution at http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))

    =========================================================
    Please visit our website: www.modified-shop.org
    =========================================================
    -->

    <meta name="generator" content="(c) by <?php echo PROJECT_VERSION; ?> ------|| http://www.modified-shop.org" />
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" />
    <?php
    if (file_exists('templates/'.CURRENT_TEMPLATE.'/css/general.css.php')) {
      require('templates/'.CURRENT_TEMPLATE.'/css/general.css.php');
    } else { //Maintain backwards compatibility for older templates
      echo '<link rel="stylesheet" type="text/css" href="templates/'.CURRENT_TEMPLATE.'/stylesheet.css" />';
    }
    <?php include('web4design-de/shopbewertung/vars/votinginclude.php');
    ?>
    <script type="text/javascript"><!--
    var selected;
    var submitter = null;
    function submitFunction() {
        submitter = 1;
    }
    function popupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
    }  
    function selectRowEffect(object, buttonSelect) {
      if (!selected) {
        if (document.getElementById) {
          selected = document.getElementById('defaultSelected');
        } else {
          selected = document.all['defaultSelected'];
        }
      }
      if (selected) selected.className = 'moduleRow';
      object.className = 'moduleRowSelected';
      selected = object;
      if (document.getElementById('payment'[0])) {
        document.getElementById('payment'[buttonSelect]).checked=true;
      }
    }
    function rowOverEffect(object) {
      if (object.className == 'moduleRow') object.className = 'moduleRowOver';
    }
    function rowOutEffect(object) {
      if (object.className == 'moduleRowOver') object.className = 'moduleRow';
    }
    function popupImageWindow(url) {
      window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    <?php
    // require theme based javascript
    require('templates/'.CURRENT_TEMPLATE.'/javascript/general.js.php');

    if (strstr($PHP_SELF, FILENAME_CHECKOUT_PAYMENT)) {
     echo $payment_modules->javascript_validation();
    }

    if (strstr($PHP_SELF, FILENAME_CREATE_ACCOUNT)) {
      require('includes/form_check.js.php');
    }

    if (strstr($PHP_SELF, FILENAME_CREATE_GUEST_ACCOUNT )) {
      require('includes/form_check.js.php');
    }
    if (strstr($PHP_SELF, FILENAME_ACCOUNT_PASSWORD )) {
      require('includes/form_check.js.php');
    }

    if (strstr($PHP_SELF, FILENAME_ACCOUNT_EDIT )) {
      require('includes/form_check.js.php');
    }

    if (strstr($PHP_SELF, FILENAME_ADDRESS_BOOK_PROCESS )) {
      if (isset($_GET['delete']) == false) {
        include('includes/form_check.js.php');
      }
    }

    if (strstr($PHP_SELF, FILENAME_CHECKOUT_SHIPPING_ADDRESS ) || strstr($PHP_SELF,FILENAME_CHECKOUT_PAYMENT_ADDRESS)) {
      require('includes/form_check.js.php');
      ?>
    <script type="text/javascript"><!--
    function check_form_optional(form_name) {
      var form = form_name;
      var firstname = form.elements['firstname'].value;
      var lastname = form.elements['lastname'].value;
      var street_address = form.elements['street_address'].value;
      if (firstname == '' && lastname == '' && street_address == '') {
        return true;
      } else {
        return check_form(form_name);
      }
    }
    //--></script>
      <?php
    }

    if (strstr($PHP_SELF, FILENAME_ADVANCED_SEARCH )) {
    ?>
    <script type="text/javascript" src="includes/general.js"></script>
    <script type="text/javascript"><!--
    function check_form() {
      var error_message = unescape("<?php echo xtc_js_lang(JS_ERROR); ?>");
      var error_found = false;
      var error_field;
      var keywords = document.getElementById("advanced_search").keywords.value;
      var pfrom = document.getElementById("advanced_search").pfrom.value;
      var pto = document.getElementById("advanced_search").pto.value;
      var pfrom_float;
      var pto_float;
      if ( (keywords == '' || keywords.length < 1) && (pfrom == '' || pfrom.length < 1) && (pto == '' || pto.length < 1) ) {
        error_message = error_message + unescape("<?php echo xtc_js_lang(JS_AT_LEAST_ONE_INPUT); ?>");
        error_field = document.getElementById("advanced_search").keywords;
        error_found = true;
      }
      if (pfrom.length > 0) {
        pfrom_float = parseFloat(pfrom);
        if (isNaN(pfrom_float)) {
          error_message = error_message + unescape("<?php echo xtc_js_lang(JS_PRICE_FROM_MUST_BE_NUM); ?>");
          error_field = document.getElementById("advanced_search").pfrom;
          error_found = true;
        }
      } else {
        pfrom_float = 0;
      }
      if (pto.length > 0) {
        pto_float = parseFloat(pto);
        if (isNaN(pto_float)) {
          error_message = error_message + unescape("<?php echo xtc_js_lang(JS_PRICE_TO_MUST_BE_NUM); ?>");
          error_field = document.getElementById("advanced_search").pto;
          error_found = true;
        }
      } else {
        pto_float = 0;
      }
      if ( (pfrom.length > 0) && (pto.length > 0) ) {
        if ( (!isNaN(pfrom_float)) && (!isNaN(pto_float)) && (pto_float < pfrom_float) ) {
          error_message = error_message + unescape("<?php echo xtc_js_lang(JS_PRICE_TO_LESS_THAN_PRICE_FROM); ?>");
          error_field = document.getElementById("advanced_search").pto;
          error_found = true;
        }
      }
      if (error_found == true) {
        alert(error_message);
        error_field.focus();
        return false;
      }
    }
    function popupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    <?php
    }

    if (strstr($PHP_SELF, FILENAME_PRODUCT_REVIEWS_WRITE )) {
    ?>
    <script type="text/javascript"><!--
    function checkForm() {
      var error = 0;
      var error_message = unescape("<?php echo xtc_js_lang(JS_ERROR); ?>");
      var review = document.getElementById("product_reviews_write").review.value;
      if (review.length < <?php echo REVIEW_TEXT_MIN_LENGTH; ?>) {
        error_message = error_message + unescape("<?php echo xtc_js_lang(JS_REVIEW_TEXT); ?>");
        error = 1;
      }
      if (!((document.getElementById("product_reviews_write").rating[0].checked) || (document.getElementById("product_reviews_write").rating[1].checked) || (document.getElementById("product_reviews_write").rating[2].checked) || (document.getElementById("product_reviews_write").rating[3].checked) || (document.getElementById("product_reviews_write").rating[4].checked))) {
        error_message = error_message + unescape("<?php echo xtc_js_lang(JS_REVIEW_RATING); ?>");
        error = 1;
      }
      if (error == 1) {
        alert(error_message);
        return false;
      } else {
        return true;
      }
    }
    //--></script>
    <?php
    }
    if (strstr($PHP_SELF, FILENAME_POPUP_IMAGE )) {
    ?>
    <script type="text/javascript"><!--
    var i=0;
    function resize() {
      if (navigator.appName == 'Netscape') i=40;
      if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);
      self.focus();
    }
    //--></script>
    <?php
    }
    ?>
    </head>
    <body<?php if(strstr($PHP_SELF, FILENAME_POPUP_IMAGE )) echo ' onload="resize();"'; ?>>
    <?php

    // econda tracking
    if (TRACKING_ECONDA_ACTIVE=='true') { ?>
    <script type="text/javascript"><!--
    var emos_kdnr='<?php echo TRACKING_ECONDA_ID; ?>';
    //--></script>
    <a name="emos_sid" rel="<?php echo session_id(); ?>" rev=""></a>
    <a name="emos_name" title="siteid" rel="<?php echo $_SESSION['languages_id']; ?>" rev=""></a>
    <?php
    }

    if (strstr($PHP_SELF, FILENAME_CHECKOUT_SUCCESS) && GOOGLE_CONVERSION == 'true') {
      require('includes/google_conversiontracking.js.php');
    }

    // include needed functions
    require_once('inc/xtc_output_warning.inc.php');
    require_once('inc/xtc_image.inc.php');
    require_once('inc/xtc_parse_input_field_data.inc.php');
    require_once('inc/xtc_draw_separator.inc.php');

    // check if the 'install' directory exists, and warn of its existence
    if (WARN_INSTALL_EXISTENCE == 'true') {
      if (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . '/' . DIR_MODIFIED_INSTALLER)) {
        xtc_output_warning(sprintf(WARNING_INSTALL_DIRECTORY_EXISTS, dirname($_SERVER['SCRIPT_FILENAME']) . '/_installer'));
      }
    }

    // check if the configure.php file is writeable
    if (WARN_CONFIG_WRITEABLE == 'true') {
      if ( (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
        xtc_output_warning(sprintf(WARNING_CONFIG_FILE_WRITEABLE, dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php'));
      }
    }

    // check if the session folder is writeable
    if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
      if (STORE_SESSIONS == '') {
        if (!is_dir(xtc_session_save_path())) {
          xtc_output_warning(WARNING_SESSION_DIRECTORY_NON_EXISTENT);
        } elseif (!is_writeable(xtc_session_save_path())) {
          xtc_output_warning(WARNING_SESSION_DIRECTORY_NOT_WRITEABLE);
        }
      }
    }

    // check session.auto_start is disabled
    if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
      if (ini_get('session.auto_start') == '1') {
        xtc_output_warning(WARNING_SESSION_AUTO_START);
      }
    }

    if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
      if (!is_dir(DIR_FS_DOWNLOAD)) {
        xtc_output_warning(WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT);
      }
    }

    $smarty->assign('navtrail',$breadcrumb->trail(' &raquo; '));
    if (isset($_SESSION['customer_id'])) {
            $smarty->assign('logoff',xtc_href_link(FILENAME_LOGOFF, '', 'SSL'));
    } else {
            $smarty->assign('login',xtc_href_link(FILENAME_LOGIN, '', 'SSL'));
    }
    $smarty->assign('index',xtc_href_link(FILENAME_DEFAULT));
    if ( $_SESSION['account_type']=='0') {
    $smarty->assign('account',xtc_href_link(FILENAME_ACCOUNT, '', 'SSL'));
    }
    $smarty->assign('cart',xtc_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
    $smarty->assign('checkout',xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    $smarty->assign('store_name', encode_htmlspecialchars(TITLE));

    if (isset($_GET['error_message']) && xtc_not_null($_GET['error_message'])) {
            $smarty->assign('error','<p class="errormessage">'. encode_htmlspecialchars(urldecode($_GET['error_message'])).'</p>');
    }
    if (isset($_GET['info_message']) && xtc_not_null($_GET['info_message'])) {
            $smarty->assign('error','<p class="errormessage">'.encode_htmlspecialchars($_GET['info_message']).'</p>');
    }

    include(DIR_WS_INCLUDES.FILENAME_BANNER);

    //SHOP OFFLINE INFO
    if(xtc_get_shop_conf('SHOP_OFFLINE') == 'checked' && $_SESSION['customers_status']['customers_status_id'] != 0) {      
            $smarty->assign('language', $_SESSION['language']);
            $smarty->assign('shop_offline_msg', xtc_get_shop_conf('SHOP_OFFLINE_MSG'));    
      $smarty->display(CURRENT_TEMPLATE.'/offline.html');  
            EXIT;
    }

    //BOF - Dokuman - 2012-06-19 - BILLSAFE payment module (BillSAFE-Layer Start)
    if (defined('MODULE_PAYMENT_BILLSAFE_2_LAYER')) {
      if (preg_match('/checkout_payment/',$_SERVER['PHP_SELF']) && MODULE_PAYMENT_BILLSAFE_2_LAYER == 'True') {
        if (isset($_GET['payment_error'])) {
          $bs_error = stripslashes(html_entity_decode('payment_error='.$_GET['payment_error'].'&error_message='.$_GET['error_message']));
        } else {
          $bs_error = '';
        }
        echo '<script type="text/javascript"><!--
          if (top.lpg) top.lpg.close("'
    .str_replace('&amp;', '&', xtc_href_link(FILENAME_CHECKOUT_PAYMENT, $bs_error, 'SSL')).'");
        --></script>'
    ;
      }
      if (preg_match('/checkout_success/',$_SERVER['PHP_SELF']) && MODULE_PAYMENT_BILLSAFE_2_LAYER == 'True') {
        echo '<script type="text/javascript"><!--
          if (top.lpg) top.lpg.close("'
    .xtc_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL').'");
        --></script>'
    ;
      }
    }
    //EOF - Dokuman - 2012-06-19 - BILLSAFE payment module - BillSAFE-Layer End
    ?>
     

    wicki

    • Frisch an Board
    • Beiträge: 91
    • Geschlecht:
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #997 am: 09. September 2015, 21:01:28
    bitte vorigen eintrag löschen

    Alfred

    • Experte
    • Beiträge: 2.115
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #998 am: 14. April 2016, 14:41:50
    Hallo,

    Mail von Google: Incorrect structured data
    Ich denke da werden einige Post bekommen.

    Gruß

    web4design

    • Experte
    • Beiträge: 1.122
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #999 am: 14. April 2016, 18:34:23
    Sollte wohl auch hier rein:

    [...]
    Bin an einer Lösung dran.

    Zur kurzfristigen Behebung ist wohl wohl sinnvoll, die Rich-Snippets zu entfernen.

    Update kommt.
    [...]

    Quelle: Mail von Google: Incorrect structured data

    Gruß

    Mamoco

    • Neu im Forum
    • Beiträge: 40
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #1000 am: 14. April 2016, 21:29:40
    Hi web4design,

    erst mal ist es eine gutes Gefühl zu wissen das Du Dir das ansiehst. Um die Rich-Snippets kurzfristig zu entfernen, reicht es da die {$box_SHOP_BEWERTUNG} aus der   templates/deinTemplate/index.html
    zu nehmen oder muß mehr gemacht werden?

    Danke für ein Antwort
    Martin

    web4design

    • Experte
    • Beiträge: 1.122
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #1001 am: 14. April 2016, 21:43:58
    Hi.

    Das Update ist schon an Cord von MailBeez raus.

    Wer es vorab schon manuell ändern möchte, wie folgt:
    mailhive\configbeez\config_shopvoting\templates\boxes\box_shopreview.html

    den vorhandenen Code durch diesen ersetzen:

    Code: PHP  [Auswählen]
    <link rel="stylesheet" type="text/css" href="{$STYLESHEET_BOX_PATH}" />
    {config_load file="$language/shopreview.conf" section="shopreview"}
    <div class="detailshopreviewbox">
      <h3>{#shopreview_box_head#}</h3>
       <div class="starBlock" title="{$SHOPREVIEWS_ALL_AVERAGE} - {$RATING_TEXT}">
          <div class="ratingBlock ratingBlockStars{$ALL_STARS}"><a href="{$LINK}">&nbsp;</a></div>
        </div>
        <p class="reviewValue"><a href="{$LINK}">{$RATING_TEXT}</a></p>
          <p class="ratingValue">{$SHOPREVIEWS_ALL_AVERAGE}/5.00</p>
          {if $SHOW_TEXT == 1}
        <p class="reviewtext">{if $TEXTLEN > 0}
          <a href="{$LINK}" title="{$TEXT}">{$TEXT|truncate:$CHARACTER:"...":true}</a>{else}<span class="littlegrey">{#no_comment#}</span>{/if}
       </p>
          {/if}
          {if $SHOW_TOTAL == 1}
        <p class="totalreview"><a href="{$LINK}">{#review_total#}: {$SHOPREVIEWS_ALL}</a></p>
         {/if}
    </div>

    Gruß

    lohkaes1

    • Schreiberling
    • Beiträge: 460
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #1002 am: 14. April 2016, 22:22:48
    @web4design: Kurze Frage: Habe noch das "alte" Modul verbaut. Wo muss für diese Version die Änderung eingebaut werden?

    Danke.

    web4design

    • Experte
    • Beiträge: 1.122
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #1003 am: 14. April 2016, 22:42:23
    Teste mal den Anhang bitte.

    Wichtig:
    Backup nicht vergessen ;-)

    Gruß

    lohkaes1

    • Schreiberling
    • Beiträge: 460
    Re: MODUL: Shopbewertung für modified eCommerce Shopsoftware
    Antwort #1004 am: 15. April 2016, 09:41:18
    @web4design: Meine bisherige box_shopbewertungen.html sieht so aus:

    Code: PHP  [Auswählen]
    {config_load file="../web4design-de/shopbewertung/lang/$languageconf/shopbewertung.conf" section="shopbewertung"}
    <div class="shopbewertungBox box{$language}" itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="Shopbewertung" />
    <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">    
    <p class="ratingValue"><span itemprop="ratingValue" />{$BEWERTUNG_GESAMT_DURCHSCHNITT}</span> /
    <span itemprop="bestRating" content="5">5</span>.00
    <meta itemprop="reviewCount" content="{$GESAMT_BEWERTUNGEN}">
    </p>
    <div class="starBlock" title="{$BEWERTUNG_GESAMT_DURCHSCHNITT} - {$NOTEN_TEXT}"><div class="ratingBlock ratingBlockStars{$GESAMT_STERNE}"><a href="{$LINK}">&nbsp;</a></div></div>
    <p class="bewertungNote"><a href="{$LINK}">{$NOTEN_TEXT}</a></p>
    <p class="bewertungstext" itemprop="description">{if $TEXTLEN > 0} <a href="{$LINK}" title="{$TEXT}">{$TEXT|truncate:55:"...":true}</a>{else}<span class="littlegrey">{#keinebewertung#}</span>{/if}</p>
    <p class="gesamtbewertung"><a href="{$LINK}">{#gesamt#}: {$GESAMT_BEWERTUNGEN} {#kundenmeinungen#}</a></p>
    <!-- Eine Entfernung oder Änderung des Links (auch das setzen auf nofollow) ist nicht gestattet, für Rückfragen bitte an webmaster(at)(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! )) wenden-->
    <p class="copyBewertLink"><a href="http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))" title="{#copylink#}" target="_blank">{#copylink#}</a></p>
    </div>
    </div>
     

    Was ist jetzt die bessere Version?

    Danke.
    14 Antworten
    7438 Aufrufe
    27. Januar 2023, 14:25:43 von MoJo
    42 Antworten
    32428 Aufrufe
    25. Dezember 2013, 00:07:23 von rayban
    497 Antworten
    186927 Aufrufe
    04. August 2024, 16:59:42 von yorgey