This is a discussion on Hide unnotified comments within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Is there a way in oscmax 2 to hide the comments using this mod? http://www.oscommerce.com/community/...l/search,notes I tried to install it ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Is there a way in oscmax 2 to hide the comments using this mod? http://www.oscommerce.com/community/...l/search,notes I tried to install it but it seems that the query it is calling is not in account_history_info.php...? We just want to blind all comments that were not selected as "notify customer" to customer's viewing.
__________________ Jay If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Note: OSCMAX has BTS installed which MOVES alot of code to a template system. If you did a search for "$statuses_query" (part of the string to be replaced) you would have fond this file: account_history_info.tpl.php and look about on line 153 you would have found the line to be modified Replace: Code: $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added");
Code: $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.customer_notified = '1' and osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added");
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| I was able to fix it, thank you! One would think this would be a regular part of oscommerce or oscmax, if you do not select the box to Notify customer of any notes inputed, by default, it should not make the notes available to the customer online for reading... That should be added to the next release IMO! Thanks again!
__________________ Jay If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hide/Suppress Specials and New Products | kenlyle | osCMax v2 Customization/Mods | 1 | 04-20-2006 09:57 AM |
| Hide ' Specials for January ' on mainpage | mrwang | osCMax v1.7 Discussion | 9 | 04-11-2005 01:46 PM |
| Can I hide / disable categories in OSCMAX? | midwestwebsites | osCMax v1.7 Discussion | 2 | 03-28-2005 12:31 PM |
| show/hide product attributes | limpduck | osCommerce 2.2 Modification Help | 0 | 03-02-2005 10:36 PM |
| How to hide the number of stock available? | lawrence | osCMax v1.7 Discussion | 1 | 11-15-2004 12:42 PM |