Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBSEO Google/Yahoo Sitemap Generator Details »»
vBSEO Google/Yahoo Sitemap Generator
Version: 2.5, by vBSEO vBSEO is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.x Rating:
Released: 07-06-2008 Last Update: 02-20-2009 Installs: 1620
Uses Plugins
Additional Files Translations  
No support by the author.


Note: Version 2.5 replaces all previous versions of the vBSEO Google/Yahoo Sitemap Generator, and now includes support for all the new URL types in vBulletin 3.8.x.

Overview
============================

Providing Google, Yahoo, Ask sitemaps is an essential step towards improving your forums.

The "vBSEO Google Sitemaps" plugin provides a solution that allows your forum to be indexed by the Google (and also Yahoo and Ask) search engines faster, more completely, more effectively, and with less bandwidth consumption.

The ultimate goal is to help you achieve more web traffic for your forum.

Quote:
Originally Posted by Google's Description of GSM
https://services.google.com/inquiry/publishertools?hl=en_US
Google Sitemaps is an easy way for you to help improve your site?s representation in the Google index. It's a collaborative crawling system that enables you to communicate directly with Google. You get a smarter crawl because you can provide Google with specific information about all your web pages, such as when a page was last modified or how frequently it changes.

Note: This plugin is fully compliant with vBSEO 3.x version. The current version is vBSEO 3.2. However, if you are running vBSEO, please upgrade to vBSEO 3.2 or greater before installing.

Compatibility
============================


Fully compatible with:
  • vBulletin 3.0.x, 3.5.x, 3.6.x, 3.7.x and 3.8.x
  • vBulletin Blogs 1.0.x and 2.0.x *Optional
  • vBSEO 2.x, 3.x *Optional
What does it do?
============================
  • Auto-generates a Google XML sitemap for all of your specified forum URL types (including vBulletin Blog URLs).
  • Auto-generates a Yahoo text sitemap for all of your specified forum URL types.
  • Auto-notifies Google when a new sitemap is generated.
  • Automatically sends you a summary of the sitemap generation via email each time it is created.
  • Includes only publicly accessible forums and threads.
  • Allows Google/Yahoo to find all of your forum URLs without having to spider the forum to find the links.
  • Allows Google/Yahoo to find your forum URLs without having to account for query string and/or session ID information.
  • Allows Google to give precedence to crawling your higher priority forum pages.
  • Allows Google to give precedence to crawling your forum pages that change more frequently.
  • Allows you to conserve bandwidth by more efficiently facilitating the crawling processes for GoogleBot and Yahoo Slurp.
  • Is 100% compatible with the static CRUs (Content Relevant URLs) used by vBSEO-enabled forums.
How does it work?
============================


Whenever it is scheduled or invoked via the URL, this plugin will generate both the Google XML formatted and the Yahoo text formatted sitemaps. If you selected "Yes" to the Google auto-notification setting, Google will be notified each time the sitemap is generated. The Yahoo sitemap must be manually submitted to http://submit.search.yahoo.com/free/request/.
  • Google Sitemap files are gzipped
  • Forum and thread pages are listed with pagination (i.e. all pages for each forums/thread are included in the sitemap)
  • Maximum Priority is set for Sticky threads.
  • Optimization for sitemap generation on large forums.
Automated Reporting Tool
============================

The vBSEO Sitemap includes a report tool, allowing you to track your progress. To access your reports enter the following URL:

http://www.example.com/forums/vbseo_sitemap/

NOTE: Replace "http://www.example.com/forums/" with the full URL to your vB forum root.


You will be required to login by providing your "Sitemap Interface Access Password" from your vBSEO Sitemap settings in:
  • vBulletin Admin CP (for 3.5.x/3.6.x/3.7.x/3.8.x users) OR
  • vbseo_sitemap.php configuration file (for 3.0.x users) located in the vbseo_sitemap directory in your forum root.
Once you successfully login, you will be provided with a list of 'Useful Links'. Here are the 4 main links:

Show Reports List
The 'Show Reports List' link will display a report of each time your vBSEO Sitemap generator executed, including the (1) date, (2) run time, (3) total URLs included, and (4) and change in # of URLs included from the last generation.

