You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
This topic serves as a reference point for all CCP and KHXC updates. If you have installed or updated the program since the last update, your installation is to be considered fully up to date. Updates issued:
21/01/2007: GBW01212006A https://forum.kryptronic.com/viewtopic.php?id=15304
02/02/2007: GBW01212006A https://forum.kryptronic.com/viewtopic.php?id=15569
31/05/2007: GBU31052007A https://forum.kryptronic.com/viewtopic.php?id=17101
12/10/2007: GBU12102007A http://www.clickcartpro.co.uk/docs/upda … 2007A.html
02/11/2007: GBU02112007A http://www.clickcartpro.co.uk/docs/upda … 2007A.html
14/12/2007: GBU14122007A http://www.clickcartpro.co.uk/docs/upda … 2007A.html
30/09/2008: GBU30092008A http://www.clickcartpro.co.uk/docs/main-release-3.html
Next Update:
Date TBD: ID TBD None Scheduled
Offline
Has there been a UK update Release yet,
Have I missed this its usally about a week after the US but not seen anything posted
Offline
I have done the update earlier to 6.6.5 and GBU 6.0.6
all went fine and no problems
and thought it was a great idea of have proper invoice numbers
and set the invoice numbers to the new incremental order numbers
BUT
These Start at 1, even though the is a place for the 'Prefix'
I have tried putting letters or numbers but no prefix appears
so I am now up to invoice number 4
is this a bug and can it be fixed as it look dreadful
Order Number
4
Order Status
Pending Shipment
lewis
Offline
sorted by dave
thanks again
Last edited by lewaff (12-20-2007 00:17:41)
Offline
Hi
What was the problem?
Offline
It wasn't really a problem Howard. I offered a suggestion of using either prefixed incremental or manually updating an existing order to some larger number so that future orders would start going up from that larger number.
BTW, if someone does use incremental and starts off with a large number they will likely run into a problem when the number of digits in the order number exceeds 10.
I'm also curious what the motivation behind offering a simple incremental number was.
Offline
Hi Dave,
I get a lot of requests for this in the UK/EU.
In this market to provide an official printable downloadable EU Tax invoice it is recommend that you use incremental order number.
I have coded around to 10 increment problem.
Offline
Is there a timescale on when the UK CCP/KHXC updates are to be released? It appears that the US are receving updates on a regular basis, but nothing is happening on this side of the pond.
BTW, I'm still on GBU 6.0.6 and KHXC 6.6.5
Offline
Hi
We where asked to wait for the US to do their final release for CCP6, which was released last Thursday. We have just finish merging and testing these last changes. The UK release has been sent to the US. It should be live in the next couple of days.
Offline
Thanks Howard.
Once released, will there be the option of the updates being applied by you/others to carts? Alternatively, and my particular case, will you be able to say exactly which files you modified (aside of the css and skin files) hence require backing up prior to the update(s) being applied?
Will the updates affect any addon modules which have already been installed?
Regards,
Steve
Offline
Hi
Will there be the option of the updates being applied by you/others to modified carts?
Yes we will provide a service to apply the update to your website, with the option to merge in your changes.
Alternatively, and my particular case, will you be able to say exactly which files you modified (aside of the css and skin files) hence require backing up prior to the update(s) being applied?
We will provide a list of files that have changed.
Will the updates affect any addon modules which have already been installed?
NO
Offline
Hi Howard,
Any news on the release date?
Cheers,
Steve
Offline
I guess that the answer is a resounding 'NO' to the above question?
Cheers,
Steve
Offline
Hi Steve,
Yes it has been released, see the top of the post.
Offline
Dave or Howard
Is it possible to post details of what files have been changed in the UK update - similar to the list Dave does for the US updates.
Thanks
Ro
Offline
I'm working on it. I just found it that it had been released.
Offline
The diff files are available and the list of files changed may be found . The file list includes files which are "new" with this release.
Offline
Woohoo!
Thanks Howard. Thanks Dave.
I guess it's time for me to bug*er up CCP6!
But not tonight.
Cheers,
Steve
Offline
Could you please confirm that where it says 30/09/2007 it means 30/09/2008 in both cases in the top two sentences of the main-release-3.html page at the top of this topic ?
Or if it does mean 30/09/2007 in either or both places could you please explain why, as I'm a bit confused - and nervous.
Thanks,
Conor
Offline
The 30/09/2007 is correct in both instances. That is the overview page which has links for each update since the initial release. You choose which updates to apply based on your current version that is installed.
Offline
Since the last UK update I have noticed noticed that if i click on any of the Recently visited pages links, all i get is a blankpage
with the title heading Goggle Analytics Output
any ideas
Thanks Lewis
wwwqualitechnic.co.uk
Offline
Have you installed/reinstalled this mod:
https://forum.kryptronic.com/viewtopic.php?id=19121
After the update I reinstalled this mod and my recently visited pages work fine - I didn't notice if they didn't work before reinstalling mod.
Rob
Offline
Thank you for your assistance Rob But
I copied the above code
to khxc_private/apps/gbu0/GBU/ext/femenus.php
'Please note UK Version'
and this stopped it from showing the recent viewed menu
This line below was not in my femenus.php but in the mod
$sql .= " AND namespace=" . $this->KHXC_DB->quote('prodshow');
and removing this line from the mod code
makes it show the resently viewed menus but the same problem
click on any of the Recently visited pages links, all i get is a blankpage
with the title heading Goggle Analytics Output
Offline
Heres my complete femenus.php file - I think the only mod in it is the one I spoke about. Try the whole file and see if that works.
Rob
<?php // +------------------------------------------------------------------+ // | [KHXC]| // | This package is based on ClickCartPro 6 by Kryptronic. The | // | following copyright information was delivied in the original | // | version of this file as delivered by Kryptronic: | // | | // | Copyright 1999-2006 Kryptronic, Inc. All rights reserved. | // | | // | All Kryptronic software is copyrighted, trademarked, developed | // | and licensed by Kryptronic, Inc. All Kryptronic software is | // | distributed under license. | // | | // | View the license agreement for more information. Installation | // | of this software package indicates acceptance of the license | // | agreement. | // | | // | Author: Nick Hendler, Webmaster, Kryptronic, Inc. | // | Author Email: support@kryptronic.com | // +------------------------------------------------------------------+ // +------------------------------------------------------------------+ // | [KHXC]| // | This package is a modified version of the original code | // | which is distributed by Greenbarn Consultants, LTD. | // | | // | This distribution of Kryptronic Software product is trademarked, | // | distributed and supported by GreenBarnWeb (Greenbarn Consultants | // | Ltd.). | // +------------------------------------------------------------------+ // +------------------------------------------------------------------+ // | Class Definition [KHXC]| // +------------------------------------------------------------------+ class GBU_femenus extends GBU { var $class = 'GBU_femenus'; var $version = '6.0.2'; var $cerror; var $KHXC_DB; var $KHXC_Display; var $app; // +------------------------------------------------------------------+ // | Constructor Function [KHXC]| // +------------------------------------------------------------------+ function GBU_femenus () { // +-- // | This is the class constructor function. // +-- if ($this->debug) {$this->debugger("constructor: Accessed.");} // +-- // | Determine the application we're running under and set the $app // | class var to that app. // +-- $this->app = $this->app_id(__FILE__); if ($this->debug) {$this->debugger("constructor: Determined application id as '{$this->app}'");} // +-- // | Quick object load: KHXC_Display // +-- $this->KHXC_Display =& $this->quick_object('KHXC_Display','khxc'); if ($this->IsError($this->KHXC_Display)) {$this->cerror = $this->KHXC_Display; return;} // +-- // | Quick object load: KHXC_DB // +-- $this->KHXC_DB =& $this->quick_object('KHXC_DB','khxc','KHXC_DB_1'); if ($this->IsError($this->KHXC_DB)) {$this->cerror = $this->KHXC_DB; return;} // +-- // | Return $this. // +-- return; } // End of function. // +------------------------------------------------------------------+ // | Function: femenusdo | // +------------------------------------------------------------------+ function femenusdo ($id = '') { // +-- // | This function executes a frontend menus request. We cache our // | menu list here so as to reduce calls to the db. We're be called // | at least twice for most displays. // +-- global $menus_cache; // +-- // | Load info from the db if $menus_cache is empty. Just return // | on errors. We don't want to blow everything up. // +-- if (empty($menus_cache)) { // +-- // | Load info from the database. // +-- $table = $this->app . '_femenus'; $sql = "SELECT name, namespace, menugroup FROM {$table} WHERE "; $sql .= "menudisp=" . $this->KHXC_DB->quote(1); $result = $this->KHXC_DB->sql_do(array('table' => $table, 'sql' => $sql, 'order' => array('menuorder' => 'ASC'))); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} $menus_cache = $result; if ($this->debug) {$this->debugger("femenusdo: Loaded frontend menus into cache.");} } // End of if statement. // +-- // | Display the requested menu(s). // +-- foreach ($menus_cache as $num => $row) { if ($row['menugroup'] == $id) { $this->globals('khxc_app.femenus_name',$row['name']); $result = $this->exec_namespace(array('app' => $this->app, 'namespace' => $row['namespace'], 'type' => '*')); } // End of if statement. } // End of foreach statement. if ($this->debug) {$this->debugger("femenusdo: Completed running frontend menus for the KHXC with id '{$id}'.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: femenupopular | // +------------------------------------------------------------------+ function femenupopular () { // +-- // | This function prints the frontend popular pages menu. // +-- $sql = "SELECT namespace, reference, dispname FROM khxc_statsns WHERE"; $sql .= " interface=" . $this->KHXC_DB->quote('FrontEnd') . " AND app="; $sql .= $this->KHXC_DB->quote($this->app); $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => 'khxc_statsns', 'order' => array('hitcount' => 'DESC'), 'count' => 5, 'offset' => 0)); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $params = array(); if (!(empty($row['reference']))) {$params = array('ref' => $row['reference']);} $menu_array[] = array('text' => $row['dispname'], 'app' => $this->app, 'namespace' => $row['namespace'], 'params' => $params); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the application popular menu.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: femenurecent | // +------------------------------------------------------------------+ function femenurecent () { // +-- // | This function prints the frontend recent pages menu. // +-- ///// RJZwebmaster spadedlady added DISTINCT to sql call below, added //// sql call line for namespace, and increased count to 8 from 5. $sql = "SELECT DISTINCT namespace, reference, dispname FROM khxc_stats WHERE"; $sql .= " interface=" . $this->KHXC_DB->quote('FrontEnd'); $sql .= " AND namespace=" . $this->KHXC_DB->quote('prodshow'); $sql .= " AND sessionid=" . $this->KHXC_DB->quote($this->globals('khxc_session.sid')); $sql .= " AND disprecback=" . $this->KHXC_DB->quote(1) . " AND app="; $sql .= $this->KHXC_DB->quote($this->app); $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => 'khxc_stats', 'order' => array('time' => 'DESC'), 'count' => 5, 'offset' => 0)); ///// RJZ webmaster spadedlady added DISTINCT to sql call above, added //// sql call line for namespace, and increased count to 8 from 5. if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $params = array(); if (!(empty($row['reference']))) {$params = array('ref' => $row['reference']);} $menu_array[] = array('text' => $row['dispname'], 'app' => $this->app, 'namespace' => $row['namespace'], 'params' => $params); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the application recent menu.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: femenucurrency | // +------------------------------------------------------------------+ function femenucurrency () { // +-- // | This function prints the frontend currency changer menu if there // | is at least one active ecommerce application avaialble and we're // | using the currency conversion system. // +-- $curr_active = $this->globals('khxc_settings.khxc.curractive'); if (empty($curr_active)) {return 1;} // +-- // | Load our currency selection items. // +-- $sql = "SELECT selectname, selectvalue FROM khxc_selectcustom WHERE"; $sql .= " selectid=" . $this->KHXC_DB->quote($this->app . '.currency'); $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => 'khxc_selectcustom', 'order' => array('selectname' => 'DESC'))); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the currency array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $currency[$row['selectvalue']] = $row['selectname']; } // End of foreach statement. // +-- // | Globalize the currency array. // +-- $this->globals('khxc_app.currency_array',$currency); // +-- // | Print the currency selector menu include. // +-- $this->KHXC_Display->include_file($this->app,'femenucurrency.php'); if ($this->debug) {$this->debugger("menupages: Printed the application currency menu.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: femenuaccount | // +------------------------------------------------------------------+ function femenuaccount () { // +-- // | This function prints the frontend account menu. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $result = $this->exec_namespace(array('app' => $this->app, 'namespace' => 'accountmenu', 'type' => '*')); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the application account menu.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: femenuinactive | // +------------------------------------------------------------------+ function femenuinactive () { // +-- // | This function prints the frontend inactive apps menu. // +-- // +-- // | Get display names for apps not equal to this app. // +-- $all_apps = $this->globals('khxc.app_all_cache'); $app_inactive = array(); foreach ($all_apps as $num => $row) { if (($row['id'] != 'khxc') && ($row['id'] != $this->app)) { $app_inactive[$row['id']] = $row['fedispname']; } // End of if statement. } // End of foreach statement. // +-- // | Return if we didn't find any. // +-- if (empty($app_inactive)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($app_inactive as $id => $name) { $menu_array[] = array('text' => $name, 'app' => $id, 'namespace' => '', 'params' => array()); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the KHXC inactive apps menu.");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: menustore | // +------------------------------------------------------------------+ function menustore () { // +-- // | This function prints the online store menu. // +-- $table = $this->app . '_storemenu'; $sql = "SELECT name, namespace FROM {$table} WHERE menudisp="; $sql .= $this->KHXC_DB->quote(1); $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => $table, 'order' => array('menuorder' => 'ASC'))); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $menu_array[] = array('text' => $row['name'], 'app' => $this->app, 'namespace' => $row['namespace'], 'params' => array()); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the GBU store menu. App: {$this->app}");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: menucategories | // +------------------------------------------------------------------+ function menucategories () { // +-- // | This function prints the categories menu. // +-- $table = $this->app . '_cat'; $sql = "SELECT id, name FROM {$table} WHERE splashdisp="; $sql .= $this->KHXC_DB->quote(1) . " AND "; // +-- // | Handle visibility. // +-- $usergroup = $this->globals('khxc_user.usergroup'); if (empty($usergroup)) { $sql .= 'catview=' . $this->KHXC_DB->quote('A'); } else { $sql .= '((catview=' . $this->KHXC_DB->quote('A') . ') OR '; $sql .= '(catview=' . $this->KHXC_DB->quote('L') . ' AND '; $sql .= '(catviewg LIKE ' . $this->KHXC_DB->quote_like($usergroup . ',', 'SUFFIX') . ' OR '; $sql .= 'catviewg LIKE ' . $this->KHXC_DB->quote_like(',' . $usergroup, 'PREFIX') . ' OR '; $sql .= 'catviewg LIKE ' . $this->KHXC_DB->quote_like(', ' . $usergroup, 'PREFIX') . ' OR '; $sql .= 'catviewg LIKE ' . $this->KHXC_DB->quote_like(',' . $usergroup . ',', 'WRAP') . ' OR '; $sql .= 'catviewg LIKE ' . $this->KHXC_DB->quote_like(', ' . $usergroup . ',', 'WRAP') . ' OR '; $sql .= 'catviewg=' . $this->KHXC_DB->quote($usergroup) . ')))'; } // End of if statement. // +-- // | Execute the query. // +-- $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => $table, 'order' => array('sortorder' => 'ASC'))); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $menu_array[] = array('text' => $row['name'], 'app' => $this->app, 'namespace' => 'catshow', 'params' => array('ref' => $row['id'])); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the GBU categories menu. App: {$this->app}");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | Function: menucustom | // +------------------------------------------------------------------+ function menucustom () { // +-- // | This function prints the custom menu. // +-- $table = $this->app . '_custommenu'; $sql = "SELECT name, namespace, reference FROM {$table} WHERE menudisp="; $sql .= $this->KHXC_DB->quote(1); $result = $this->KHXC_DB->sql_do(array('sql' => $sql, 'table' => $table, 'order' => array('menuorder' => 'ASC'))); if ($this->IsError($result)) {return 1;} if (empty($result)) {return 1;} // +-- // | Build the menu array. // +-- $menu_array = array(); foreach ($result as $num => $row) { $params = array(); if ($row['reference'] != '') {$params = array('ref' => $row['reference']);} $menu_array[] = array('text' => $row['name'], 'app' => $this->app, 'namespace' => $row['namespace'], 'params' => $params); } // End of foreach statement. // +-- // | Globalize the menu array. // +-- $this->globals('khxc_app.femenu_array',$menu_array); // +-- // | Print the generic frontend menu includes and log that we were here. // +-- $this->KHXC_Display->include_file($this->app,'femenuhead.php'); $this->KHXC_Display->include_file($this->app,'femenugeneric.php'); $this->KHXC_Display->include_file($this->app,'femenufoot.php'); if ($this->debug) {$this->debugger("menupages: Printed the CCP store menu. App: {$this->app}");} // +-- // | Return true. // +-- return 1; } // End of function. // +------------------------------------------------------------------+ // | End of Class [KHXC]| // +------------------------------------------------------------------+ } // End of class. // +------------------------------------------------------------------+ // | End Of File [KHXC]| // +------------------------------------------------------------------+ ?>
Offline
Thank you for your assistance Rob But
I copied the above code
to khxc_private/apps/gbu0/GBU/ext/femenus.php
and this stopped showing the recent viewed menu at all
so no difference
Problem must be somewhere else
Now I have cleared my old stats in the data base
Both
Recently Visited Pages and
Popular Pages
try's to got to a page http://qualitechnic.co.uk/gbu0-googleanalytics/
Instead of the correct page http://qualitechnic.co.uk/gbu0-prodshow/
as if the namespace is "googleanalytics"
Any help on this
i have put the femenus.php as above but reduce the count to 2 while this gets sorted
Last edited by lewaff (10-12-2008 12:43:30)
Offline