Community Add-Ons

Maintainers: rocdy
Add file to this package
Top » Features

Show or Hide Yahoo Messenger
for osCommerce Online Merchant v2.2

Download
by rocdy / 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!

Legend:  Download   Report

Expand All / Collapse All

Show or Hide Yahoo Messenger rocdy 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!