Page 2 of 2 FirstFirst 1 2
Results 16 to 29 of 29

vBadvanced Dynamics for sitemap inclusion

This is a discussion on vBadvanced Dynamics for sitemap inclusion within the Sitemap Features Archive forums, part of the vBulletin Links & Resources category; If you want to ask a question to Brian i advise you to use vbadvanced.com forums....

  1. #16
    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
    If you want to ask a question to Brian i advise you to use vbadvanced.com forums.
    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. #17
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times

    Smile Dynamics vBSEO Sitemap addon - released.

    Hi there everyone,

    We have completed this as an addon to vBSEO.

    What this addon does: it adds the Dynamics URLs for all categories and articles in the system to the vBSEO Sitemap [after the forums URLs].

    The URLs used are preserved as the ones from Dynamics [SEO friendly].

    Default weight is 1.0 for categories and 0.5 for articles. Default frequency is daily for categories and weekly for articles.

    vBSEO staff - feel free to add it to your addons list.. it might help lots of other people!

    Original thread post:

    vBSEO Sitemap Addon - vBadvanced Forums

    The vBSEO Sitemap addon for Dynamics is attached.


    Cheers,
    aproape

    P.S. Thanks for deathemperor for the initial sharing of his code which we adapted to use the Dynamics SEO URLs.
    Attached Files

  3. #18
    Senior Member
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times
    Thanks, do you know how to use this with multiple instances?

  4. #19
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times
    Hi there Arkidas,

    Quote Originally Posted by Arkidas View Post
    Thanks, do you know how to use this with multiple instances?
    If I am not mistaken, 2nd and 3rd [and so on] instances of Dynamics use different tables for entries/replies/etc.

    All you have to do is duplicate the lines in the sitemap file [pretty much everything after vba_dyna_url = line] and change the table names from adv_dyna_categories and adv_dyna_entries to your 2nd and/or 3rd table names..

    You need to duplicate again those lines for each instance of Dynamics.

    Let me know if you need more help.


    Cheers,
    aproape

  5. #20
    Senior Member
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times
    Just did that and it doesn't seem to be enough.
    My sitemap is here.

    PHP Code:
    <?php 
    /******************************/ 
    //Dynamics vBSEO Sitemap Addon v1.0 
    // Copyright aproape/Maribal Inc. 15 Sep 2008 
    // Replace the URL below with your vBa Dynamics main folder URL 
     
        
    require_once('includes/vba_dyna_functions.php'); 
         
        if(
    VBSEO_ON
        { 
            
    $vba_options['dyna_spiderurls'] = true
        } 
         
        
    $vba_dyna_url 'http://malesopranos.com/CDs'
     
         
        
    //adding the categories to the sitemap 
        
    $cats $db->query_read("SELECT * FROM " TABLE_PREFIX "adv_dyna_categories"); 
        while (
    $cat $db->fetch_array($cats)) 
        { 
            
    $url fetch_cat_url($cat['catid']); 
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url1.0$cat['lastupdated'], 'daily'); 
        } 
     
     
        
    //adding the articles/entries to the sitemap 
        
    $entries $db->query_read("SELECT * FROM " TABLE_PREFIX "adv_dyna_entries WHERE open > 0"); 
        while (
    $entry $db->fetch_array($entries)) 
        { 
            
    $url fetch_entry_url($entry); 
     
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url0.5$entry['lastupdated'] ? $entry['lastupdated'] : $entry['dateline'], 'weekly'); 
        }


        
    //adding the categories to the sitemap 
        
    $cats $db->query_read("SELECT * FROM " TABLE_PREFIX "article__categories"); 
        while (
    $cat $db->fetch_array($cats)) 
        { 
            
    $url fetch_cat_url($cat['catid']); 
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url1.0$cat['lastupdated'], 'daily'); 
        } 
     
     
        
    //adding the articles/entries to the sitemap 
        
    $entries $db->query_read("SELECT * FROM " TABLE_PREFIX "article__entries WHERE open > 0"); 
        while (
    $entry $db->fetch_array($entries)) 
        { 
            
    $url fetch_entry_url($entry); 
     
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url0.5$entry['lastupdated'] ? $entry['lastupdated'] : $entry['dateline'], 'weekly'); 
        } 
     
     
    ?>

  6. #21
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times
    Hi there Arkidas,

    What exactly is that you don't see? I took a look at your sitemap and I don't see any errors in it..


    Cheers,
    aproape

  7. #22
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times
    One more detail on the modified code you posted - I see that article__categories table name has double underscore - is that correct?


    Cheers,
    aproape

  8. #23
    Senior Member
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times
    Yes it's correct. There's no error but the second instance's URLs aren't in the sitemap. The first instance is /CDs ( which is there ) and the second is /articles and that one doesn't appear in the sitemap's URL list.

    EDIT: Never mind, I see that /articles IS in http://malesopranos.com/sitemap_1.xml.gz although I didn't see it in the urlslist file.

  9. #24
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times
    Hi there Arkidas,

    Glad it works ;-)


    Cheers,
    aproape


    Quote Originally Posted by Arkidas View Post
    Yes it's correct. There's no error but the second instance's URLs aren't in the sitemap. The first instance is /CDs ( which is there ) and the second is /articles and that one doesn't appear in the sitemap's URL list.

    EDIT: Never mind, I see that /articles IS in http://malesopranos.com/sitemap_1.xml.gz although I didn't see it in the urlslist file.

  10. #25
    Senior Member
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times
    I just noticed a very bad problem. For some reason, a part each vBDynamics URLs is missing in the sitemap ( the category name ).

    Example: In site map this URL -
    http://malesopranos.com/CDs/radu-mar...dellaurora-21/

    Becomes:
    http://malesopranos.com/CDs/tomaso-a...dellaurora-21/

    And is therefore broken :(. I've disabled the addon until this has been fixed.
    PHP Code:
    <?php 
    /******************************/ 
    //Dynamics vBSEO Sitemap Addon v1.0 
    // Copyright aproape/Maribal Inc. 15 Sep 2008 
    // Replace the URL below with your vBa Dynamics main folder URL 
     
        
    require_once('includes/vba_dyna_functions.php'); 
         
        if(
    VBSEO_ON
        { 
            
    $vba_options['dyna_spiderurls'] = true
        } 
         
        
    $vba_dyna_url 'http://malesopranos.com/CDs';
        
    $vba_article_url 'http://malesopranos.com/articles'
     
         
        
    //adding the categories to the sitemap 
        
    $cats $db->query_read("SELECT * FROM " TABLE_PREFIX "adv_dyna_categories"); 
        while (
    $cat $db->fetch_array($cats)) 
        { 
            
    $url fetch_cat_url($cat['catid']); 
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url1.0$cat['lastupdated'], 'daily'); 
        } 
     
     
        
    //adding the articles/entries to the sitemap 
        
    $entries $db->query_read("SELECT * FROM " TABLE_PREFIX "adv_dyna_entries WHERE open > 0"); 
        while (
    $entry $db->fetch_array($entries)) 
        { 
            
    $url fetch_entry_url($entry); 
     
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_dyna_url $url
     
              
    vbseo_add_url($url0.5$entry['lastupdated'] ? $entry['lastupdated'] : $entry['dateline'], 'weekly'); 
        }


        
    //adding the categories to the sitemap 
        
    $cats $db->query_read("SELECT * FROM " TABLE_PREFIX "article__categories"); 
        while (
    $cat $db->fetch_array($cats)) 
        { 
            
    $url fetch_cat_url($cat['catid']); 
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_article_url $url
     
              
    vbseo_add_url($url1.0$cat['lastupdated'], 'daily'); 
        } 
     
     
        
    //adding the articles/entries to the sitemap 
        
    $entries $db->query_read("SELECT * FROM " TABLE_PREFIX "article__entries WHERE open > 0"); 
        while (
    $entry $db->fetch_array($entries)) 
        { 
            
    $url fetch_entry_url($entry); 
     
            
    /*if(VBSEO_ON) 
                $url = vbseo_any_url($url);*/ 
     
            
    $url $vba_article_url $url
     
              
    vbseo_add_url($url0.5$entry['lastupdated'] ? $entry['lastupdated'] : $entry['dateline'], 'weekly'); 
        } 
     
     
    ?>

  11. #26
    Junior Member
    Real Name
    aproape
    Join Date
    Jan 2008
    Posts
    13
    Liked
    0 times
    Hi there Arkidas,

    Are you sure your URLs are:

    http://malesopranos.com/CDs/tomaso-a...dellaurora-21/

    OR

    http://malesopranos.com/CDs//tomaso-a...dellaurora-21/ ??

    Also, are you using the CMPS module for Dynamics -> CMPS Module - New/Random Entries (updated for v1.0.0) - vBadvanced Forums

    If you are - make sure it is the _latest_ version [re-download and re-install - Brian doesn't update the version numbers.. so you need to do it again even if the version numbers match].

    Also, see this thread for more information:

    vBSEO Sitemap Addon - vBadvanced Forums

    There is a bug with one of the plugins in Dynamics - nothing much we can do except work-around it..


    Cheers,
    aproape

  12. #27
    Senior Member
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times
    Sorry, vBulletin messed the URLs here.

    No, I don't use CMPS ( although I have it installed ).

    I don't have a double slash problem because as you can see, I figured myself that not having a slash after 'CDs' and 'articles' would take care of it. My problem is the following:

    Correct URL format is ( obviously replace hxxp with http ):

    hxxp://malesopranos.com/CDs/radu-marian-4/tomaso-albinoni-il-nascimento-dellaurora-21/


    But sitemap shows URLs in the following format which is invalid because category is missing ( in this case it's /radu-marian-4/ ):

    hxxp://malesopranos.com/CDs/tomaso-albinoni-il-nascimento-dellaurora-21/

    I also have that problem where there are many /CDs/ in the sitemap instead of one for each category. Not sure if it's the same with the second instance URLs ( /article/ ).

    How did you fix this for larina?
    Last edited by Arkidas; 09-27-2008 at 09:46 PM.

  13. #28
    Junior Member
    Real Name
    poreddu
    Join Date
    Jul 2009
    Posts
    6
    Liked
    0 times
    [addon module] vbseo_sm_dynamics.php [7,263.8Kb mem used] [0s (+0s)]

    Fatal error: Call to undefined function fetch_cat_url() in /home/poreddun/public_html/forum/vbseo_sitemap/addons/vbseo_sm_dynamics.php on line 21


    why..??

  14. #29
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Do you have dynamics installed? If not remove it from your addons field in the sitemap options.
    The Forum Hosting - Forum Hosting from the Forum Experts

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. vBseo and vbadvanced?
    By krispy1812 in forum Pre-Sales Questions
    Replies: 8
    Last Post: 06-14-2008, 07:48 PM
  2. Does vBseo also work with vBadvanced and vBadvanced links directory?
    By ChrisGuthrie.net in forum General Discussion
    Replies: 30
    Last Post: 05-16-2007, 01:15 AM
  3. VBAdvanced Navbar links NOT SEO friendly
    By DodgeBoard.com in forum URL Rewrite Settings
    Replies: 1
    Last Post: 10-04-2006, 06:34 PM
  4. Vbadvanced need some help
    By mototips in forum Off-Topic & Chit Chat
    Replies: 12
    Last Post: 08-18-2006, 07:26 AM
  5. How does this work with vBadvanced?
    By john in forum General Discussion
    Replies: 13
    Last Post: 05-01-2006, 09:34 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
  •