Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. BrockleyJohn

    [Addon] Facebook Pixel

    I have just uploaded v1.4 to the addons section. This is a security update - all addon users should apply it. PM me if you want details of what the problem is (not necessary to apply the fix).
  3. Yesterday
  4. Valeria,

    How are you?

    Listen, i have this file " bm_jcmgoogleads.php " on the Adsense module installation folder.  The question is, do i have to insert that in there? 

    <?php
    /*
      $Id$

      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com

      Copyright (c) 2010 osCommerce

      Released under the GNU General Public License
    */

      class bm_jcmgoogleads {
        var $code = 'bm_jcmgoogleads';
        var $group = 'boxes';
        var $title;
        var $description;
        var $sort_order;
        var $enabled = false;

        function __construct() {
          $this->title = MODULE_BOXES_JCMGOOGLEADS_TITLE;
          $this->description = MODULE_BOXES_JCMGOOGLEADS_DESCRIPTION;

          if ( defined('MODULE_BOXES_JCMGOOGLEADS_STATUS') ) {
            $this->sort_order = MODULE_BOXES_JCMGOOGLEADS_SORT_ORDER;
            $this->enabled = (MODULE_BOXES_JCMGOOGLEADS_STATUS == 'True');
            
            $this->group = ((MODULE_BOXES_JCMGOOGLEADS_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right');
          }
        }

        function execute() {
          global $currencies, $oscTemplate;

          {
                     
            ob_start();
            include('includes/modules/boxes/templates/jcmgoogleads.php');
            $data = ob_get_clean();

            $oscTemplate->addBlock($data, $this->group);
          }
        }

        function isEnabled() {
          return $this->enabled;
        }

        function check() {
          return defined('MODULE_BOXES_JCMGOOGLEADS_STATUS');
        }

        function install() {
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable jcmgoogleads Module', 'MODULE_BOXES_JCMGOOGLEADS_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_BOXES_JCMGOOGLEADS_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', '6', '1', 'tep_cfg_select_option(array(\'Left Column\', \'Right Column\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_BOXES_JCMGOOGLEADS_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())");
        }

        function remove() {
          tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
        }

        function keys() {
          return array('MODULE_BOXES_JCMGOOGLEADS_STATUS', 'MODULE_BOXES_JCMGOOGLEADS_CONTENT_PLACEMENT', 'MODULE_BOXES_JCMGOOGLEADS_SORT_ORDER');
        }
        }

     

    Thank You for helping me.

    1. Show previous comments  2 more
    2. SolidAmerica

      SolidAmerica

      THANK YOU do much.

      Gino Venegas Costa Rica.

    3. valquiria23

      valquiria23

      de nada y a las ordenes.

    4. SolidAmerica

      SolidAmerica

      Funciona de Marabilla, Fantastico!.

      Muchisimas Gracias.

  5. Thanks for the information. After a bit of further research, we found that the simplest way to resolve this DMARC sendmail issue was to modify line # 522 of the class email() found in includes/classes/email.php and admin/includes/classes, to include the 5th PHP mail() argument "'-f ' . $to_addr". This would make the "Sent/From:" address match the "Return-Path:" address: Replace: return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); With: return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), '-f ' . $to_addr); To resolve this DMARC problem using the osCommerce SMTP option, adding the 5th PHP mail() argument to that code likely will have the same result.
  6. This is not a new problem. Searching the forums with google will turn up a number of threads on it. Here's one that, as I recall, works.
  7. ecartz

    Store Search Bar (BS)

    If someone deliberately locked the App, then Harald shouldn't change the status unless asked by the original developer. The whole purpose of locked Apps is so that someone can have a place where only their uploads are. Just create a new App. The new App can be unlocked if you want. Reading back, there are more than just two changes to get it working since the last release. A bunch of TABLE_CONFIGURATION to replace.
  8. Dan Cole

    Store Search Bar (BS)

    Harald is on the only one that can change it but it can always be uploaded as a new version. Dan
  9. Jack_mcs

    Store Search Bar (BS)

    If the app is locked only the original author, or any he assigns, can edit it. I think Harald is the only one that can change the status but you could contact one of the team members to find out for sure. Or, you can start a new addon.
  10. kgtee

    Store Search Bar (BS)

    I can't because I do not have the permission to make any changes to the app. After all there are only two small changes to the file ""ext/modules/content/header/store_search/content_searches.php": 1) At Line 82, add this line: 2) At Line 130, remove the field "p.products_availability, "
  11. Mikepo

    Store Search Bar (BS)

    Can you update the app store with the working version please?
  12. kgtee

    Store Search Bar (BS)

    I used firefox web console to debug the ajax process and the console showed an error in the file "content_searches.php". The error pertained to a statement looking up the product database table for a field called products_availability which is obviously not native of Phoenix original database. After clearing this error, the store search is finally working.
  13. Last week
  14.  

    For anyone who knows about this plugin:
     

    I was installing this module o Google Ads and got this error.

    "    Google Ads

    1146 - Table 'bookoflikes_stores.TABLE_CONFIGURATION' doesn't exist

    insert into TABLE_CONFIGURATION (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable jcmgoogleads Module', 'MODULE_BOXES_JCMGOOGLEADS_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())     "

    How can that be fixed? 

    Thank You.

    1. SolidAmerica

      SolidAmerica

      Oh, I'm Sorry about Your father. So sorry.

    2. valquiria23

      valquiria23

      change insert into TABLE_CONFIGURATION to:

      insert into configuration

  15. That is not correct for the newer versions of the addon it is admin>modules>header tags If you uploaded addons in includes/modules/header_tags then ofcourse you can find it also in admin/modules under header tags 🙂
  16. It is now the standard of Comcast and Charter to employ cloudmark.com to check compliance with DMARC standards which requires the "Return-Path:" address to match the "Sent/From:" address. Our shops use sendmail in osCommerce 2.3.4.1, which employs "tep_mail()" and class "email()". The problem is created by sendmail which defaults "Return-Path:" to the Linux host "Username " as Username@domain rather than Sent/From@domain. Accordingly, there needs to be an immediate fix to avoid these bounced emails never reaching our store customers because the default "Return-Path:" fails to mirror the "Sent/From:" address.
  17. The author of this addon is deceased (see his profile), so he can no longer answer questions. The answer to your question can be found in the description of the addon that 14steve14 has linked to. I quote : Simply copy all files into relevant sections and go to admin modules / Navbar Modules and install.
  18. The all-new template system made by Matt is in the Phoenix Stream from 1.0.7.6 onwards. First example (remake of Gustavo theme from years ago): https://template.me.uk/PRO/S5/index.php More examples to follow. The templating system is very powerful and extremely flexible...big thanks to Matt @ecartz for his vision and hard work in getting the template system ready for prime-time and for making it extremely straightforward to use. Give it a go, you'll be pleasantly surprised.
  19. I know where the files are located. I have uploaded them already. when I navigate to the admin of my store, where do I find this addon to install the module?
  20. raiwa

    AJAX Attribute Manager support

    Hi, I apologize. I forgot to fix this in the last update. I took noite and will do it in the next update. For now, just turn error reporting off and it will work. These are "only" notice errors.
  21. radhavallabh

    AJAX Attribute Manager support

    Hi; I just upgraded to 1.0.7.9 Phoenix.. I still get below errors Notice: Undefined offset: 27 in /xx/xx/controlpanel/attributeManager/classes/attributeManager.class.php on line 234 Notice: Undefined offset: 495 in/xx/xx/controlpanel/attributeManager/classes/attributeManager.class.php on line 237 Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/controlpanel/attributeManager/classes/attributeManager.class.php:234) in /xx/xx/ShriGanesha/controlpanel/attributeManager/attributeManager.php on line 85 Help will be deeply appreciated Thank you in advance; Regds./ radhavallabh
  22. Click the link at the top of this thread to go to the page where the addon is located. This addon may need updating for use on the latest version.
  23. where in the admin is it located? using Phoenix v1.0.7.7
  24. MyBookShop

    Header Tags SEO

    Had to add the lines from the latest 1.0.7.9 <title><?php echo htmlspecialchars($oscTemplate->getTitle()); ?></title> <base href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"> to your supplied template_top for the latest 1.0.7.9 or the images disappeared in product listing (im using Kissit)
  25. Well, yes. In general, users are able to bypass landing pages by going directly to the URL. If you don't want that to happen, then you need to build something in the cart itself that detects if a login occurred yet. E.g. a hook that runs on every page but login and create_account. You can't simply rely on the ceid's existence for that. That's not what it does. I mean, either set a cookie (not the ceid) on the landing page and check for that or require the sign up in the cart and require login on all pages except login and create_account. It would be possible to block creation of the session if a cookie did not exist. But it would be a lot easier to simply redirect, session or no session, if the cookie does not exist.
  26. @ecartz I figured it out. I had to just set up one of my other sessions to see if it's null or not. Thank you again for your help!
  27. Thanks! I'm gonna tinker some more but to further explain the issue, it seems the users can get pass the landing page once the ceid session starts. So, say for example, a person is trying to go to a product page, I want redirect them to the landing page. However, the ceid is already triggered and it appears the user is able to bypass the landing page if they attempt to go back to the product page again. I hope that makes sense but essentially, the landing page is a sign in page.
  28. v1.0.7.9 is tagged and announced;
    https://www.oscommerce.com/Us&News=170

  1. Load more activity
×