Contributions

Features (Category Index)
Search: 

Show or Hide Yahoo Messenger

Show or Hide Yahoo Messenger.
Tested in osCOmmerce 2.2rc2a

Backup first before use this addon.
Use at own risk.

This addon required Yahoo Messenger addon installed.
Find it here : http://addons.oscommerce.com/info/475

1) database insert (create a configuration key right above your store name in admin):

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show or Hide Yahoo Messenger', 'YAHOO_MESSENGER', 'Show', 'Set to Show if you want to show Yahoo Messenger, set to Hide if you want to hide Yahoo Messenger', '1', '0', 'tep_cfg_select_option(array('Show', 'Hide'), ', now());

2) open file in catalog/includes/column_right.php
find :
require(DIR_WS_BOXES . 'messenger.php');

replace with:
//Show or Hide Yahoo Messenger
if (YAHOO_MESSENGER == 'Show') {

require(DIR_WS_BOXES . 'messenger.php');
}else {
}

enjoy!

Expand All / Collapse All

Show or Hide Yahoo Messenger 24 Aug 2009

Show or Hide Yahoo Messenger.
Tested in osCOmmerce 2.2rc2a

Backup first before use this addon.
Use at own risk.

This addon required Yahoo Messenger addon installed.
Find it here : http://addons.oscommerce.com/info/475

1) database insert (create a configuration key right above your store name in admin):

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show or Hide Yahoo Messenger', 'YAHOO_MESSENGER', 'Show', 'Set to Show if you want to show Yahoo Messenger, set to Hide if you want to hide Yahoo Messenger', '1', '0', 'tep_cfg_select_option(array('Show', 'Hide'), ', now());

2) open file in catalog/includes/column_right.php
find :
require(DIR_WS_BOXES . 'messenger.php');

replace with:
//Show or Hide Yahoo Messenger
if (YAHOO_MESSENGER == 'Show') {

require(DIR_WS_BOXES . 'messenger.php');
}else {
}

enjoy!

Note: Contributions are used at own risk.