Each vBSEO Sitemap generation record will include a (1) "View details" and (2) "Remove record" link. The "View Details" link shows more detailed information about the sitemap generated. The "Remove record" will permanently delete the record from your reports.

Show Sitemap Downloads Log
The 'Show Sitemap Downloads Log' link will display a report of each time your vBSEO Sitemap was downloaded by either a search engine (GoogleBot or Yahoo) or by another user agent (i.e. Web browser, etc.).

The report includes the (1) date, (2) name of sitemap file downloaded, (3) Bot, (4) IP address of the downloader, and the (5) User-agent.

Each vBSEO Sitemap download record will include a "Remove record" link which will permanently delete the record from your reports.

Run Sitemap Generator
The 'Run Sitemap Generator' link will automatically regenerate your Google and Yahoo sitemaps.

Your Forums Homepage
The 'Your Forums Homepage' link is a quick link back to your forum homepage.

Additional Links
Additional links to various other related SEO resources are also included.


Click "Install"
============================

Please click "Install" to show your support for this script.


Installation & Configuration for vB 3.5.x, 3.6.x, 3.7.x and 3.8.x as a Plugin
============================

Follow the installation/upgrade instructions provided in the docs/readme.html file.


Google Webmaster Accounts
============================

It is NOT required for you to have a Google Webmaster account to run the vBulletin Google Sitemaps plugin. If you decide to setup an account for testing purposes you can do so here:
http://www.google.com/webmasters/sitemaps/login?sourceid=gsm&subid=us-et-about2


Copyright & Licensing

============================
  • vBSEO Google Sitemaps plugin is copyright protected by Crawlability Inc.
  • You are free to download and install this plugin on any vBulletin forum for which you hold a valid vB license.
  • Unauthorized distribution of any code and/or documentation, whole or in part, included here is strictly prohibited.
  • In addition, the following copyright notice must be maintained.
vBSEO(TM) ? 2005-2009 Crawlability, Inc.


Revision History
============================

02/22/2009 - Version 2.5 Released

NEW FEATURE: Blog tags URLs are included.
NEW FEATURE: Social Group Discussion URLs are included.
NEW FEATURE: Smart Priority applied for the following URL types
  1. Show Post
  2. Member Profiles
  3. Forum Display
  4. Poll Results
  5. Blog Entries
  6. Member Profile Albums
  7. Social Groups
  8. Social Groups Discussions
  9. Social Group Pictures
  10. Tags
  11. Blog Tags
UPDATE: Compatible with vBulletin 3.8.x. Includes the following updated settings:
  1. Priority Range - Show Post
  2. Priority Range - Member Profiles
  3. Priority Range - Forum Display
  4. Priority Range - Poll Results
  5. Priority Range - Show Thread
  6. Priority Range - Blog Entries
  7. Priority Range - Member Profile Albums
  8. Priority Range - Social Groups
  9. Priority Range - Social Group Pictures
  10. Priority Range - Tags
Fix: Social Group Discussion database error is fixed.

Upgrade Instructions
============================

(1) Follow the installation/upgrade instructions provided in the docs/readme.html file.

(2) For versions of vBulletin 3.6.x only: Open "Schedule Manager" in the vBulletin Admin Control Panel (admincp); Remove existing scheduled task for Sitemap Generator if you have one.
Note: The new task will be automatically setup when you import the XML product file.

Other vBSEO Plugins

============================vBSEO Affiliate Program
============================

We welcome you to join the vBSEO Affiliate Program.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #712  
Old 02-04-2009, 12:15 AM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Makes perfect sense. Thanks for the tip. Re-ran it the way you suggested to get it updated.

I have another question. I noticed in a lot forums that many people submit multiple sitemaps for one domain URL like sitemap_1, sitemap_2, sitemap_3, etc.. What is the purpose of this and are they getting a whole differnet set of URLs?

Thanks!
Buster
Reply With Quote
  #713  
Old 02-04-2009, 12:35 AM
iojam's Avatar
iojam iojam is offline
 
Join Date: Jun 2005
Location: Belarus
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should only submit sitemap_index.xml.gz - it includes links to all your sitemap files (sitemap_X.xml.gz)
Reply With Quote
  #714  
