• Resolved zyrq

    (@zyrq)


    Hi Cimy,

    Playing around with the latest version of your wonderful plugin (thanks!), I noticed double slashes in the file paths to images right after the user, like so:
    whatever/wp-content/Cimy_User_Extra_Fields/myuser//image1.jpg

    Allthough the image displays correctly it’s annoying to have double slashes in the url. I never noticed this in an older version I tested.

    If you check the code in cimy_user_extra_fields.php, around line 870
    // picture url to write in the DB
    There’s this code:
    $data .= $user_login.”/”.$type_path.”/”.$file_name;

    However, $type_path is only set for $type == “file” or $type == “avatar” and is empty for pictures, hence a double slash.

    Can you confirm this?

    I crossposted this to your site as there was a comment by snails on 27 november 2010 mentioning the same thing.

    https://www.ads-software.com/extend/plugins/cimy-user-extra-fields/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marco Cimmino

    (@cimmo)

    Hi, my name is Marco Cimmino not Cimy as you can see from my blog where you also posted.

    I’ll take a look in the week end, anyway the dobule slash is harmless.. really.

    Thread Starter zyrq

    (@zyrq)

    Thanks for lookin into this, Marco.

    I know your name is Marco Cimmino ever since I tried your plugin in … 2007, sorry, I had to write this in a hurry.

    Plugin Author Marco Cimmino

    (@cimmo)

    Fixed in v2.1.2 that will come soon.

    I noticed the images added to the rich text box on the author profiles using this plugin has added ../wp-content/ and thus doesnt find the images anymore. Is there a way I can force this to take the definitive image url instead of using ../ to try and find them relatively?

    Plugin Author Marco Cimmino

    (@cimmo)

    I noticed the images added to the rich text box on the author profiles using this plugin has added ../wp-content/ and thus doesnt find the images anymore. Is there a way I can force this to take the definitive image url instead of using ../ to try and find them relatively?

    I do not understand anything, but seems totally unrelated thing. Please open a different ticket with more details.

    Read the FAQ before that.
    Source code of what you are referring useful too.

    Hi Marco,

    Thanks for the response. I have raised a new ticket at the below link

    https://www.ads-software.com/support/topic/plugin-cimy-user-extra-fields-image-url-in-rich-editor?replies=1

    Thanks in advance for any advice or help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Cimy User Extra Fields] Possible bug in picture url’ is closed to new replies.