A plugin that can generate an XML SiteMap based on the topics, posts and tags present in a bbPress forum. All users are welcome to improve on it :p
See the original thread: http://bbpress.org/forums/topic/sitemap-generator
Version: 0.6.1
Last Updated: 2008-8-11
Requires bbPress Version: 1.0 or higher
Compatible up to: trunk





A plugin that can generate an XML SiteMap based on the topics, posts and tags present in a bbPress forum. All users are welcome to improve on it :p
See the original thread: http://bbpress.org/forums/topic/sitemap-generator
See the original thread: http://bbpress.org/forums/topic/sitemap-generator
:)
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w009804c/gruenderstipendium/bb-plugins/bbpress-sitemap-generator/bbpress_sitemap.php:1) in /www/htdocs/w009804c/gruenderstipendium/bb-includes/pluggable.php on line 228 :(
It does not work when you activate you get this error
Plugin could not be activated; it produced a Fatal Error.
Deactivating the plugin gives this error
Warning: Cannot modify header information - headers already sent by (output started at /bbpress/my-plugins/bbpress-sitemap-generator/bbpress_sitemap.php:1) in /bbpress/bb-includes/pluggable.php on line 228
When I reload the page I end up with 2 plugings deactivated.
I did enter the path info and chmoded the sitemap file.
This works great in WP2.6.2 + bbPress 1.0a2.
Thanks.
You edit the path to the sitemap.xml inside the plugin's file.
Create an empty text file called sitemap.xml, put it where the script expects it. I was able to CHMOD 0644, post a new post and check the contents of the sitemap.xml.
Everything looks good!
Hi,
Using bbpress 0.902. This plugin creates the sitemap.xml file with all links correct except for the tags links - on all the tags it detects it puts in the sitemap the following information:
<url>
<loc>://</loc>
<lastmod>2008-10-21</lastmod>
<changefreq>daily</changefreq>
<priority>0.00040617384240455</priority>
</url>
which is junk to google. any ideas on how to correct this?
Claudiuro:
Go to bbpress_sitemap.php
Find around line 122:
$url=get_tag_link($tag->tag);
Change too:
$url = bb_get_option('uri').'tags/'.$tag->tag;
That will give you the correct URL output.
hi. the plugin works great, but i was wondering if there was a way to stop it including posts from a certain forum (if you know the ID).
i use the hidden forum plugin as well, and don't really want the post from there getting spidered.
Doesn't work for me :-( Fatal error when activated
I did:
1. edit the xml file location in the script itself
2. created the xml and chmoded 777
Using standalone 1.0alpha2...
Gracias 787Consulting! =D
Works great - the key is specifying the correct path for the $sitemap_file variable and CHMOD'ing the sitemap.xml file to 777. Also, make sure you use $_SERVER['DOCUMENT_ROOT'] and not an absolute path.
$url = bb_get_option('uri').'tags/'.$tag->tag; works for my tags but the forum links are generatd wrong:
<url>
<loc>http://www.xtc-modified.org/forum/topic.phpid%3D9</loc>
<lastmod>2008-10-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
I use bbpress 1.02
Any suggestions?
Kind regards
Tom
This plugin does not work with bbpress 1.02. A white line appears on header of homepage.
No idea how to fix this for bbPress 1.02?
Kind regards
Tom
Can anyone make an easier version of this plugin?
Sitemap generator which does not require "Define the location and/or the name of the sitemap file with the $sitemapfile function. See at the top of bbpresssitemap.php file ! Make a chmod 777 the sitemap file." in the installation process.
Like the one for wordpress. Install, Activate and ready to use!
Thanks!
Tried everything... Still didn't work.
Created an empty file in notepad called sitemap.xml and uploaded to the bbpress-sitemap-generator directory and then set CHMOD to 777
Then edited bbpress_sitemap.php and made the following change:
$sitemap_file = $_SERVER['DOCUMENT_ROOT']."/forums/bb-plugins/bbpress-sitemap-generator/sitemap.xml";
Any help would be appreciated.
After several tries am getting this http://touchreviews.net/forums/sitemap.xml Still does not look like a sitemap...
This plugin horrible slows down the forum performance as the sitemap.xml is created to often on forums with heavy load.
Is there a way to create the sitemap once per hour or per day?.
Kind regards
Tom
You must log in to post.