Results 1 to 6 of 6

Alt Text in who´s online

This is a discussion on Alt Text in who´s online within the vBSEO Features Archive forums, part of the vBulletin Links & Resources category; I saw, that the alt-text (<img src= alt ="...") in the who´s online list (the question mark images) shows the ...

  1. #1
    Member
    Real Name
    XXXXXX
    Join Date
    Sep 2005
    Posts
    44
    Liked
    0 times

    Alt Text in who´s online

    I saw, that the alt-text (<img src= alt="...") in the who´s online list (the question mark images) shows the dynamic urls (showthread?t=1) and not the seo-urls.


    Greetings,

    shaochun

  2. #2
    Junior Member
    Join Date
    Nov 2005
    Posts
    15
    Liked
    0 times
    It's kind of ugly, but you could add this to the "online bit complete" hook:

    if(@include_once('./includes/functions_vbseo.php'))
    {
    $txt = "<a href=\"".$userinfo['location']."\"></a>";
    $txt = make_crawlable($txt);
    $userinfo[location] = substr($txt,9,$txt.length-6);
    }

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    shaochun,

    vBSEO is designed to rewrite href="" and src="" attributes, but not alt="" (which is rare to have URL inside), that's why some kind of workaround (similar to posted by scruby) is required.

  4. #4
    Junior Member
    Join Date
    Nov 2005
    Posts
    15
    Liked
    0 times
    Quote Originally Posted by scruby
    It's kind of ugly, but you could add this to the "online bit complete" hook:

    if(@include_once('./includes/functions_vbseo.php'))
    {
    $txt = "<a href=\"".$userinfo['location']."\"></a>";
    $txt = make_crawlable($txt);
    $userinfo[location] = substr($txt,9,$txt.length-6);
    }
    Of course, the only entry point that I know of is make_crawlable()
    somebody who works for crawlability could give a better plugin for this.

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    We'll look to implement this as default vBSEO behaviour in v2.3.3 as this is standard vB feature

  6. #6
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,266
    Liked
    585 times
    /* NOTE: This feature has been adopted and will be included in vBSEO 2.3.3*/


    * moved to Feature Requests *

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, 09:29 PM
  2. Alt text not showing/Title tags added?
    By Ace Shattock in forum Bug Reporting
    Replies: 8
    Last Post: 10-26-2005, 09:08 PM

Posting Permissions

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