Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 2 votes

Sitemap SEO


669 replies to this topic

#661 altoid

  • Community Member
  • 435 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Pennsylvania

Posted 26 December 2011, 11:58

View PostJack_mcs, on 26 December 2011, 04:34, said:

Thanks for mentioning the definition problem. I see I forgot to include the language file. I'm not clear why you had to rename it though. For the other problems, did you replace the class files?

For the rename, when I figured out the file was missing and did that myself, i tried to follow the naming the naming convention I found in the file as so:

  define('MODULE_BOXES_INFORMATION_BOX_CONDITIONS', 'Conditions of Use');
  define('MODULE_BOXES_INFORMATION_BOX_SHIPPING', 'Shipping & Returns');
  define('MODULE_BOXES_INFORMATION_BOX_CONTACT', 'Contact Us');

That's why i added the word "box" in

  define('MODULE_BOXES_INFORMATION_BOX_SITEMAP_SEO', 'Site Map');

I realize that was a bit of a liberty to take, but I thought any updates would overwrite that anyway, or I'd notice it later if something came up. I can change it back if that would the better approach.

Regarding the class files...this was a new installation of sitemap, so I uploaded the provided files and site monitor shows:

Found a new file named includes/classes/category_tree_no_products.php
Found a new file named includes/classes/category_tree.php

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.

#662 altoid

  • Community Member
  • 435 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Pennsylvania

Posted 26 December 2011, 12:06

View PostJack_mcs, on 24 December 2011, 13:34, said:

OK, it seems I changed the category_tree class files for some reason, though I can't find any notes about it. Try replacing the category_tree.php and
category_tree_no_products.php files in includes/classes to see if that fixes the problem.

Jack, this is response to our thread for sitemap on a 2.2 RC2A shop. In this shop's case I was updating my version of Sitemap from 1.7 to 1.8.4

My site monitor records shows I did overwrite the previous files when updating as follows:

Difference found: New-> includes/classes/category_tree_no_products.php 2963 Original-> 3010
Difference found: New-> includes/classes/category_tree.php 4273 Original-> 4314

So I think I am OK there.
I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.

#663 Jack_mcs

  • Community Member
  • 24,072 posts
  • Real Name:Jack
  • Gender:Male

Posted 26 December 2011, 13:47

View Postaltoid, on 26 December 2011, 12:06, said:


Jack, this is response to our thread for sitemap on a 2.2 RC2A shop. In this shop's case I was updating my version of Sitemap from 1.7 to 1.8.4

My site monitor records shows I did overwrite the previous files when updating as follows:

Difference found: New-> includes/classes/category_tree_no_products.php 2963 Original-> 3010
Difference found: New-> includes/classes/category_tree.php 4273 Original-> 4314

So I think I am OK there.
Are you saying all of the problems are fixed then? I don't have a Sitemap SEO version 1.8.4. If that wasn't a typo, then it appears you are not using my version.

#664 altoid

  • Community Member
  • 435 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Pennsylvania

Posted 26 December 2011, 14:55

View PostJack_mcs, on 26 December 2011, 13:47, said:

Are you saying all of the problems are fixed then? I don't have a Sitemap SEO version 1.8.4. If that wasn't a typo, then it appears you are not using my version.

Sorry about that...it was typo. Sitemap_SEO_V_1.8 Must have gotten carried away on the keyboard. It's your version. That's pretty much all I use.

Anyway, the categories and manufacturers links at the bottom of a product listing don't work correct as far as my view of things. I can give you a link to one of sites to see this, but right now I have those two options disabled in coniguration>sitemap seo.

Specifically what I have disabled are:

Show Related Categories
Show Related Products by Manufacturer

both are set to false in configuration because they don't seem to be working correctly
I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.

#665 Jack_mcs

  • Community Member
  • 24,072 posts
  • Real Name:Jack
  • Gender:Male

Posted 26 December 2011, 15:32

View Postaltoid, on 26 December 2011, 14:55, said:


Sorry about that...it was typo. Sitemap_SEO_V_1.8 Must have gotten carried away on the keyboard. It's your version. That's pretty much all I use.

Anyway, the categories and manufacturers links at the bottom of a product listing don't work correct as far as my view of things. I can give you a link to one of sites to see this, but right now I have those two options disabled in coniguration>sitemap seo.

Specifically what I have disabled are:

Show Related Categories
Show Related Products by Manufacturer

both are set to false in configuration because they don't seem to be working correctly
Yes, please provide a link since they work fine for me here in both versions.

#666 benjackson

  • Community Member
  • 3 posts
  • Real Name:ben jackson

Posted 26 January 2012, 06:10

hello
I am not getting the proper naming conventions on both the admin pages, and on my site? I have uploaded everything as per the instructions and also edited as per instructions. I see above that there is a similar error that some people have experienced but am not so sure how to correct it?
thanks for input

MODULE_BOXES_INFORMATION_SITEMAP_SEO on the user page and the 3 admin pages are not labelling properly

#667 benjackson

  • Community Member
  • 3 posts
  • Real Name:ben jackson

Posted 26 January 2012, 10:01

View Postbenjackson, on 26 January 2012, 06:10, said:

hello
I am not getting the proper naming conventions on both the admin pages, and on my site? I have uploaded everything as per the instructions and also edited as per instructions. I see above that there is a similar error that some people have experienced but am not so sure how to correct it?
thanks for input

MODULE_BOXES_INFORMATION_SITEMAP_SEO on the user page and the 3 admin pages are not labelling properly

its ok worked it out, simply have to put one line of code into the includes\languages\english\modules\boxes\bm_information.php file before the last ?>



define('MODULE_BOXES_INFORMATION_SITEMAP_SEO', 'Sitemap');

The 3 admin errors, was my FU, forgot to upload the language file for the admin side.

#668 Alicja2974

  • Community Member
  • 2 posts
  • Real Name:Alicja

Posted 27 January 2012, 13:28

Hi,
first of all - thanks for this contribution and other one too.
Second - I have problem with this one.
When I select admin ->sitemap SEO->Box Control and in Boxes Individual Control I choose bm_information.php then I fill any gap and update then when I want to see sitemap in my shop I see


Warning: file(/var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seoincludes/languages/polish/modules/boxes/bm_information.php) [function.file]: failed to open stream: No such file or directory in /var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seo/includes/functions/sitemap.php on line 84

after it I can see the sitemap. I see that the path is wrong. It's

(/var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seoincludes/languages/polish/modules/boxes/bm_information.php

should be

(/var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seo/includes/languages/polish/modules/boxes/bm_information.php

Could you help me. Thanks.

p.s sorry for my English :(

#669 Jack_mcs

  • Community Member
  • 24,072 posts
  • Real Name:Jack
  • Gender:Male

Posted 27 January 2012, 13:51

View PostAlicja2974, on 27 January 2012, 13:28, said:

after it I can see the sitemap. I see that the path is wrong. It's

(/var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seoincludes/languages/polish/modules/boxes/bm_information.php

should be

(/var/www/mnt/nfs11/nfs3/html/pro/hany.com.pl/root/seo/includes/languages/polish/modules/boxes/bm_information.php

Could you help me. Thanks.

p.s sorry for my English :(
This contribution doesn't do anything with the url's. That's controlled by the configure file. See here for how to set it up correctly.

#670 Alicja2974

  • Community Member
  • 2 posts
  • Real Name:Alicja

Posted 28 January 2012, 05:13

Thanks.
Of course it was this. I thought that I have corect configure file because my store have been working for 1 year, but I was wrong.