Jump to content

mswallace

Members
  • Content count

    19
  • Joined

  • Last visited

About mswallace

  • Birthday 12/12/1975

Profile Information

  1. K so I installed Ultimate SEO on a site that I am developing. Wondering if any of you could help me figure out why I am not getting any product catagory or product name in my URL? I am sure that the contrubution is working but it is not doing this one thing. Some help on this would be great! All my urls look like this http://yourdomain.com/-c-41.html Development site address is http://thevacuumcenter.com/catalog thanks, Matthew
  2. So I am trying to figure this out. EasyPopulate is doing a good job adding catagories for me. The problem is that it is not adding any products to the catagories. I thought there was a problem with the model feild because when I upload it I get a message after every product No products_model field in record. This line was not imported I have tried serveral things. I am created a new product via the admin panal. Downloaded the easypopulate file. Then I copy and past in my products to that spreadsheet that I downloaded. I have also tried to make sure that I open the text file in a text editing program. I used a program called TextMate for OSX. I made sure that I saved the file with Unix LF. I do know there is a problem on the Mac if you don't do this. So I am wondering if any of you have any suggestions at all. the site that I am developing is http://thevacuumcenter.com/catalog Please let me know if you have any suggestions at all on this ASAP. thanks, Matthew
  3. So I am developing this site http://thevacuumcenter.com/catalog I am using easypopulate to get all the product installed. The problem that I am running into is that it is creating the same category over and over again in some instances of installing the product. A good example is if you go the say the Bissell category you will notice that here are five or six subcategories that are named the same. So I am trying to figure out what is causing this problem and how to fix it. The spread sheet that I am using has over 5000 items on it so I realize that there could be a problems with some of the items in the spread sheet. But I am tried only installing half of it at a time. Also I did try going into the catalog admin and deleting some of the categories that where the same and re-uploading the data to see if it would put the products into that one category that I left but it ended up creating the same repeat categories again. Any help would be great. thanks, Matthew
  4. Yeah I fixed it. There was a bug in the cotribution that I downloaded but all is wall now.
  5. OK so I am sure that I installed this the right way but I am getting an error message. Could someone check it out for me and let me know how to fix this. go to http://thevacuumcenter.com/catalog/links.php click on the Manufacture Section. That is when the error happens. thanks, Matthew
  6. OK so I am sure that I installed this the right way but I am getting an error message. Could someone check it out for me and let me know how to fix this. go to http://thevacuumcenter.com/catalog/links.php click on the Manufacture Section. That is when the error happens. thanks, Matthew
  7. mswallace

    Dynamic SiteMap

    K, never mind my last problem I figured that out... But can anyone tell me how to take links out of the sitemap. What file do I edit and what code to I change or delet to get rid of links if I want too thanks, Matthew
  8. mswallace

    Dynamic SiteMap

    can some of you look at this page http://www.mswallace.com/vacuumcenter/dynamic_sitemap.php tell me what file I need to check... As y ou can see near the bottom I am getting some crazy links. One is solid red that contains a link address. Also some of the links listed need names to be fixed. There is one link that just says "I" but links to the forgot_password.php page. Any thoughts?
  9. mswallace

    Pass osCommerce session IDs into Flash

    Just updated this for all you guys. It fixes the recent IE update active content stuff. You can read more about the problem and how to fix it here. http://www.adobe.com/devnet/activecontent/ If you have any quesitons you can contact me at http://mswallace.com
  10. mswallace

    Help Passing Session ID to Flash

    yes I know I downloaded it and that is the code that I used and I can't get it to work correctly. It loades the flash header just fine but it will only pass an undefined session id to flash.
  11. OK.... I downloaded a contribute on how to get a flash header to store a session ID from oscommerce. I am pretty sure that I did everything the right way but If I click on any link in my flash header I get an undefined session id in my address bare so I am sure I am missing something. Hoping someone can help. Here is the code that i am using in my action script in flash // Hello everyone. My name is Chris Sullivan, and I am contributing this package so that the // osCommerce community will finally have a real grasp on tackling flash and osCommerce. I have // included a .fla (flash file), a .swf (compiled flash movie), and a .php file so that you can // truly see ALL that goes into making this work. After unzipping the .swf and .php files into // your root catalog directory (generally http://www.yourstore.com/catalog/) just replace the header.php // file (found in /catalog/includes/) with the one I have included. You will instantly have a flash // navigation system that maintains osCommerce session ids. This flash file is merely meant to be used // as a guide. If you'd like to customize the look and feel and use this on your site, feel free. // If you find this useful, I would appreciate any donations which you feel like making. They can be made // through PayPal by making a donation to "csull@bellsouth.net" (no quotes). // Thanks, and I hope you find this useful. // - Chris Sullivan // csull@bellsouth.net // EDIT THE URL BELOW TO FIT YOUR STORE'S MAIN DIRECTORY var BASE = "http://mswallace.com/vacuumcenter/"; if ((osCsid != undefined) && (osCsid != '')) { // if the variable osCsid has been defined and it contains a value (not empty), we // will load the flash_variables.php file with the session id appended at the end // of the URL. loadVariablesNum(BASE + "flash_variables.php?action=flash_variables&osCsid="+osCsid, 0, "POST"); } else { // if the variable osCsid is undefined or it is defined but contains no value (it is // empty) than we will load the flash_variables.php file without the session id // so that osC will generate one for us and pass it back. loadVariablesNum(BASE + "flash_variables.php?action=flash_variables", 0, "POST"); } ///This is the code that controls the home button homeButton.onRollOver = function (){ homeButton.gotoAndPlay("overState"); } homeButton.onRollOut = function (){ homeButton.gotoAndPlay("offState"); } homeButton.onRelease = function (){ trace("The user has pressed the home button"); getURL("index.php?osCsid=" + osCsid); } ///This is the code that controls the contact button contactButton.onRollOver = function (){ contactButton.gotoAndPlay("overState"); } contactButton.onRollOut = function (){ contactButton.gotoAndPlay("offState"); } contactButton.onRelease = function (){ trace("The user has pressed the contact button"); getURL("contact_us.php?osCsid=" + osCsid); } ///This is the code that controls the my account button myAccountButton.onRollOver = function (){ myAccountButton.gotoAndPlay("overState"); } myAccountButton.onRollOut = function (){ myAccountButton.gotoAndPlay("offState"); } myAccountButton.onRelease = function (){ trace("The user has pressed the account button"); getURL("account.php?osCsid=" + osCsid); } ///This is the code that controls the my cart button myCartButton.onRollOver = function (){ myCartButton.gotoAndPlay("overState"); } myCartButton.onRollOut = function (){ myCartButton.gotoAndPlay("offState"); } myCartButton.onRelease = function (){ trace("The user has pressed the cart button"); getURL("shopping_cart.php?osCsid=" + osCsid); } ///This is the code that controls the checkout button checkoutButton.onRollOver = function (){ checkoutButton.gotoAndPlay("overState"); } checkoutButton.onRollOut = function (){ checkoutButton.gotoAndPlay("offState"); } checkoutButton.onRelease = function (){ trace("The user has pressed the checkout button"); getURL("checkout_shipping.php?osCsid=" + osCsid); } here is the code that I am using to pass the session id to flash in the flash flash_variables.php <?php /* $Id: flash_variables.php,v 1.00 200d/08/24 00:30:52 blueline Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Hello everyone. My name is Chris Sullivan, and I am contributing this package so that the // osCommerce community will finally have a real grasp on tackling flash and osCommerce. I have // included a .fla (flash file), a .swf (compiled flash movie), and a .php file so that you can // truly see ALL that goes into making this work. After unzipping header.swf and flash_variables.php // (this file) into your root catalog directory (generally http://www.yourstore.com/catalog/) just // replace the header.php file (found in /catalog/includes/) with the one I have included. You will // instantly have a flash navigation system that maintains osCommerce session ids. // If you find this useful, I would appreciate any donations which you feel like making. They can be made // through PayPal by making a donation to "csull@bellsouth.net" (no quotes). // Thanks, and I hope you find this useful. // - Chris Sullivan // csull@bellsouth.net require('includes/application_top.php'); if (isset($_GET['action']) && $_GET['action'] == 'flash_variables') { if (tep_session_is_registered('customer_id')) { print "&customer_id=" . $customer_first_name; print "&osCsid=" . str_replace("osCsid=", "", $SID); } else { print "&customer_id=Guest"; print "&osCsid=" . str_replace("osCsid=", "", $SID); } } else { print "&customer_id=Guest"; print "&osCsid=" . str_replace("osCsid=", "", $SID); } ?> and here is the code that is in my header.php file <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // START STS 4.1 $sts->restart_capture ('applicationtop2header'); // Capture header from the actual script, needed to take out javascript // END STS 4.1 // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <link href="../stylesheet.css" rel="stylesheet" type="text/css" /> <?=// Start of flash header ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="790" height="209" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <?=// Check to see if a session id has been defined in the URL ?> <?php if ((isset($HTTP_GET_VARS['osCsid']) && ($HTTP_GET_VARS['osCsid'] != '')) || (tep_session_is_registered('osCsid'))) { ?> <?=// If so, append it the the osCsid variable so that flash gets the proper session info ?> <param name="movie" value="http://mswallace.com/vacuumcenter/flash/header.swf?osCsid=<?=$_GET['osCsid'];?>" /> <?php } else { ?> <?=// If not, call the movie without defining the osCsid variable ?> <param name="movie" value="http://mswallace.com/vacuumcenter/flash/header.swf" /> <?php } ?> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <?=// Check to see if a session id has been defined in the URL ?> <?php if ((isset($HTTP_GET_VARS['osCsid']) && ($HTTP_GET_VARS['osCsid'] != '')) || (tep_session_is_registered('osCsid'))) { ?> <?=// If so, append it the the osCsid variable so that flash gets the proper session info ?> <embed src="http://mswallace.com/vacuumcenter/flash/header.swf?osCsid=<?=$_GET['osCsid'];?>" quality="high" bgcolor="#ffffff" width="790" height="209" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> <?php } else { ?> <?=// If not, call the movie without defining the osCsid variable ?> <embed src="http://mswallace.com/vacuumcenter/flash/header.swf" quality="high" bgcolor="#ffffff" width="790" height="209" name="flash osc" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> <?php } ?> </object> <?=// End of flash header ?> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="infoBox2"> <tr class="headerNavigation"> <td class="InformationBoxContents">??</td> <td align="right" class="InformationBoxContents"><?php echo $breadcrumb->trail(' ? '); ?>??</td> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <div align="left"> <?php } ?> <img src="../images/whiteBar.gif" width="790" height="5" /></div> any help with this would be great. thanks, Matthew
×