• Resolved graftedin

    (@graftedin)


    Your plugin like all WordPress seems to think that absolute urls is better than relative. The problem is when you switch a site from development (dev.mysite.com) to production (www.mysite.com) any url that doesn’t update needs to be manually updated. Your plugin seems to cache these urls some where because I have updated everything in the database MANUALLY and I still have the old url being used.

    https://www.ads-software.com/plugins/ultimate-responsive-image-slider/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter graftedin

    (@graftedin)

    It looks like the data for each slide is stored in postmeta as ris_all_photos_details and….ITS ENCRYPTED. That means there is no way to change urls with this plugin. I won’t be using this one again.

    Thread Starter graftedin

    (@graftedin)

    Here’s the fix.

    Update lines 279 to 281 in the ris_generate_add_image_meta_box_function function in ultimate-responsive-image-slider.php.

    $url = str_replace(“old_url”, “new_url”, $WRIS_SinglePhotoDetails[‘rpgp_image_url’]);
    $url1 = str_replace(“old_url”, “new_url”, $WRIS_SinglePhotoDetails[‘rpggallery_admin_thumb’]);
    $url3 = str_replace(“old_url”, “new_url”, $WRIS_SinglePhotoDetails[‘rpggallery_admin_large’]);

    Load your slide shows in the dashboard, images should show now, click update, and now test on your site. If everything works change those lines back and then you are back to the original code.

    Hello graftedin,

    If you want to WordPress url then than process you will need only when you are going to import the slides from one website to another.

    We have added import/export setting in plugin.(using wordpress importer)

    When you will going to change image url there we have add a button for it.

    Check screenshot.

    So click on this button and then change your slides image url.

    This button only work if you want to change your export image url.

    Thanks

    Thread Starter graftedin

    (@graftedin)

    I don’t understand everything you are saying….. There isn’t a help and support link in the version of the plugin I have. Its not that old but maybe you added it in the last couple of weeks.

    My suggestion…. Stop encrypting the data. That’s not necessary.

    Hi graftedin,

    We are sorry. Our plugin not working for you.

    Thanks

    Okay so this seems the only way I can fix it. Why you are encrypting urls is beyond me as it makes this plugin pretty much dead in the water for any serious developer.

    I tried adding

    $url = str_replace("old_url", "new_url", $WRIS_SinglePhotoDetails['rpgp_image_url']);
    $url1 = str_replace("old_url", "new_url", $WRIS_SinglePhotoDetails['rpggallery_admin_thumb']);
    $url3 = str_replace("old_url", "new_url", $WRIS_SinglePhotoDetails['rpggallery_admin_large']);

    I also tried adding it replacing old_url and new_url with the two urls, neither work. I need assistance with this or some better instructions.

    Or how about you stop encrypting urls so a standard search and replace can be performed on the whole database (Which needs to be done every time a site moves from staging to live anyway).

    or why don’t you make a “Migration Settings” area and then have two input fields

    (OLD URL) – please enter your old or staging url here.

    (NEW URL) – Please enter your new live domain URL here.

    Submit button.

    Then once submitted you can make that look for and replace all encrypted data.

    You built a brilliant looking plugin but behind the scenes it is pretty poor.

    Okay the latter code approach worked, however I had to manually update 112 different galleries to fix this. What a waste of time. Please stop releasing plugins if you can’t complete them first.

    Hello one3rdnerd
    we are sorry for the inconvenience, and the ‘Help and Support‘ option is provided in the updated versions of the plugin.
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress URL Doesn't Update’ is closed to new replies.