Repository is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

Miscellaneous

Miscellaneous

Pricelist



Description:

Pricelist V2 0 Anatol Leskovski

Features:

    System Requirements:

      Submitter: webmaster
      Released: 2004/04/28

      Version: 2.0
      Release Status: 
      Downloads: 3391
      File Size: 27.32 Kb

      Rating:   (0 Votes)

      Reviews:  (0)

      Mirrors Available: 0

      Download Times:
      Modem(56k) : 4s
      ISDN(64k) : 4s
      DSL(768k) : 0.32s
      LAN(10M) : 0.02s
       
      Price: Free | Platform: 2.2.x | License: Apache License (v. 1.0) | Limitations: None

      XOOPS Web Application System User Reviews

      Other files by: webmaster
      Evennews Mailer (2006/06/04)
      Chess (2004/08/07)
      Avantgo 2.14 (2004/04/28)
      Cjay Content 3 (2004/04/28)
      Direct Friends (2004/04/28)
      Enterprise-X (2004/04/28)
      Error Handler (2004/04/28)
      Link to us (2004/04/28)
      Metacat 1.0 (2004/04/28)
      MSN Messenger (2004/04/28)
      EasyWeb (2004/04/28)
      Supports (2004/04/28)
      wsProject (2004/04/28)
      Addresses module (2004/04/28)
      Agnitio Virus Info (2004/04/28)
      Altern8news (2004/04/28)
      Analog clock (2004/04/28)

      Pricelist © copyright 2025 https://xoops.org

      The comments are owned by the author. We aren't responsible for their content.
      user

       Pricelist 2.0+ZIP little correction


      Hi

      Here is a correction of an error I discover in pricelist module


      There is an error in the file pricelist/admin/index.php about line 210 which impede modification of a category. Here is the correction. Substitute set by ,
      That's all!

      Before

      function DbEditDeleteCat($functz, $ok, $caid, $catname, $parent) {
      global $xoopsDB;
      if ($functz==0) {
      $xoopsDB->query("update ".$xoopsDB->prefix("pricelist_categories")." set catname='$catname' set parent='$parent' where caid=$caid" );
      redirect_header("index.php",1,_UPDATED);
      }
      if ($functz==1) {
      title(""._ADMINADSAECAT."");
      OpenTable();
      if ($ok == 0) {
      echo "

      "._AUTHORDELSURE." $catname "._FRCATLISTQ.""
      ."

      [ "._YES." ] [ "._NO." ]
      ";
      }
      CloseTable();
      }
      }

      After

      function DbEditDeleteCat($functz, $ok, $caid, $catname, $parent) {
      global $xoopsDB;
      if ($functz==0) {
      $xoopsDB->query("update ".$xoopsDB->prefix("pricelist_categories")." set catname='$catname', parent='$parent' where caid=$caid" );
      redirect_header("index.php",1,_UPDATED);
      }
      if ($functz==1) {
      title(""._ADMINADSAECAT."");
      OpenTable();
      if ($ok == 0) {
      echo "
      "._AUTHORDELSURE." $catname "._FRCATLISTQ.""
      ."

      [ "._YES." ] [ "._NO." ]
      ";
      }
      CloseTable();
      }
      }

       
      user

       Re: Pricelist 2.0+ZIP little correction


      Hi, this does not work at 2.0.18.1, are there only the one "set" i have to change?
      The whole module isnt working on my server, please help!

       
      user

       Re: Pricelist 2.0+ZIP little correction


      add this in beginning of admin/index.php. I add it after this line:

      $mytree = new XoopsTree($xoopsDB->prefix("pricelist_cat"),"cid","pid");


      It works on my server

      // Emulate register_globals on
        
      if (!ini_get('register_globals')) {
           
      $superglobals = array($_SERVER$_ENV,
               
      $_FILES$_COOKIE$_POST$_GET);
           if (isset(
      $_SESSION)) {
               
      array_unshift($superglobals$_SESSION);
           }
           foreach (
      $superglobals as $superglobal) {
               
      extract($superglobalEXTR_SKIP);
           }
        }

       
      Author Thread

      Login

      Top Module Downloads

      Who's Online

      182 user(s) are online (2 user(s) are browsing Module Repository)


      Members: 0


      Guests: 182


      more...

      Donat-O-Meter

      Stats
      Goal: AU$15.00
      Due Date: Jun 30
      Gross Amount: AU$0.00
      Net Balance: AU$0.00
      Left to go: AU$15.00
      Make donations with PayPal!