Old 02-04-2009, 03:47 AM
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well when I look in that file, all it shows is sitemap_1.xml.gz. So what's the difference? I guess I don't understand the purpose of multiple sitemap files. I also don't see what generates multiple ones since the sitemap generator only creates one by default.

Is there some advantage to multiple ones and if so, what do the differnet ones point to differently than just one?

Thanks for any insight you can provide.

Buster
Reply With Quote
  #715  
Old 02-04-2009, 10:23 AM
iojam's Avatar
iojam iojam is offline
 
Join Date: Jun 2005
Location: Belarus
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In case if you have many URLs vBSEO Sitemap Generator will separate them on multiple file (default setting is 20,000 URLs max per file).
Reply With Quote
  #716  
Old 02-04-2009, 11:27 PM
nca nca is offline
 
Join Date: Feb 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep running the generate link from the control panel and it says that everything ran fine. But when I go through FTP to the site the files it said it created are nowhere to be found.

Here is the output it gives me:

Code:
[homepage] [4,875.7Kb mem used] [0s (+0s)]
[SECTION START] forumdisplay [4,875.8Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 4, total threads: 0, pages: 1 [4,875.9Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 3, total threads: 0, pages: 1 [4,894.5Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 5, total threads: 409, pages: 21 [4,894.8Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 6, total threads: 97, pages: 5 [4,896.9Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 7, total threads: 93, pages: 5 [4,899.5Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 8, total threads: 46, pages: 3 [4,900.9Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 9, total threads: 83, pages: 5 [4,902.1Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 10, total threads: 110, pages: 6 [4,903.3Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 11, total threads: 130, pages: 7 [4,905.0Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 12, total threads: 85, pages: 5 [4,907.1Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 13, total threads: 35, pages: 2 [4,909.1Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 14, total threads: 197, pages: 10 [4,910.8Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 15, total threads: 16, pages: 1 [4,913.9Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 16, total threads: 29, pages: 2 [4,917.2Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 17, total threads: 56, pages: 3 [4,917.9Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 18, total threads: 119, pages: 6 [4,919.0Kb mem used] [0s (+0s)]
[SECTION START] showthread [4,921.1Kb mem used] [0s (+0s)]
[archive homepage] [5,037.5Kb mem used] [3s (+3s)]
[SECTION START] forumdisplay archived [5,038.4Kb mem used] [3s (+0s)]
[SECTION START] member [5,048.7Kb mem used] [3s (+0s)]
[create sitemap file] filename: sitemap_1.xml.gz, number of urls: 25000 [4,905.4Kb mem used] [3s (+1s)]
[create sitemap in text format] part #2 [4,905.3Kb mem used] [3s (+0s)]
[SECTION START] polls [5,115.4Kb mem used] [4s (+1s)]
[SECTION START] blogs [5,134.0Kb mem used] [4s (+0s)]
[SECTION START] albums [5,136.7Kb mem used] [4s (+0s)]
[SECTION START] groups [5,136.8Kb mem used] [4s (+0s)]
[SECTION START] tags [5,137.4Kb mem used] [4s (+0s)]
[create sitemap file] filename: sitemap_2.xml.gz, number of urls: 2410 [4,909.0Kb mem used] [4s (+0s)]
[create sitemap in text format] part #3 [4,908.9Kb mem used] [4s (+0s)]
[create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 2 [4,909.3Kb mem used] [4s (+0s)]
Sitemap has been created. Click here to return [4,905.6Kb mem used] [4s (+0s)]


But again when I go looking for the sitemaps it said it created I cannot locate them. A click on the link to view the google and yahoo ones just gives a 404 error.



Here is my .htaccess file:

Code:
# Comment the following line (add '#' at the beginning)

# to disable mod_rewrite functions.

# Please note: you still need to disable the hack in

# the vBSEO control panel to stop url rewrites.

RewriteEngine On



# Some servers require the Rewritebase directive to be

# enabled (remove '#' at the beginning to activate)

# Please note: when enabled, you must include the path

# to your root vB folder (i.e. RewriteBase /forums/)

#RewriteBase /



#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com

#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]



RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]



RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)

RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]



RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php [L,QSA]
Reply With Quote
  #717  
Old 02-04-2009, 11:47 PM
iojam's Avatar
iojam iojam is offline
 
Join Date: Jun 2005
Location: Belarus
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly is your sitemap URL?
Try to change this line:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
to:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap/)
Reply With Quote
  #718  
Old 02-05-2009, 12:11 AM
nca nca is offline
 
Join Date: Feb 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked! thank you iojam!!

Now when I visit the forum in firefox there are no google adsense ads anywhere to be found. Would this sitemap generator affect the ads in the pages?

here the the forum:
http://forum.horseville.com

the is the page for example:
http://forum.horseville.com/intros/1...ggestions.html
When viewed with IE it shows the ads, when viewed with firefox no ads are to be found.
Reply With Quote
  #719  
Old 02-07-2009, 02:32 AM
dholt's Avatar
dholt dholt is offline
 
Join Date: Aug 2006
Location: Somewere in Delaware
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work with 3.8.0
Reply With Quote
  #720  
Old 02-09-2009, 04:41 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
I manually ran the task and got this:

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

                 SELECT count(*)as cnt,max(dateline) as lastupdate
                 FROM groupmessage
                 WHERE groupid='1';

MySQL Error   : Unknown column 'groupid' in 'where clause'
Error Number  : 1054
Request Date  : Friday, January 30th 2009 @ 09:45:06 PM
Error Date    : Friday, January 30th 2009 @ 09:45:09 PM
Script        : http://www.talkjesus.com/xxxxx/cronadmin.php?do=runcron&cronid=56
Referrer      : http://www.talkjesus.com/xxxxx/cronadmin.php?do=modify
IP Address    : xxxxx
Username      : Chad
Classname     : vB_Database
MySQL Version : 5.0.67-community
Quote:
Originally Posted by iojam View Post
Solved my problem too... good work.
Reply With Quote
  #721  
Old 02-09-2009, 07:50 PM
steven.hartland steven.hartland is offline
 
Join Date: Oct 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off the fix for vb 3.8.2 as the group changes break the base code:-
Code:
--- vbseo_sitemap_functions.php.orig    2009-02-06 14:57:36.000000000 +0000
+++ vbseo_sitemap_functions.php 2009-02-06 14:59:58.000000000 +0000
@@ -569,6 +569,7 @@
                $tcount = $db->query_first("
                        SELECT count(*)as cnt,max(dateline) as lastupdate
-                       FROM " . TABLE_PREFIX . "groupmessage
-                       WHERE groupid='$rrow[groupid]'
+                       FROM " . TABLE_PREFIX . "discussion d, " . TABLE_PREFIX . "groupmessage g
+                       WHERE d.groupid='$rrow[groupid]'
+                               AND g.discussionid = d.discussionid
                ");
                $pcount = ceil($tcount['cnt']/$vboptions['vm_perpage']);
Next up we are getting a load of garbage in our sitemap even the zcat cant read the files:-
Code:
sh -c ' for i in *.gz; do echo $i; zcat $i | head; done' > 1
zcat: sitemap_21.xml.gz: trailing garbage ignored
zcat: sitemap_24.xml.gz: trailing garbage ignored
zcat: sitemap_27.xml.gz: trailing garbage ignored
zcat: sitemap_30.xml.gz: trailing garbage ignored
zcat: data stream error
zcat: sitemap_31.xml.gz: uncompress failed
zcat: data stream error
zcat: sitemap_34.xml.gz: uncompress failed
zcat: sitemap_36.xml.gz: trailing garbage ignored
zcat: data stream error
zcat: sitemap_37.xml.gz: uncompress failed
zcat: data stream error
zcat: sitemap_39.xml.gz: uncompress failed
zcat: sitemap_42.xml.gz: trailing garbage ignored
zcat: urllist.txt.gz: not in gzip format
Even some of the files that can be decompress are corrupt internally with invalid xml e.g. the data of the lastmod appearing in the url and missing close tags all over.

Has anyone seen this sort of corruption before?

We are running the following:-
Code:
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 18 2008 16:29:55) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

apache-2.2.8        Version 2.2 of Apache web server with prefork MPM.

FreeBSD loncore1.multiplay.co.uk 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #9: Mon Jun 30 17:43:02 BST 2008
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04920 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete