Page 9 of 17 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 LastLast
Results 121 to 135 of 242

vBSEO Functions for Extensibility

This is a discussion on vBSEO Functions for Extensibility within the General Discussion forums, part of the vBSEO SEO Plugin category; You are welcome...

  1. #121
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You are welcome
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  2. #122
    Junior Member Tefra's Avatar
    Real Name
    Chris T.
    Join Date
    Jan 2006
    Posts
    25
    Liked
    0 times
    is there any way to generate the "Display Social Bookmarking Icons" ?

    In my site's main page i grab the news from the forums, i want to include the "Social Bookmarking Icons" In every news post

    Take a look you will understand what i mean 3D Accelerator
    3D Accelerator www.3dacc.net
    Maximize your computer performance experience

  3. #123
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Currently social bookmarking icons are only available on showthread pages.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #124
    Junior Member Tefra's Avatar
    Real Name
    Chris T.
    Join Date
    Jan 2006
    Posts
    25
    Liked
    0 times
    Thanks for your reply.

    The "currently" gives me some hopes it will be included in the future.
    3D Accelerator www.3dacc.net
    Maximize your computer performance experience

  5. #125
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    14 times
    What's wrong with this code?

    PHP Code:
    include_once MY_DIR '/includes/functions_vbseo.php';

    vbseo_startup();

    echo 
    vbseo_any_url("http://www.wirelessforums.org/showthread.php?t=22520"); 
    Just writes out http://www.wirelessforums.org/showthread.php?t=22520

  6. #126
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    This function works only in the case if thread info exists in the cache (when thread URL with that ID was used earlier) or for the URLs created by Custom Rewrite Rules. Normally thread URLs should be created with vbseo_thread_url_row() function.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #127
    Senior Member °°Ben³'s Avatar
    Real Name
    Benjamin Klaile
    Join Date
    Jan 2006
    Location
    Remagen, Germany
    Posts
    113
    Liked
    0 times
    Hi,
    I read all pages of this thread and read the issues concerning vbseo_thread_url_row_spec, too.
    But it does not want to work for me

    my source code ...
    PHP Code:
        public function loadLastThreads($countThreads) {

            if(!
    $this->intValidator->isValid($countThreads)) {
                return 
    false;
            }

            
    $sql "SELECT title, threadid, lastpostid
                      FROM
                          " 
    $this->config->db_forums->prefix "thread
                      WHERE 1
                          AND open = 1
                          AND visible = 1
                          AND forumid IN(" 
    $this->config->lastForumThreads->forumIDs ")
                      ORDER BY lastpost DESC
                      LIMIT 0, " 
    $countThreads;

            
    $tmpLastThreads $this->db->fetchAll($sql);

            
    /*
             * If the vBSEO functions are avaiable the URL is generated by the respective function, else it is done within a view script.
             */
            
    foreach($tmpLastThreads as $key => $thread) {

                if(
    function_exists('vbseo_thread_url_row_spec')) {
                    
    $threadUrlInfo = array(
                        
    'threadid' => $thread['threadid'],
                        
    'title'    => $thread['title']
                    );

                    
    $this->lastThreads[$key]['url'] = vbseo_thread_url_row_spec($threadUrlInfo 'last');

                    
    # debug output and exit the script
                    
    echo 'the generated vBSEO URL ';
                    
    Zend_Debug::dump($this->lastThreads[$key]['url']);
                    exit();
                }
                else {
                    
    $this->lastThreads[$key] = $thread;
                }
            }

            unset(
    $tmpLastThreads);
        } 
    The output is
    Code:
    the generated vBSEO URL
    
    string(0) ""
    Yeah!

    I surely include the function and call the vbseo_startup() function.
    PHP Code:
    /*
     * include vBSEO functionality
     */
    include DG_ROOT_DIR '/public/forums/includes/functions_vbseo.php';
    vbseo_startup(); 

    So, do I use the function in a wrong way?
    My URLs have the following structure /forums/{threadid},{title}
    so I do not have to pass more data than threadid and thread title .. ?!

    I really thank you! It's 6.27 in the morning .. and I'm tired

    Regards, Ben.

  8. #128
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you should also include forumid in the thread array.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #129
    Senior Member °°Ben³'s Avatar
    Real Name
    Benjamin Klaile
    Join Date
    Jan 2006
    Location
    Remagen, Germany
    Posts
    113
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    you should also include forumid in the thread array.
    Great! Works!

    Is there are documentation avaiable what parameters have to pass to the "external functions" to get them work properly?

    Thanks!

  10. #130
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    The array parameter is provided to the thread_url function only, other functions have fixed parameters.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #131
    Senior Member °°Ben³'s Avatar
    Real Name
    Benjamin Klaile
    Join Date
    Jan 2006
    Location
    Remagen, Germany
    Posts
    113
    Liked
    0 times
    Ah, I see. Issue solved.

  12. #132
    Senior Member acers's Avatar
    Real Name
    Ajay
    Join Date
    Jul 2005
    Location
    India
    Posts
    508
    Liked
    0 times
    Oleg, is there a function for reverse lookup?
    I have the vbseo generated forum url(or thread url) but specifically forum which will not have the forumid, and i want to get the forumid from that url? How to go about it?

  13. #133
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Currently there are no externally accessible functions for that.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  14. #134
    Junior Member
    Real Name
    Andreas
    Join Date
    Jul 2007
    Posts
    27
    Liked
    0 times
    How can I check if vBSEO is installed (apart from checking if the include-file exists, as I do not want to do that)?

    I assume it is a vBulletin pruduct, but what is the product id?

  15. #135
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    The product id is: crawlability_vbseo

Page 9 of 17 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 LastLast

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-09-2005, 12:00 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
  •