vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - Simple Sitemap (https://vborg.vbsupport.ru/showthread.php?t=201974)

crkgb 01-17-2009 04:52 PM

<a href="https://www.google.com/webmasters/tools" target="_blank">https://www.google.com/webmasters/tools</a>

Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

bjhuang 01-18-2009 02:51 AM

yes, it works on 3.6 and 3.7

and you don't have to submit it to anywhere. it's not in any standard format. it's just a simple page to help spiders crawl your threads.

Wheemer 01-18-2009 05:26 AM

This mod would be a lot better if you could submit it to google

C138 Kaysone 01-18-2009 07:02 AM

my offset is not working... like it wont update the pages or something like that

munnakv 01-18-2009 07:33 AM

Thanks for the reply bjhuang.

Quote:

did you modified sitemap.php? i guess you've changed the value of $script variable at line2 to "sitemap". it should be "sitemap.php".
I did not modify the second line. It stays as $script = 'sitemap.php';
I changed only the third line to : $count = 2000;

The problem still remains unsolved. :eek:
I even replaced the sitemap.php with the downloaded one, but does not have any effect.
You can have a look at here: http://www.mysite.com/forum/sitemap.php

(Just to remind, the offset link http://www.mysite.com/forum/sitemap.php?offset=2000 leads to a pagenot found error.)

The "View Full Version" link works now. Thanks. :cool:

C138 Kaysone 01-18-2009 07:36 AM

Quote:

Originally Posted by munnakv (Post 1716568)
Thanks for the reply bjhuang.



I did not modify the second line. It stays as $script = 'sitemap.php';
I changed only the third line to : $count = 2000;

The problem still remains unsolved. :eek:
I even replaced the sitemap.php with the downloaded one, but does not have any effect.
You can have a look at here: http://www.indianjobtalks.com/forum/sitemap.php

(Just to remind, the offset link http://www.indianjobtalks.com/forum/sitemap?offset=2000 leads to a pagenot found error.)

The "View Full Version" link works now. Thanks. :cool:

Does your page loads or it still gives you a 404 error? im trying to figure out what i can do to fix mine as well

http://mytalkcarolina.com/community/sitemap.php

I dont know what is causing the problem for it not to allow going through the pages, only gives me a 404 error

C138 Kaysone 01-18-2009 07:49 AM

Ok now i found the problem & the correction to it, the author only needs to update the php attachment.

when clicking on the page number, it leads you to a 404 error page but as it goes

Before - http://mytalkcarolina.com/community/sitemap?offset=1800 (404 error)

After - http://mytalkcarolina.com/community/...hp?offset=1800 (Will allow to go to next page)

On line 14, just add .php to the variable.

Before
Quote:

define('SKIP_SESSIONCREATE', 1);
define('DIE_QUIETLY', 1);
define('THIS_SCRIPT', 'sitemap');
After
Quote:

define('SKIP_SESSIONCREATE', 1);
define('DIE_QUIETLY', 1);
define('THIS_SCRIPT', 'sitemap.php');
That way you will no longer see the 404 error page :) hope that helps anyone that uses my correction "which is only small, and author :) you may want to update your sitemap.php attachment with my correction so everyone will have it when they install it into their forum root.

munnakv 01-18-2009 02:01 PM

Quote:

That way you will no longer see the 404 error page hope that helps anyone that uses my correction "which is only small, and author you may want to update your sitemap.php attachment with my correction so everyone will have it when they install it into their forum root.
C138 Kaysone, Thanks. It did the trick. It helps to learn the coding at times. :)

Another suggestion / request to bjhuang the thread owner:
Can we eliminate the page "/forum/sitemap.php?offset=0" appearing in the top navigation list, as it is a duplicate of "/forum/sitemap.php?"

bjhuang 01-18-2009 11:36 PM

Quote:

Originally Posted by munnakv (Post 1716824)
C138 Kaysone, Thanks. It did the trick. It helps to learn the coding at times. :)

Another suggestion / request to bjhuang the thread owner:
Can we eliminate the page "/forum/sitemap.php?offset=0" appearing in the top navigation list, as it is a duplicate of "/forum/sitemap.php?"

open sitemap.php and find
PHP Code:

$output .= "<a href='".$sitemap_script."?offset=".(($i-1)*$count)."'>".$i."</a> "

replace with
PHP Code:

if($i==1$output .= "<a href='".$sitemap_script."'>".$i."</a> ";
else 
$output .= "<a href='".$sitemap_script."?offset=".(($i-1)*$count)."'>".$i."</a> "


nrms? 01-19-2009 03:56 PM

Quote:

Originally Posted by Alfa1 (Post 1715144)
Just hardcode the link, by replacing
PHP Code:

<a href="$vboptions[bburl]/sitemap.php">Sitemap</a> - 

with
PHP Code:

<a href="http://www.example.com/forum/sitemap.php">Sitemap</a> - 

Put your forum location instead of example.com/forum

@Alfa1, thanks in advance, but after this... continue not open a valid page, simple open a blank page...

Have you other solution...?


All times are GMT. The time now is 09:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01294 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete