How do I make sure vBGallery and vBa CMPS are added to the vBSEO Sitemap ?
Thanks
This is a discussion on vBGallery and vBa CMPS within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; How do I make sure vBGallery and vBa CMPS are added to the vBSEO Sitemap ? Thanks...
How do I make sure vBGallery and vBa CMPS are added to the vBSEO Sitemap ?
Thanks
Hello ,
You need to use released addons for those and include addon files within vBSEO Sitemap Generator addon settings.
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
Where do I find those addons ?
You can find it here (just make a search) and also there is some add-ons in vbulletin.org forum
/vbseo_sitemap/addons/vbseo_sm_vbagallery.phpOriginally Posted by tiger
Tested on vbseo 3.20, VB 3.8x, VBG 2.4.3
This is my file I changed it up a bit:
- Link to normal image
- Link if large image
Don't forget to fill out : website address in the codePHP Code:<?php
# vbSEO Google Sitemap Generator - PhotoPost vbGallery Add On.
# Written by Lizard King (http://www.ayyas.com)
# Full HTTP path to your gallery root (without trailing forwardslash ex: 'http://www.ayyas.com/galeri'; )
$gallery_url = 'http://www.website.com/gallery';
$mods = $db->query("SELECT catid,title,lastimagedateline FROM " . TABLE_PREFIX . "ppgal_categories ORDER BY `displayorder`");
while ($mod = $db->fetch_array($mods))
{
$url = $gallery_url.'/browseimages.php?c='.$mod['catid'];
if(VBSEO_ON)
$url = vbseo_any_url($url);
vbseo_add_url($url, '0.3', $mod['lastimagedateline'], 'daily');
}
$mods = $db->query_read('SELECT imageid,dateline,originalname FROM ' . TABLE_PREFIX . 'ppgal_images');
while ($mod = $db->fetch_array($mods))
{
$url = $gallery_url.'/showimage.php?i='.$mod['imageid'];
if(VBSEO_ON)
$url = vbseo_any_url($url);
vbseo_add_url($url, '0.4', $mod['dateline'],'daily');
if ($mod['originalname']){
$url = $gallery_url.'/showimage.php?i='.$mod['imageid'].'&original=1';
if(VBSEO_ON)
$url = vbseo_any_url($url);
vbseo_add_url($url, '0.4', $mod['dateline'],'daily');
}
}
?>
$gallery_url = 'http://www.website.com/gallery';
Last edited by Zachariah; 10-27-2009 at 11:56 AM.