Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

leveera

Pioneers
  • Posts

    230
  • Joined

  • Last visited

Profile Information

  • Real Name
    Sergei

leveera's Achievements

  1. I found time to sort it just for fun. it has IsViewable function adjusted to Osc2.2 version replace it by function IsViewable($file) { if (($fp = @file($file))) { for ($idx = 0; $idx < count($fp); ++$idx) { if (strpos($fp[$idx], "template_top.php") !== FALSE) { return true; } } } return false; } The advantage of this contribution is it creates sitemaps for both human and robots when all others do one thing only.
  2. The same prob. I think it is not working with OSC 2.3.3
  3. 'ok, sorted. Rendering prob in admin/easymap.php because my IE8 don't like <style type="text/css"> .....</style> where it is. Simply deleted css block and replaced styles to available in default stylesheet. Happy now )))
  4. Hi Jack, Thanks for reply Sorry forgot to mention I moved easymap to Tools section, not mistake but just to avoid extra folder. Anyway the bug is same whenever easymap in own folder or under Tools menu. Looks like icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus' } are in wrong place on admin easymap page and it only like this in IE8 Also, admin/include/functions/easymap.php is empty file in last package
  5. Hi Jack Installed EasyMap 3.1 on my OSc 2.3.3 with no probls on catalog side but admin looks bit wrong, seems it still using some old 2.2 RC... code. See scheenshoot. Also found in admin/easymap.php - TEXT_VERSION_CHECK_UPDATES, TEXT_MISSING_VERSION_CHECKER are not definded in language file and (visit the support thread) linked to Daily Specials. http://www.trade24h.co.uk/screen.jpg
  6. Query resulted 0 records from configuration table but thanks for posting hfc_social_tested.zip . I fitted it instead of what I had and install run successfuly. Thanks again for support all fine now with it!
  7. I'm happy to test ))) SELECT * FROM `configuration` WHERE `configuration_key` LIKE 'MODULE_BOXES_INSTALLED' No it is not here, it still existing on ...modules.php?set=header_footer_contents&list=new I also applied $group change but still te same, no install for some reason, very tricky...
  8. Hi Gergely, Thanks for upload. Unfortunately test is not successful. Module is not doing install on pressing "+Install module" button. So it is not moving to installed modules page ....modules.php?set=header_footer_contents but in sql configuratin table it set own records. Enable Social Box Module - True Content Placement - Left Header Sort Order - 0 Facebook Account Name ... Twitter id ... Instagram id ... Pinterest id ..
  9. Please help to convert "Join Us in Twiter.." addon http://addons.oscommerce.com/info/8053 for HFC use infobox code here <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ class bm_social_box { var $code = 'bm_social_box'; var $group = 'boxes'; var $title; var $description; var $sort_order; var $enabled = false; function bm_social_box() { $this->title = MODULE_BOXES_SOCIAL_TITLE; $this->description = MODULE_BOXES_SOCIAL_DESCRIPTION; if ( defined('MODULE_BOXES_SOCIAL_STATUS') ) { $this->sort_order = MODULE_BOXES_SOCIAL_SORT_ORDER; $this->enabled = (MODULE_BOXES_SOCIAL_STATUS == 'True'); $this->group = ((MODULE_BOXES_SOCIAL_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right'); } } function execute() { global $oscTemplate; $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_SOCIAL_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align:center;">' . ' <a href="http://www.facebook.com/' . MODULE_BOXES_FACEBOOK_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'social_bookmarks/follow_facebook.png', 'Facebook') . '</a> <a href="http://www.twitter.com/' . MODULE_BOXES_TWITTER_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'social_bookmarks/follow_twitter.png', 'Twitter') . '</a> <a href="http://www.instagram.com/' . MODULE_BOXES_INSTAGRAM_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'social_bookmarks/follow_instagram.png', 'Instagram') . '</a> <a href="http://www.pinterest.com/' . MODULE_BOXES_PINTEREST_ACCOUNT_NAME . '" target="_new">' . tep_image(DIR_WS_IMAGES . 'social_bookmarks/follow_pinterest.png', 'Pinterest') . '</a> ' . ' </div>' . '</div>'; $oscTemplate->addBlock($data, $this->group); } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_BOXES_SOCIAL_STATUS'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Social Box Module', 'MODULE_BOXES_SOCIAL_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_BOXES_SOCIAL_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', '6', '1', 'tep_cfg_select_option(array(\'Left Column\', \'Right Column\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_BOXES_SOCIAL_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Facebook Account Name', 'MODULE_BOXES_FACEBOOK_ACCOUNT_NAME', '', 'Add your facebook account name here', '6', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Twitter id', 'MODULE_BOXES_TWITTER_ACCOUNT_NAME', '', 'Add your twitter id here', '6', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Instagram id', 'MODULE_BOXES_INSTAGRAM_ACCOUNT_NAME', '', 'Add your instagram id here', '6', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Pinterest id', 'MODULE_BOXES_PINTEREST_ACCOUNT_NAME', '', 'Add your pinterest id here', '6', '1', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_BOXES_SOCIAL_STATUS', 'MODULE_BOXES_SOCIAL_CONTENT_PLACEMENT', 'MODULE_BOXES_SOCIAL_SORT_ORDER', 'MODULE_BOXES_FACEBOOK_ACCOUNT_NAME', 'MODULE_BOXES_TWITTER_ACCOUNT_NAME', 'MODULE_BOXES_INSTAGRAM_ACCOUNT_NAME', 'MODULE_BOXES_PINTEREST_ACCOUNT_NAME'); } } ?>
  10. I have question about Simple Menu. Is it possible to install it without SCM contribution? At this moment hfc_menu.php is asking for "admin installer module" what I beleive is parts of SCM. I just trying to avoid features and mess in files what i don't need and can do much simple by working in phpmyAdmin.
  11. Thanks for reply, I sorted issue by taking good file clean it and copy+paste contents of corrupted files and save as to replace broken one. Seems like these files are Ok with windows server but prob with unix. I played bit with file settings but no result. Anyway it sorted and i advice anybody with the prob do the same.
  12. Just report how it works on my fresh OSC 2.3.3 1. Image uploaded on admin/categories.php in "Products Image: Main Image" window makes no thumbnali for product_info. page, full size image dispayed instead. Also it doesn't put image in database table so checkbox "Delete this Image from the Server (Permanent!)?" useless. If at this stage to tick "Delete this Image from the Server (Permanent!)?" and press Save it results error Warning: unlink(/.../catalog/images/) [function.unlink]: Permission denied in ...\www\catalog\admin\categories.php on line 212 Warning: Cannot modify header information - headers already sent by (output started at ...\www\cataolg\admin\categories.php:212) in ...\www\catalog\admin\includes\functions\general.php on line 38 2. To make a tumbnail on product_info. page - upload image by "+Add large image". Not quite sure but seems images uploaded by "+Add large image" not affected by this contribution Also "+Add lage image" option uploads image to database. To delete from database use recycle bin sign in "+Add lage image" window. Again using checkbox "Delete this Image from the Server (Permanent!)?" gives only error same as above. Tip. If you having thumbnail image created in the same directory as main image, not in Thumbnail folder - it means what you didnt set path to thumbnails in Admin-Configuration-Thumbnails
  13. Spoted in latest 6.0 rev. 5 what back button in catalog_mp.php is not actually sending back but to advamced_search.php Is it possible to fix, thanks! <div id="bouton"> <?php echo tep_draw_button(IMAGE_BUTTON_BACK, 'triangle-1-w', tep_mobile_link(FILENAME_ADVANCED_SEARCH, tep_get_all_get_params(array('sort', 'page')), 'NONSSL', true, false)); ?> </div>
  14. Hi Installed this contrubution without any probs on my localhost by when moved to live got error reported early here Parse error: syntax error, unexpected T_CLASS in /home/test/public_html/catalog/includes/modules/header_footer_contents/hfc_information.php on line 1 found the same issue with hfc_store_logo.php and hfc_manufacturers.php, all other files are 'OK for install any idea how to sort? PS. spaces are not the reason
  15. This need to be added in sitemap_seo_uninstall.php array("DROP TABLE IF EXISTS sitemap_seo_settings"),
×
×
  • Create New...