Jump to content

mark27uk3

Members
  • Content count

    1,481
  • Joined

  • Last visited

Everything posted by mark27uk3

  1. mark27uk3

    Contribution Tracker

    You were indeed correct my friend it was a path issue. It is working perfectly now, thank you Mark
  2. mark27uk3

    Dynamic SiteMap

    Thanks Jack, I decided that as I dont need any of the infoboxes in the sitemap I have removed this piece of code from the sitemap module for ($idx = 0; $idx < count($fp); ++$idx) { if ($posStart = strpos($fp[$idx], "BOX_HEADING") !== FALSE) { $parts = explode(" ", $fp[$idx]); for ($i = 0; $i < count($parts); ++$i) { if (strpos($parts[$i], "BOX_HEADING") === FALSE) continue; $parts = explode(")", $parts[$i]); //$parts has full box heading text $name = explode("_", $parts[0]); //ignore the BOX_HEADING part for ($x = 3; $x < count($name); ++$x) //name may be more than one word { if (tep_not_null($name[$x])) $name[2] .= ' ' . $name[$x]; } $name[2] = strtolower($name[2]); $name[2] = ucfirst($name[2]); $boxHeading[$ctr]['heading'][$ctr] = $name[2]; } } else if ($posStart = strpos($fp[$idx], "FILENAME") !== FALSE) { $str = str_replace("'<a href=\"' . tep_href_link(", "", $fp[$idx]); $str = str_replace("\$info_box_contents[] = array('text' => ", "", $str); $parts = explode(")", $str); $parts[0] = trim($parts[0]); $boxParts = explode(".", $parts[1]); $boxParts[2] = trim($boxParts[2]); if (tep_not_null($boxParts[2])) { $boxHeading[$ctr]['filename'][] = getFileName($pathFileName, $parts[0]); $boxHeading[$ctr]['boxtext'][] = getBoxText($pathLanguage, $boxParts[2]); } else { if (tep_not_null($box_heading)) { echo 'Invalid code for this module found in the following infobox: '.$boxHeading[$ctr]['heading'][$ctr].'<br>'; array_pop($boxHeading); $ctr--; } } } } After a bit of testing there seems to be no mal effects unless you can think of any. Mark
  3. mark27uk3

    Dynamic SiteMap

    Jack, do you mean that sort of box class or say the banner code or input fields??????? Please expand on what you mean. Thanks Mark
  4. mark27uk3

    Dynamic SiteMap

    Hi Jack, I am a little perplexed at this point as I have the sitemap working ok displaying articles and infopages. I have also excluded all of the infoboxes as I dont need them to be shown in the sitemap. However I have 3 custom infoboxes, 2 which display rotating banners in the left column and one that is a news letter sign up infobox. I have read through the thread and really can not see a solution to my dilemma, here is the very simple code out of the infoboxes. I hope you can shed some light on why I get 2 empty <li> tags at the top of my sitemap before the first infopage link. Email InfoBox <?php /* $Id: visitoremail.php,v 1.16 2003/06/10 18:26:33 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- visitor_e-mail //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => '<table width="100%" height="20" border="0" cellspacing="0" cellpadding="4"><tr><td class="SideinfoBoxHeading" align="center">' . BOX_HEADING_VISITOR_EMAIL . '</td></tr></table>'); new SideinfoBoxHeading($info_box_contents); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('email', tep_href_link(FILENAME_VISITOR_EMAIL, 'action=process')), 'align' => 'center', 'text' => '<table width="95%" border="0" cellspacing="0" cellpadding="2" align="center"><tr><td width="12" class="main" align="right">' . tep_image(DIR_WS_IMAGES . 'email_tick.gif', '', '12', '13') . '</td><td width="160" class="main">' . TEXT_EMAIL_1 . '</td></tr><tr><td width="12" class="main" align="right">' . tep_image(DIR_WS_IMAGES . 'email_tick.gif', '', '12', '13') . '</td><td width="160" class="main">' . TEXT_EMAIL_2 . '</td></tr><tr><td width="12" class="main" align="right">' . tep_image(DIR_WS_IMAGES . 'email_tick.gif', '', '12', '13') . '</td><td width="160" class="main">' . TEXT_EMAIL_3 . '</td></tr></table><table width="95%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td class="email_main" align="center">' . tep_draw_separator('pixel_trans.gif', '100%', '10') . TEXT_EMAIL_ADDRESS . '</td></tr><tr><td align="center">' . tep_draw_input_field('to_email_address', '', 'size="20"') . '</td></tr><tr><td align="center">' . tep_image_submit('button_visitor_email.gif', BOX_HEADING_VISTOR_EMAIL) . '</td></tr></table>'); new SideinfoBox($info_box_contents); ?> </td> </tr> <!-- visitor_email_eof //--> Column Banner Infobox <tr> <td> <?php if ($banner = tep_banner_exists('dynamic', '125x125')) { $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => tep_display_banner('static', $banner) ); new SideinfoBox($info_box_contents); } ?> </td> </tr> Thank you. Mark
  5. mark27uk3

    Contribution Tracker

    No file is being created in the rsscache folder, the permissions are set to 777. Mark
  6. mark27uk3

    Contribution Tracker

    I have tried to install the 2 latest versions of this contribution but both are producing this: anu ideas??? :'( Thanks Mark
  7. mark27uk3

    Multi_Vendor_Shipping new thread

    Hi Craig, I have installed the latest release of MVS and I receive this error, I have checkout your demo site and it also displays exactly the same error on the same lines as my files. Warning: Invalid argument supplied for foreach() in /home/bcsales/public_html/mvs/checkout_process.php on line 125 Warning: Cannot modify header information - headers already sent by (output started at /home/bcsales/public_html/mvs/checkout_process.php:125) in /home/bcsales/public_html/mvs/includes/functions/general.php on line 33 Any ideas on fix for this please??? Also I have read so many different posts about compatability with PayPal IPN, are you able to give a definitive answer or is there still no solution to this??? Thanks Mark
  8. mark27uk3

    Automatically send data feed to Froogle

    Has anyone come across this problem, no clue on how to solve it. Mark
  9. mark27uk3

    Abstract Zones

    Hi Mark, Ok I have done that, did I need to still make the changes you suggested earlier or not?? If not then the 'Overweight' system works fine until I create say another abstract zone called 'Other' and then assign that to a second flat rate shipping module with a price of £4.95. If I dont create another abstract group and assign it to a shipping module then no shipping options are displayed at all. Mark
  10. mark27uk3

    Abstract Zones

    Oh Mark why did you have to say that >_< I could really do with getting this sorted now because it would be a major headache to not have it. I wish you could see me crying real tears over this one :'( I am quite happy to go with a few hacks to get me by until version 2 is available. Mark
  11. mark27uk3

    Abstract Zones

    Hi Mark, Many thanks for your prompt response. I have no individual shipping prices, the only shippig modules active are the one that you supplied with this contrib and a modded duplicate basically making it 2 flat rate shipping modules with different names and different prices. So would this affect the code above or could I use it as is off the belt. Mark
  12. mark27uk3

    Abstract Zones

    Hi Mark, I hope you are well! I have this working really well, at the moment I have 2 flat rate shipping modules setup as Flat Rate 1 - £25.00 Flat Rate 2 - £4.95 The £25 delivery charge is for a washing machine and the £4.95 is say for a dvd. Now if the customer adds a washing machine and a dvd to the shopping cart then the shipping page shows both delivery options. Any ideas on how I would get around this so it would only show the higher delivery charge where there is enough markup in the higher value product to encompass the shipping cost of the dvd or if there is a better way to do it then I am open to your suggestions. Regards Mark
  13. mark27uk3

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Brian, I have managed to solve the internal error I was having but now when I click on the express checkout button I get this pretty display: Any help or advice would be appreciated. Thanks Mark
  14. mark27uk3

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Brian, I have managed to solve the internal error I was having but now when I click on the express checkout button I get this pretty display: Any help or advice would be appreciated. Thanks Mark
  15. mark27uk3

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Brian, I have managed to solve the internal error I was having but now when I click on the express checkout button I get this pretty display: Any help or advice would be appreciated. Thanks Mark
  16. mark27uk3

    Automatically send data feed to Froogle

    Ok so I finally got a response from google base about this issue. Apparently it is because my client has 'Garmin' as a brand (manufacturer) it is confusing google with having a sub category also called 'Garmin' So I am presuming that I need to do away with all sub categories in the feed and only include the top level categories. Only problem is that I am not sure what to change. $catInfo = " SELECT categories.categories_id AS curCatID, categories.parent_id AS parentCatID, categories_description.categories_name AS catName FROM categories, categories_description WHERE categories.categories_id = categories_description.categories_id "; function findCat($curID, $catTempPar, $catTempDes, $catIndex) { if( (isset($catTempPar[$curID])) && ($catTempPar[$curID] != 0) ) { if(isset($catIndex[$catTempPar[$curID]])) { $temp=$catIndex[$catTempPar[$curID]]; } else { $catIndex = findCat($catTempPar[$curID], $catTempPar, $catTempDes, $catIndex); $temp = $catIndex[$catTempPar[$curID]]; } } if( (isset($catTempPar[$curID])) && (isset($catTempDes[$curID])) && ($catTempPar[$curID] == 0) ) { $catIndex[$curID] = $catTempDes[$curID]; } else { $catIndex[$curID] = $temp . ", " . $catTempDes[$curID]; } return $catIndex; } $catIndex = array(); $catTempDes = array(); $catTempPar = array(); $processCat = mysql_query( $catInfo )or die( $FunctionName . ": SQL error " . mysql_error() . "| catInfo = " . htmlentities($catInfo) ); while ( $catRow = mysql_fetch_object( $processCat ) ) { $catKey = $catRow->curCatID; $catName = $catRow->catName; $catParID = $catRow->parentCatID; if($catName != "") { $catTempDes[$catKey]=$catName; $catTempPar[$catKey]=$catParID; } } foreach($catTempDes as $curID=>$des) //don't need the $des { $catIndex = findCat($curID, $catTempPar, $catTempDes, $catIndex); } Any help would be greatly appreciated. Thanks M
  17. mark27uk3

    Automatically send data feed to Froogle

    Ok this is getting ridiculous, now I am totally lost. My clients feed went live and all products were published and searchable. A few days later this response came from google. WTH???? Mark
  18. mark27uk3

    Automatically send data feed to Froogle

    Its been working fine for me up until the new update Mark
  19. mark27uk3

    Automatically send data feed to Froogle

    Ok manual uploads seem to be working fine for my client now, however the cron job is failing miserably everytime. Now I am stuck! Mark
  20. mark27uk3

    Automatically send data feed to Froogle

    The file name is the name that you add into your google base account. You also need to register the ftp feed with google which should be on the same page where it says 'Bulk Uploads' in your google base account. You then need to edit your googlefeeder.php file and add the ftp login details and then near the bottom of the file you need to remove the // from the ftp upload command line. Go back and read the instructions again and study your googlefeeder.php file. Mark Have you changed all the details in your googlefeeder.php file
  21. mark27uk3

    Automatically send data feed to Froogle

    Ok I hopefully have solved the problem for one client. Apparently the feeds were failing because the stores url had not been entered under the settings tab even though it does say it is optional urgh. I have just emailed google again concerning a different client who has the url entered and the feed still gets disapproved. Lets see what they say this time. Mark
  22. mark27uk3

    Automatically send data feed to Froogle

    Hi olly, The headers in my file are being defined fine so it must be something else causing the problem. Mark
  23. mark27uk3

    Automatically send data feed to Froogle

    Are google experiencing any problems lately because I am at a loss as to why ftp uploads are failing and also why feeds are being disapproved I am using the latest version of the googlefeeder contribution. Anyone else experiencing difficulties???? Mark
  24. mark27uk3

    Dynamic SiteMap

    Hi Jack, It gives the 'Unable to determine link' error. Mark
  25. mark27uk3

    Dynamic SiteMap

    Hi Jack, Not sure if this has been posted either here or in the Header Tags Controller thread but I have just found out that the new infobox that is in the header tags controller contrib causes some conflicts with the dynamic sitemap. Or should I say at least it does for me urgh. Just to let you know in case you did not. Mark
×