Events Made Easy Forums Bug fixed or feature request implemented Bug when using EVENTIMAGETHUMBURL

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44068
    Anonymous
    Inactive

    Hi Franky,

    Just noticed an error when using EVENTIMAGETHUMBURL placeholder.

    EVENTIMAGETHUMB works, but EVENTIMAGETHUMBURL is using %C3%97 (multiplication sign) instead of character ‘x’ in the image suffix.

    This is value from EVENTIMAGETHUMBURL

    http://plainandsimple.tv/wp-content/uploads/2013/09/balearic-90%C3%9770.jpg

    This is value from EVENTIMAGETHUMB

    http://plainandsimple.tv/wp-content/uploads/2013/09/balearic-90×70.jpg

    #50767
    Franky
    Keymaster

    This is weird: the code for both is exactly the same, I can’t image why the “x” would get replaced by the utf8 multiplication sign.

    #50768
    Franky
    Keymaster

    I found many people getting bitten by this: google for “wordpress x gets replaced by multiplication”.

    So I think, if it is not a link, but just text, wordpress messes around.

    Try this, in events-manager.php, around line 1207 (where #_EVENTIMAGETHUMBURL gets parsed), remove the lines that say:

    if ($target == "html") {
    $replacement = apply_filters('eme_general', $replacement);
    } elseif ($target == "rss") {
    $replacement = apply_filters('eme_general_rss', $replacement);
    } else {
    $replacement = apply_filters('eme_text', $replacement);
    }

    If it works, I’ll remove these for other URL placeholders too

    #50769
    Anonymous
    Inactive

    To be honest, I just used the other placeholder as it worked for what I was trying to do.

    I’m flying in a few hours but will try it in a few days.

    BTW – I’m really happy with how I’ve got it looking now after this new addition:

    http://plainandsimple.tv/club-listings/

    I’d love to see a showcase forum on here so that we can see how other people are using it?

    #50770
    Franky
    Keymaster

    Forum has been created.

    #50771
    Anonymous
    Inactive

    Just got round to trying this and it fixed the problem.

    Please confirm if it will be changed or shall I revert back to using EVENTIMAGETHUMB

    Thanks

    #50772
    Franky
    Keymaster

    It is already in trunk.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top