Page 3 of 3 FirstFirst 1 2 3
Results 31 to 39 of 39

Subdreamer and VBSEO

This is a discussion on Subdreamer and VBSEO within the General Discussion forums, part of the vBSEO SEO Plugin category; Look at that...what good people we have here!...

  1. #31
    Senior Member
    Real Name
    Chris
    Join Date
    Aug 2005
    Location
    North Carolina
    Posts
    358
    Liked
    9 times
    Look at that...what good people we have here!

  2. #32
    Junior Member
    Real Name
    Troy McDonald
    Join Date
    Jun 2006
    Posts
    15
    Liked
    0 times
    I just wanna know at the end of the day.

    Are they a good match?

    Troy

  3. #33
    Member kushal's Avatar
    Real Name
    Kushal
    Join Date
    Sep 2006
    Location
    India
    Posts
    33
    Liked
    0 times
    Blog Entries
    1
    Looks good and working fine! Great work. Thanks

  4. #34
    Senior Member
    Real Name
    Ged
    Join Date
    Dec 2006
    Location
    UK
    Posts
    438
    Liked
    0 times
    Latest posts works for me on 3.6.4

    Any ideas on how we can rewrite all the other ugly url's?

  5. #35
    Member kushal's Avatar
    Real Name
    Kushal
    Join Date
    Sep 2006
    Location
    India
    Posts
    33
    Liked
    0 times
    Blog Entries
    1
    I had posted the version for 'Random post' to suit the VBSEO URL Here:
    SEO for VB-VBSEO Forums for latest post and Random Posts - Subdreamer.org

  6. #36
    Junior Member Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    24
    Liked
    0 times

    Question

    Quote Originally Posted by Oleg Ignatiuk View Post
    Ok, solution that worked in this case is as following:
    1. open plugins/p8_latest_posts/latestposts.php file...
    Oleg, can you help me with this file?
    This is probably new version von latestposts.php.
    What should I replace?
    Attached Files

  7. #37
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    The modification is similar, just small code changes:
    1. find:
    PHP Code:
        if($vb36)
        {
          
    $res = ($getthreads $DB->query('SELECT title, threadid, lastposter, lastpostid, lastpost, forumid 
    ADD ABOVE:
    PHP Code:
        global $forumcache;
        
    $forumcache = array();
        
    $getforums $DB->query("SELECT * FROM ".$tableprefix."forum");
        while(
    $_f $DB->fetch_array($getforums))
        {
            
    $forumcache[$_f['forumid']] = $_f;
        }

        include_once(
    $GLOBALS['rootpath'].$usersystem['folderpath'].'includes/functions_vbseo.php');
        
    vbseo_startup(); 
    2. find:
    PHP Code:
              echo '
              <tr> ' 
    p8_PrintAvatar($printavatar, -1$thread['lastposter'], $settings) . '
                <a href="' 
    $sdurl $forumpath 'showthread.php?';
              if(
    $vb36)
              {
                echo 
    'p=' $thread['lastpostid'] . '#post' $thread['lastpostid'] . '">' $thread['title'] . '</a>';
              }
              else
              {
                echo 
    'threadid=' $thread['threadid'] . '&goto=lastpost">' $thread['title'] . '</a>';
              } 
    REPLACE WITH:
    PHP Code:
              echo '
              <tr> ' 
    p8_PrintAvatar($printavatar, -1$thread['lastposter'], $settings) . '
                <a href="' 
    $sdurl $forumpath .vbseo_thread_url_row_spec$threadVBSEO_URL_THREAD_NEWPOST ) .'">' $thread['title'] . '</a>'
    Last edited by Oleg Ignatiuk; 03-12-2009 at 07:20 AM.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #38
    Junior Member Romchik®'s Avatar
    Real Name
    Roman
    Join Date
    Sep 2008
    Location
    Europe
    Posts
    24
    Liked
    0 times

    Thumbs up

    Thank you, Oleg, it's works, but with small fix. I have added this code:
    PHP Code:
    '">' $thread['title'] . 
    Full code for last replace:
    PHP Code:
              echo '
              <tr> ' 
    p8_PrintAvatar($printavatar, -1$thread['lastposter'], $settings) . '
                <a href="' 
    $sdurl $forumpath .vbseo_thread_url_row_spec$threadVBSEO_URL_THREAD_NEWPOST ) . '">' $thread['title'] . '</a>'

  9. #39
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great! Updated the code above.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Page 3 of 3 FirstFirst 1 2 3

LinkBacks (?)


Tags for this Thread

Posting Permissions

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