vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Doesn't list hidden forums?

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 ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Bug Reporting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-11-2005, 05:39 PM
ADM's Avatar
ADM ADM is offline
Senior Member
 
Real Name: Peter Papadopoulos
Join Date: Aug 2005
Location: Perth, Australia
Posts: 254
Doesn't list hidden forums?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-11-2005, 11:03 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
Re: Doesn't list hidden forums?

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:
Quote:
cache_ordered_forums(1);
and REPLACE this with:
Quote:
cache_ordered_forums(1,1);
Let me know if it works correctly for you
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-12-2005, 01:57 AM
ADM's Avatar
ADM ADM is offline
Senior Member
 
Real Name: Peter Papadopoulos
Join Date: Aug 2005
Location: Perth, Australia
Posts: 254
Re: Doesn't list hidden forums?

That didn't seem to do anything at all :(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 12-12-2005, 11:15 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
Re: Doesn't list hidden forums?

PM sent
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 12-12-2005, 07:59 PM
Member
 
Real Name: Michael
Join Date: Oct 2005
Location: Düren, Germany
Posts: 54
Send a message via ICQ to porschinho
Re: Doesn't list hidden forums?

did you find a solution?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 12-12-2005, 08:04 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,450
Blog Entries: 1
Re: Doesn't list hidden forums?

Yes, the solution is to do the modification of vbseo_sitemap_functions.php file

FIND:
Quote:
if (empty($iforumcache["$parentid"]))
{
return array();
}

$forumlist = array();
foreach ($iforumcache["$parentid"] AS $baa)
{
if(!is_array($baa))$baa=array($baa);

foreach ($baa AS $forumid)
REPLACE with:
Quote:
$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)
This will be included in the next Sitemap Generator release as standard code.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:18 PM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.