• Resolved addix

    (@addix)


    Hello guys

    I have this plugin
    http://ww.wp.xz.cn/plugins/addi-simple-slider/

    It works great, but I have an issue that is pointed out from someone
    The upload image button that uses wp media uploader works only with administrator role, and other user roles of wordpress.

    How can i fix it. I have read I have to use manage_options. Am i in the right direction

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter addix

    (@addix)

    Hello guys, i fixed the issue of the upload image button, it was a crash with some other plugins, so i just renamed the functions.

    But for now i have another problem, i think it comes form the installation of a multi-site.

    It loads the images, but it cant save them. the slider works but there are no images. the piece of code that saves the images to the database is

    $gallery_images = (isset($_POST['gallery_img']) ? $_POST['gallery_img'] : '');
    $gallery_images = strip_tags(json_encode($gallery_images));
    update_post_meta($post_id, "_gallery_images", $gallery_images);

    are there any changes to be made to this code in order to work on a multi-site

    Thread Starter addix

    (@addix)

    well, finally i think i have found the problem.
    seems that the save_post hook isn’t getting called in wordpress 3.9

    do you have nay ideas guys

    Thread Starter addix

    (@addix)

    it’s allit was non of the problems above
    i have updated, and renamed some files in the plugin and for some reason, it kept pointing to the older versions that did not exist.

    it’s all ok now

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Simple Responsive Slider] user role problem’ is closed to new replies.