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

Submitter: webmaster
Released: 2004/04/28

Version: 2.0
Release Status: 
Downloads: 3466
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:  | 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 2026 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 "<center><b>"._AUTHORDELSURE." $catname "._FRCATLISTQ."</b>"
."<br><br>[ <a href=\"index.php?op=dbdeletecat&caid=$caid\">"._YES."</a> ] [ <a href=\"index.php?op=adminads\">"._NO."</a> ]</center>";
}
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 "<center><b>"._AUTHORDELSURE." $catname "._FRCATLISTQ."</b>"
."<br><br>[ <a href=\"index.php?op=dbdeletecat&caid=$caid\">"._YES."</a> ] [ <a href=\"index.php?op=adminads\">"._NO."</a> ]</center>";
}
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);
     }
  }

 


Login

Top Module Downloads

Donat-O-Meter

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