Jump to content

06voip

Members
  • Content count

    10
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    06voip
  1. Ok, I solved it by replacing: <form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "\"> with: ". tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', '', true) . " Thanks to web-project! :rolleyes:
  2. Hi, I have the same problem doing this update v2.2 to v2.3.0: http://www.oscommerce.info/confluence/display/OSCOM23/%28C%29+%28SEC%29+Add+Customer+Session+Token+to+Forms This is my loginbox.php: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License IMPORTANT NOTE: This script is not part of the official osC distribution but an add-on contributed to the osC community. Please read the README and INSTALL documents that are provided with this file for further information and installation notes. loginbox.php - Version 1.0 This puts a login request in a box with a login button. If already logged in, will not show anything. Modified to utilize SSL to bypass Security Alert */ // WebMakers.com Added: Do not show if on login or create account if ( (!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) and !tep_session_is_registered('customer_id') ) { ?> <!-- loginbox //--> <?php if (!tep_session_is_registered('customer_id')) { ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_LOGINBOX_HEADING ); new infoBoxHeading($info_box_contents, true, true); $loginboxcontent = " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> <form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "\"> <tr> <td align=\"center\" class=\"infoBoxContents\"> " . tep_loginbox_greeting_top() . " </td> </tr> <tr> <td align=\"center\" class=\"infoBoxContents\"> " . BOX_LOGINBOX_EMAIL . " </td> </tr> <tr> <td align=\"center\" class=\"infoBoxContents\"> <input type=\"text\" style=\"font-size: 11px\" name=\"email_address\" maxlength=\"96\" size=\"18\" value=\"\"> </td> </tr> <tr> <td align=\"center\" class=\"infoBoxContents\"> " . BOX_LOGINBOX_PASSWORD . " </td> </tr> <tr> <td align=\"center\" class=\"infoBoxContents\"> <input type=\"password\" name=\"password\" maxlength=\"40\" size=\"18\" value=\"\" </td> </tr> <tr> <td class=\"infoBoxContents\" align=\"center\"><br> " . tep_image_submit('small_login.gif', IMAGE_BUTTON_LOGIN, 'SSL') . " </td> </tr> <tr> <td align=\"center\" class=\"infoBoxContents\"> " . tep_loginbox_greeting_bottom() . " </td> </tr> </form> </table> "; $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => $loginboxcontent ); new infoBox($info_box_contents); ?> </td> </tr> <?php } else { // If you want to display anything when the user IS logged in, put it // in here... Possibly a "You are logged in as :" box or something. } ?> <!-- loginbox_eof //--> <?php // WebMakers.com Added: My Account Info Box } else { if (tep_session_is_registered('customer_id')) { ?> <!-- my_account_info //--> <!-- my_account_info_eof //--> <?php } } ?> What can I do to sort out it? Thanks in advance 06voip
  3. Hi Sam, Thanks for your response and I apologize for my English :blush: I feel it Merry Christmas! ;) 06voip
  4. Hi Sam, is possible to work with More Pics 6 ? Thanks 06voip
  5. 06voip

    Header Tags SEO

    Hi Jack, I have installated more times Header Tag SEO 3.1.8 on osCommerce Online Merchant v2.2 RC2a Released, but everytime I have the same problem: 1) when I browse the catalog, on the headerNavigation appears "Top » Catalog » » » " instead of the complete path. I have identified the possible reason in this code: /*** Begin Header Tags SEO ***/ // add category names or the manufacturer name to the breadcrumb trail if (isset($cPath_array)) { for ($i=0, $n=sizeof($cPath_array); $i<$n; $i++) { $categories_query = tep_db_query("select categories_htc_title_tag from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$cPath_array[$i] . "' and language_id = '" . (int)$languages_id . "' LIMIT 1"); if (tep_db_num_rows($categories_query) > 0) { $categories = tep_db_fetch_array($categories_query); $breadcrumb->add($categories['categories_htc_title_tag'], tep_href_link(FILENAME_DEFAULT, 'cPath=' . implode('_', array_slice($cPath_array, 0, ($i+1))))); } else { break; } } } elseif (isset($_GET['manufacturers_id'])) { $manufacturers_query = tep_db_query("select manufacturers_htc_title_tag from " . TABLE_MANUFACTURERS_INFO . " where manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' AND languages_id = '" . (int)$languages_id . "' LIMIT 1"); if (tep_db_num_rows($manufacturers_query)) { $manufacturers = tep_db_fetch_array($manufacturers_query); $breadcrumb->add($manufacturers['manufacturers_htc_title_tag'], tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $_GET['manufacturers_id'])); } } // add the products name to the breadcrumb trail if (isset($_GET['products_id'])) { $products_query = tep_db_query("select pd.products_head_title_tag from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_id = '" . (int)$_GET['products_id'] . "' and pd.language_id ='" . (int)$languages_id . "' LIMIT 1"); if (tep_db_num_rows($products_query)) { $products = tep_db_fetch_array($products_query); $breadcrumb->add($products['products_head_title_tag'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $_GET['products_id'])); } } /*** End Header Tags SEO ***/ that is included at the end of this file \include\application_top.php. I tried substitude this file with original one and the problem has been solved. 2) When I use the IE8 browser in the product description the column_right.php is moved on the bottom of the page, but if I use Firefox browser the page is diplayed correctly. Could you please help me to sort out these problems. Thanks in advance for your help. Regard 06voip
×