Skip to:
Content
Pages
Categories
Search
Top
Bottom

Img issue in member’s activity entry

  • @wattaman

    Participant

    Using the latest Wp, Bpress etc etc. here’s the issue:
    – in the member’s activity page the images have, sometimes, an extra `” ` at the end of the src value – this will not load/create the thumbnail for the image, of course, since the result image will be a 404 error.
    I mention that is nothing wrong with the article itself (I’m talking about the blog’s articles that also appear in the member’s activity page) the image displays properly, without the extra ” and that also doesn’t happen for all the sources I’m using; I also mention that I use feedwordpress to publish news from Yahoo pipes.
    Here’s a feed example: http://pipes.yahoo.com/pipes/pipe.run?_id=1f8ef87a7f88bc404f4ad7bbef6c180f&_render=rss
    … and a member’s activity example: http://atat.ro/membri/Daniel%20George/

Viewing 1 replies (of 1 total)
  • @wattaman

    Participant

    OK, I think I got it but it would still be nice if someone can confirm this.
    In the plugins/buddypress/bp-activity/bp-activity-functions.php I have replaced “$src = substr( substr( str_replace( ‘src=’, ”, $src[1] ), 0, -1 ), 1 );” with “$src = substr( substr( str_replace( ‘src=’, ”, $src[1] ), 0, -1 ), 1 );
    $src = str_replace(‘”‘, ”, $src);” … basically I have inserted this $src = str_replace(‘”‘, ”, $src); to remove the ” from the $src

Viewing 1 replies (of 1 total)
  • The topic ‘Img issue in member’s activity entry’ is closed to new replies.
Skip to toolbar