I've got a couple of forums I don't like being shown on the main forum page but I still have publicly accesible by url, but they aren't getting listed on the sitemap.
This is a discussion on Doesn't list hidden forums? within the Bug Reporting forums, part of the vBSEO Google/Yahoo Sitemap category; I've got a couple of forums I don't like being shown on the main forum page but I still have ...
I've got a couple of forums I don't like being shown on the main forum page but I still have publicly accesible by url, but they aren't getting listed on the sitemap.
Yes, Sitemap Generator is assuming that hidden forums should not be included into sitemap.
Please apply the following modification to get invisible forums too:
in vbseo_sitemap.php file FIND:
and REPLACE this with:cache_ordered_forums(1);
Let me know if it works correctly for youcache_ordered_forums(1,1);![]()
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
That didn't seem to do anything at all :(
PM sent
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
did you find a solution?
Yes, the solution is to do the modification of vbseo_sitemap_functions.php file
FIND:
REPLACE with:if (empty($iforumcache["$parentid"]))
{
return array();
}
$forumlist = array();
foreach ($iforumcache["$parentid"] AS $baa)
{
if(!is_array($baa))$baa=array($baa);
foreach ($baa AS $forumid)
This will be included in the next Sitemap Generator release as standard code.$forumlist = array();
$forums_scope = $parentid >0 ? $iforumcache["$parentid"] : $iforumcache;
if (empty($forums_scope))
{
return array();
}
foreach ($forums_scope AS $baa)
{
if(!is_array($baa))$baa=array($baa);
foreach ($baa AS $forumid)
if($forumid>0)
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!