test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Martin Barry Friend
    #182214

    Hello Support,

    after upgrading the pluging with the last version i was able to correct the issue of the latin characters in titles.
    Now everything it is working almost perfect feeding social from main networks.
    The only error that i have , but not minor, is on the facebook inside links generaly with tiny url.
    What happens in all cases is that the plugin ads a line of code on the correct link

    here it is an example in this link

    http://tigre.tv/index.php/facebook/18007-facebook-id-dc13c1dae8eb2b17b7c52b1f95045c52

    you will see inside that the source link is correct, BUT in the picture link and text below the system adds something like this
    http://youtu.be/tQjEC8hJsVg&h=5AQFenrxn&s=1
    when this &h=5AQFenrxn&s=1 at the end is wrong and real link should be http://youtu.be/tQjEC8hJsVg

    thanks in advance because this is very important for my project. this only happens with facebook. i have other sites and all happens the same.

    regards
    martin

    Luna Garden Moderator
    #472894

    <em>@websla 346070 wrote:</em><blockquote>Hello Support,

    after upgrading the pluging with the last version i was able to correct the issue of the latin characters in titles.
    Now everything it is working almost perfect feeding social from main networks.
    The only error that i have , but not minor, is on the facebook inside links generaly with tiny url.
    What happens in all cases is that the plugin ads a line of code on the correct link

    here it is an example in this link

    http://tigre.tv/index.php/facebook/18007-facebook-id-dc13c1dae8eb2b17b7c52b1f95045c52

    you will see inside that the source link is correct, BUT in the picture link and text below the system adds something like this
    http://youtu.be/tQjEC8hJsVg&h=5AQFenrxn&s=1
    when this &h=5AQFenrxn&s=1 at the end is wrong and real link should be http://youtu.be/tQjEC8hJsVg

    thanks in advance because this is very important for my project. this only happens with facebook. i have other sites and all happens the same.

    regards
    martin</blockquote>

    Hi Martin,
    I get your problem. I will send this to the dev to check and will answer you soon when we get the solution.

    Luna Garden Moderator
    #472958

    Hi Martin,
    This is a bug of JA Social Plugin, we have created an issue on JIRA: http://pm.joomlart.com/browse/JAECPLGSOCIALFEED-51
    You can follow the status with above link.
    Our dev is working on it, and will reply you when it is fixed.

    Martin Barry Friend
    #473266

    I will be checking for upgrades.
    Regards
    Martin

    Luna Garden Moderator
    #473337

    <em>@websla 346697 wrote:</em><blockquote>I will be checking for upgrades.
    Regards
    Martin</blockquote>
    Thanks for your patience, our developers have fixed this bug, here is the solution:
    Open this file:

    plugins/system/jasocial_feed/jasocial_feed.php
    Find these lines:

    $pattern = '/href="/l.php?u=(http[^'"]+)/i';
    $tcontent = preg_replace_callback($pattern,
    create_function(
    '$matches',
    'return "href="".rawurldecode($matches[1]);'
    ),
    $tcontent
    );

    change to:

    $pattern = '/href="/l.php?u=(http[^'"&]+)[^'"]*"/i';
    $tcontent = preg_replace_callback($pattern,
    create_function(
    '$matches',
    'return "href="".rawurldecode($matches[1]).""";'
    ),
    $tcontent
    );

    Hope this helps.

    Martin Barry Friend
    #473526

    Great job friends, now Social feed it is working perfect. Bug has been resolved
    thanks
    martin

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  Martin Barry 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum