Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nicedeals

Archived
  • Posts

    96
  • Joined

  • Last visited

Everything posted by nicedeals

  1. Is there a contribution which shows how many customers are online on the website itself. I know we have the who's online option under the admin menu but do we have something where the number of customers online is visible online to other visitors? Thanks! :thumbsup:
  2. Great Work Every One, Keep it up :thumbsup: I have a slight problem in the admin control panel section. I get this error message under Configuration>SEO URLs " Warning: call_user_func(tep_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /mnt/web_g/d04/s25/b01c6928/www/admin/includes/functions/general.php on line 1242" and although the full option list for the SEO URLs shows up nderneath this error message, the contribution doesnt seem to be doing anything when I select true/ false etc for different options. Somebody Please HELP ME!
  3. i just ended up getting rod of some code that gets displayed when there is a problem; $file = $path . '/' . $file; $fp = file($file); 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 { echo ''.$boxHeading[$ctr][''][$ctr].''; array_pop($boxHeading); $ctr--; } } } $ctr++; } closedir($handle); } ------------------------------------------------ can this hurt my site map in any way? also..do i need to submit the site map now to search engines??
  4. I wouldn't know where to start; my dynamic_sitemap.php looks like this; <?php /* $Id: dynamic_sitemap.php,v 1.0 2005/06/29 written by Jack_mcs at www.osocmmerce-solution.com osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require DIR_WS_FUNCTIONS . 'dynamic_sitemap.php'; $path = DIR_WS_BOXES; $pathFileName = DIR_WS_INCLUDES . 'filenames.php'; $pathLanguage = DIR_WS_LANGUAGES . $language . '.php'; $boxText = array(); /********************* Find the infoboxes to add ***********************/ if ($handle = opendir($path)) { $found = false; $ctr = 0; while (false !== ($file = readdir($handle))) { if (substr($file, -4, 4) !== ".php") continue; else if (strpos($file, 'best_sellers') !== FALSE || //ignore these since strpos($file, 'categories') !== FALSE || //they don't use a strpos($file, 'currencies') !== FALSE || //standard format strpos($file, 'languages') !== FALSE || strpos($file, 'manufacturer_info') !== FALSE || strpos($file, 'manufacturer') !== FALSE || strpos($file, 'order_history') !== FALSE || strpos($file, 'product_notifications') !== FALSE || strpos($file, 'reviews') !== FALSE || strpos($file, 'search') !== FALSE || strpos($file, 'shopping_cart') !== FALSE || strpos($file, 'specials') !== FALSE || strpos($file, 'tell_a_friend') !== FALSE || strpos($file, 'Account') !== FALSE || strpos($file, 'whats_new') !== FALSE ) continue; $file = $path . '/' . $file; $fp = file($file); 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 { echo 'Invalid code for this module found in the following infobox: '.$boxHeading[$ctr]['heading'][$ctr].'<br>'; array_pop($boxHeading); $ctr--; } } } $ctr++; } closedir($handle); } /********************* Find the pages to add ***********************/ $ctr = 0; ($dir = opendir('.')) || die("Failed to open dir"); $files = array(); while(false !== ($file = readdir($dir))) { if(! is_dir($file) && substr($file, -4, 4) === ".php") //only look at php files { $engFile = DIR_WS_LANGUAGES . $language . '/' . $file; if (file_exists($engFile) && IsViewable($file)) { if (strpos($file, "product_info.php") !== FALSE || strpos($file, "create_account_success.php") !== FALSE || strpos($file, "links_submit_success.php") !== FALSE || strpos($file, "checkout_process.php") !== FALSE ) continue; $files['path'][] = $file; $name = explode(".php", $file); $files['name'][] = ucfirst($name[0]); } } } ?> ---------------------------------------------------------------------------------------------- I have no idea what code to look for and what to adjust to correct my site map page ( link attached ) http://nicedeals.co.uk/caraccessories/nfos...mic_sitemap.php
  5. Hi, i installed the 1.4 version and then 1.3 on top as Jack said...I've got teh site map showing but also these lines on top; Invalid code for this module found in the following infobox: Heading Invalid code for this module found in the following infobox: Invalid code for this module found in the following infobox: Invalid code for this module found in the following infobox: my sitemap page link is as follows; http://nicedeals.co.uk/caraccessories/nfos...308bef13a70e58b one otehr thing, will the search engine pick it up automatically now or do need to submit it? thanks!
  6. just a quick question.... i have a working V2.5.4.....the product meta tags it generates are not separated by commas..... do they have to be or not for search engines to pick them up as different words
  7. the header contribution 2.5.4 is working perfectly but i need to know how to get rid of this email add in the source code..started getting spam already....i did a search on it but wasn't sure exactly what line of code to remove and which file exactly. Thanks!
  8. Hi, I had the same problem, as a mater of fact i still do....but you can still use the contribution in the sense that everything is saved if you check the page source...although the category title heading shows as empty, as long as you dont click "save" the previous info you typed on the page still shows... also try ticking on and off the HTTA and other options on the header tags page and check their effect on the source page.
  9. no i was wrong.... the previous meta tag contribution is not working, i had to take some HTTA ticks etc off for the unique tags to work.... everything seems fine now....thought i'll add this reply to clear any confusions.
  10. actually i've just noticed that as i had this other " dynaimc meta tags " contribution added previously, the meta tags and keywords are showing up in the source for some pages where I have left it in..excellent will give it anotehr check and try adding meta tags to other pages and get back to you guys.... :thumbsup:
  11. you are right Mibble....I dont think I'll be payin anyone to do it for me especially now that I have the browser titles showin up for categories aswell....thanks JACK! before i carry on with the admin install section again, a brief look tells me its the same as the last file as in V3.5.2 if i fill meta tags in the category section, they dont show up in the source of the page and if you go back to the category section in admin, all the meta tags, titles etc. have disappeared although the titles show in the browser. any thoughts?
  12. so..how long could we have to wait for that? also..i have some people offering to install theheader tag contribution for me for a small charge...would they get stuck at the same point??
  13. where is that version jack, i can only see 2.5.2 if i search for header in contributions?? and do i need to undo all the changes for the one i've already installed? :(
  14. OK one otehr thing... in the catalog/index.php, if i change the <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> to <?php // BOF: WebMakers.com Changed: Header Tag Controller v2.5.2 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v2.5.2 ?> I get this error; 1054 - Unknown column 'c.category_head_title_tag' in 'field list' select cd.categories_name, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag from categories c, categories_description cd where c.categories_id = '314' and cd.categories_id = '314' and cd.language_id = '1' [TEP STOP]
  15. I have just noticed that when i type in a title for the category and save it in admin, it says " Warning; no file uploaded " on top of the page..what could be wrong?
  16. I dont know why i'm keep doin these double posts...I've got the category titles to appear via the fill_tags process..now I just need them to show in the browser titles... finally :lol:
  17. ooops! how careless of me...ok i've made the changes to index.php, ran the fill_tags in admin and went to catalog/ categories section to fill the category titles again, still no joy, the category titles and browser tabs are not changing.... I'm so close...I know it.... and by the way JACK....u is a STAR :thumbsup:
  18. also when it says chage the <title> code in roughly 35 files in the same directory as index.php, does this mean you need to change the code in " index.php " aswell and also why would you want to change the code for say " checkout.php " or " checkout_process.php " etc? I only change the title code in roughly 15 files.
  19. I'm sure I've followed the other instructions correctly, here's my catalog/index.php
  20. OK, got the website name off by ticking the HTTA "off" in admin..so now i only see the product name in the title bar. now just need the category titles to show up in browser and on by website. on the browser tab i have the default title showing under categories and on my actual website i can't seem to change the title " categories " to what i want e.g. " alfa romeo body panels and lamps " :thumbsup: gettin there slowly but surely..... also..can someone tell ma other half how important this is so she stops pesterin me to come to bed >_<
  21. also! my products are coming up with their title showing up in the browser tab ut after the item title, it gives my store name e.g. "Alfa Romeo 145/ 146 bonnet-NiceDeals.co.uk-automotive parts online" I would only like it to show the item title and not my store name at the end as i believe that can reduce my page ranking also i would like to my store name to show as a default on pages i havent added a title any suggestions?
  22. No i wasn't running it in admin..asked my host and they told me to do so, now I have it working, one thing still messed up though... in admin under categories, when i type a title for a category and then update, no changes are made and if I go back to the page by clicking edit again, what ever I had typed disapperas??
  23. I have a few problems with the full installation of this contribution.. firstly in the " install catalog " section where it says; I can't get this to work, if i do change that on say the index.php file or the specials.php file and upload them again, there is a lot of jargon appearing on top of each page before the header.. Also i tried to run fill_tags.php in my browser and it says " The page you have requested requires your browser to support cookies. Please enable cookie support in your browser, and try again. " and cookies are enabled in my browser.. please HELP!!
  24. Hello all, does any one know how I can get my browser tab to show unique titles for each page and not the default tilte set in " english.php " also in my admin section, when i type a title and save it, it appears on website page but if i go back to admin and refresh the same page, the title disappears although it stays on the webpage??? my website is " www.nicedeals.co.uk " I have only wrote titles for the " body panels & Lamps " page yet
×
×
  • Create New...