Results 1 to 5 of 5

vBGallery and vBa CMPS

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

  1. #1
    wii
    wii is offline
    Member
    Real Name
    wii
    Join Date
    Apr 2008
    Posts
    31
    Liked
    0 times

    Question vBGallery and vBa CMPS

    How do I make sure vBGallery and vBa CMPS are added to the vBSEO Sitemap ?

    Thanks

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    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

  3. #3
    wii
    wii is offline
    Member
    Real Name
    wii
    Join Date
    Apr 2008
    Posts
    31
    Liked
    0 times
    Where do I find those addons ?

  4. #4
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,627
    Liked
    3 times
    Blog Entries
    1
    You can find it here (just make a search) and also there is some add-ons in vbulletin.org forum

  5. #5
    Member Zachariah's Avatar
    Real Name
    Zachariah
    Join Date
    May 2007
    Location
    Canoga Park, CA
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by tiger
    Hey Zach, where do we add that code exactly?
    /vbseo_sitemap/addons/vbseo_sm_vbagallery.php


    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


    PHP 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');
            }
        }
    ?>
    Don't forget to fill out : website address in the code
    $gallery_url = 'http://www.website.com/gallery';
    Last edited by Zachariah; 10-27-2009 at 11:56 AM.

Similar Threads

  1. PhotoPost Pro - vBGallery??
    By Jibber in forum Off-Topic & Chit Chat
    Replies: 8
    Last Post: 11-26-2007, 11:36 AM
  2. vBGallery
    By Steve in forum Custom Rewrite Rules
    Replies: 6
    Last Post: 05-07-2007, 04:45 PM
  3. vBGallery Rewrite
    By Snake in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 10-21-2006, 02:16 PM
  4. Advancements with vbGallery?
    By theChronic in forum General Discussion
    Replies: 1
    Last Post: 07-01-2006, 08:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •