Results 1 to 4 of 4

Media Library Sitemap Generator Addon

This is a discussion on Media Library Sitemap Generator Addon within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Please create a php file named vbseo_sm_medialibrary.php with the following content or download the attached php file and upload it ...

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

    Media Library Sitemap Generator Addon

    Please create a php file named vbseo_sm_medialibrary.php with the following content or download the attached php file and upload it to vbseo_sitemap/addons/ folder.

    PHP Code:
    <?php 
        $mods 
    $db->query_read('SELECT mediaID,dateline FROM ' TABLE_PREFIX 'media'); 
        while (
    $mod $db->fetch_array($mods)) 
        {     
            
    $url $vbseo_vars['bburl'].'/media.php?do=details&mid='.$mod['mediaID'];

            if(
    VBSEO_ON
            
    $url vbseo_any_url($url); 
            
    vbseo_add_url($url'0.6'$mod['dateline'],'weekly'); 
        }
        
        
    $mods $db->query_read('SELECT tagID,tagText,dateline FROM ' TABLE_PREFIX 'media_tag'); 
        while (
    $mod $db->fetch_array($mods)) 
        {     
            
    $url $vbseo_vars['bburl'].'/media.php?do=tag&tid='.$mod['tagText'];

            if(
    VBSEO_ON
            
    $url vbseo_any_url($url); 
            
    vbseo_add_url($url'0.45'$mod['dateline'],'daily'); 
        } 
    ?>
    Go to vBulletin Admincp and look for vBSEO Google/Yahoo Sitemap Generator settings within Settings. Please add vbseo_sm_medialibrary.php to Addon Generator Modules section and save your settings. Within next Sitemap Generation media library urls will be included into sitemaps. Supported urls are : Tags - Songs

    CRR Rules :
    Media Library Rewrite Rules
    Attached Files
    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

  2. #2
    Senior Member
    Real Name
    Garry
    Join Date
    Jul 2009
    Posts
    156
    Liked
    0 times
    Many thanks for this Mert

  3. #3
    Junior Member ktyksz's Avatar
    Real Name
    Oktay
    Join Date
    Mar 2010
    Posts
    29
    Liked
    0 times
    Türkçesi yok heralde bunun

  4. #4
    Junior Member
    Real Name
    david
    Join Date
    Nov 2007
    Posts
    2
    Liked
    0 times
    very thanks

Similar Threads

  1. Media Library VBSEO uyumsuzluğu LTFN yardım
    By prAmid in forum Türkçe
    Replies: 12
    Last Post: 06-22-2010, 04:25 PM
  2. 8WayRun.Com - Media Library Hakkında
    By Eyewear in forum Türkçe
    Replies: 1
    Last Post: 05-27-2010, 03:25 PM
  3. Custom Rewrite Rules for Media Library
    By prithvionline in forum Custom Rewrite Rules
    Replies: 3
    Last Post: 05-25-2010, 03:04 AM
  4. Addon Generator Modules
    By webmastersitesi in forum General Discussion
    Replies: 1
    Last Post: 03-08-2008, 08:31 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
  •