Jump to content

bassmaga

Members
  • Content count

    29
  • Joined

  • Last visited

Profile Information

  • Real Name
    Kamil
  • Gender
    Male
  • Location
    Poland
  1. Hello, first thx for addons Unfortunately it does't work the line is still broken jquery 1.9.1
  2. bassmaga

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi, thx for great contribution. I had a problem with addon usu5 XML Site Maps. In file sitemapIndex.xml script wrote SID's. In function create_single_sitemap_index I changed from tep_href_link( 'sitemapCategories' . $filename_suffix), to tep_href_link( 'sitemapCategories' . $filename_suffix, '', 'NONSSL', false), from tep_href_link( 'sitemapProducts' . $filename_suffix), to tep_href_link( 'sitemapProducts' . $filename_suffix, '', 'NONSSL', false), from tep_href_link( 'sitemapManufacturers' . $filename_suffix), to tep_href_link( 'sitemapManufacturers' . $filename_suffix, '', 'NONSSL', false), regards
  3. bassmaga

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi, Thanks for this very usefull contribution. I have one small issue OSC 2.3.1 and Ultimate_Seo_Urls_5_PRO_r205 Error: Undefined index: products_model File: includes/modules/ultimate_seo_urls5/page_modules/product_info.php Line: 189 line 189 is $text_types = array( 'p' => $details['products_name'], 'c' => $details['categories_name'], 'm' => $details['products_model'] ); in function private function linkTextOrder( array $details = array() ) { $text_types = array( 'p' => $details['products_name'], 'c' => $details['categories_name'], 'm' => $details['products_model'] ); // manufacturers_name is gained through a left join and may not exist array_key_exists( 'manufacturers_name', $details ) ? $text_types['b'] = $details['manufacturers_name'] : null; // Products name MUST be present, if not we force it to the end if ( false === stripos( USU5_PRODUCTS_LINK_TEXT_ORDER, 'p' ) ) { $admin_order = str_split( USU5_PRODUCTS_LINK_TEXT_ORDER . 'p' ); } else $admin_order = str_split( USU5_PRODUCTS_LINK_TEXT_ORDER ); // Split the string value entered in admin ( like mcp etc ) to an array $text_order = array_flip( $admin_order ); // Flip key => value to value => key $text_to_format = array_intersect_key( $text_types, $text_order ); // return only those key => value pairs that match the admin selection $link_text_count = count( $admin_order ); $ordered_array = array(); for ( $i=0; $i<$link_text_count; $i++ ) { if ( ( array_key_exists( $admin_order[$i], $text_to_format ) && tep_not_null( $text_to_format[$admin_order[$i]] ) ) ) { // If a value is empty then we don't want to add it to the link text $to_seperate[] = $text_to_format[$admin_order[$i]]; // Create an array where the link text is in the same order as the admin selection } } return $to_seperate; } // End method
  4. bassmaga

    Request Product Reviews

    Hi, I know its old problem but maybe someone looking for this solve Find in catalog/includes/functions/html_output.php require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; and replace if (basename($_SERVER['SCRIPT_FILENAME']) != 'review_mail.php') { require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; }
  5. bassmaga

    Credit Class & Gift Vouchers (CCGV) for 2.3.1

    Hi, thx for this contribution. I put right gift product - relase the voucher, on checkout_payment.php I have Enter Redeem Code field but dont have any check box Somebody could help me what mistake I did?
  6. bassmaga

    Seperate Pricing Per Customer v3.5

    Hi, It isn't combined with sppc. You must looking for select and add clause after where like 'categories_status=1' in each module you want.
  7. I found issue. When I have 1 shipping method or 1 payment method to choose and it is default checked I must check it again to make order (and I dont have any error message) How can I set default country? When I set it in tep_get_country_list() doesn't result. regards
  8. I had a problem Call to undefined function fixSeoLink() in checkout.php on top I added function fixSeoLink($url){ return str_replace('&', '&', $url); } Now I go testing it
  9. bassmaga

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi, I have error strpos(): Empty delimiter in /raid0/www/.../catalog/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 121 DIR_FS_CATALOG contain the full path to the root any solutions please
  10. if you dont have SPPC module delete 'customers_group_id'.
  11. Thx for great addon. It is possible to make this and disable reload?
  12. bassmaga

    Information Pages Unlimited v1.0

    Try this: In admin\includes\functions\html_output.php add: /// ckeditor output function tep_draw_textarea_ckeditor($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { global $HTTP_GET_VARS, $HTTP_POST_VARS; $field = '<textarea name="' . tep_output_string($name) . '" style="width:' . tep_output_string($width) . 'px;height:' . tep_output_string($width) . 'px" rows="10" cols="10" '; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( ($reinsert_value == true) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) { if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_GET_VARS[$name])); } elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_POST_VARS[$name])); } } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; $field .= '<script type="text/javascript"> CKEDITOR.replace( \''.tep_output_string($name).'\', { filebrowserBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor\', filebrowserImageBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=image\', filebrowserFlashBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=flash\', }); </script>'; return $field; } And were you need ckeditor change tep_draw_textarea_field to tep_draw_textarea_ckeditor but this function hasn't $wrap parametr For example in admin/information_form.php from <?php echo tep_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', '', '100', '20', (($languages[$i]['id'] == $languages_id) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); ?> to <?php echo tep_draw_textarea_ckeditor('information_description[' . $languages[$i]['id'] . ']', 'soft', '70', (isset($information_description[$languages[$i]['id']]) ? stripslashes($information_description[$languages[$i]['id']]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); ?>
  13. bassmaga

    Information Pages Unlimited v1.0

    Why this information is not included in the installation readme? :)
  14. bassmaga

    Add More Fields

    Hi, I found solution. This is when you try to preview product in admin. in admin/categories.php find $fieldStr = ''; $addedFieldsArray = GetAddedProductFields($_GET['pID'], $_GET['cPath']); if (count($addedFieldsArray) > 0) { foreach ($addedFieldsArray as $fields) { if ($fields['table_name'] == TABLE_PRODUCTS) { $fieldStr .= 'p.'.$fields['field_name']; } } } replace to $fieldStr = ''; $addedFieldsArray = GetAddedProductFields($_GET['pID'], $_GET['cPath']); if (count($addedFieldsArray) > 0) { foreach ($addedFieldsArray as $fields) { if ($fields['table_name'] == TABLE_PRODUCTS) { $fieldStr .= 'p.'.$fields['field_name'] . ', '; } if ($fields['table_name'] == TABLE_PRODUCTS_DESCRIPTION) { $fieldStr .= 'pd.'.$fields['field_name']. ', '; } } } find $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, " . $fieldStr . " from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); replace to $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, " . $fieldStr . " p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'");
×