• Resolved JnHkstr

    (@jnhkstr)


    Hello,

    I try to protect a portion of a page where people with the right password are able to upload images to a specific nextgen gallery. (to be used for a photoclub where members should be able to upload picture in a specific gallery without needing a WordPress username etc.

    Not sure what shortcode I need, but I tried several ones. It seems to work, but there seems to be a conflict with the nextgen upload plugin. May it is just a specific shortcode setting I need, but I am a beginner with WP.

    Draft test page I have set up now , first shows a specific nextgen gallery and after that the upload plugin related to that gallery in a protected section.

    – I enter password and nextgen upload button appears
    – I upload an image
    – I see the upload progress in the left lower corner of the screen
    – at the moment that the image upload is 10% and the status is “waiting on <name website> . it stops and the image has not been added and I don’t see it appearing in the gallery etc.
    – Although a cookie is set, the screen returns with the section protected

    example:

    <nexgent image gallery> + some text

    [content_protector password=”testpassword” cookie_expires=”0″ identifier=”test” ajax=”true”]

    [ngg_uploader id=26]

    [/content_protector]

    any suggestions?
    thanks

    https://wordpress.org/plugins/content-protector/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Do you have a link for your test page?

    Thread Starter JnHkstr

    (@jnhkstr)

    hi

    thanks for responding

    this is my test page
    (whole site is just in development/test phase)

    http://jan-hoekstra.nl/wordpress/?page_id=116

    Hi, Jan.

    You will need to increase the Password Field Length setting; at 8 characters, it’s not long enough to accept your password.

    Thread Starter JnHkstr

    (@jnhkstr)

    Hi thanks, but password acceptance is not the issue. It uploads the picture according the % in the status bar, but when it is at 100% it stops and the photo is not uploaded.

    I see. Assuming that “testpassword” is not the actual password, I will need the actual password to access the uploader; otherwise, I will not be able to replicate the issue.

    Thread Starter JnHkstr

    (@jnhkstr)

    ofcourse, the current password set is
    “test12345678”

    Are you sure about the cookie_expires attribute being set? I’m not seeing any cookies being set when I log in.

    Thread Starter JnHkstr

    (@jnhkstr)

    I might have changed that already in the settings screen when looking for a working configuration. I am not working in the edit plugin mode as I don’t have enough knowledge for that.
    The issue is currently mainly about the failing of uploading photo’s

    You have already checked that your gallery and uploader work without using the Content Protector plugin, I assume?

    Thread Starter JnHkstr

    (@jnhkstr)

    Yes that works fine and also being used on another site. I like to create seperate pages for people to upload photo’s in a dedicated nextgen gallery without an admin has the need to move them to the desired gallery.
    But also looking into using Flickr gallery plugins as well and let people use Flickr to upload/manage their gallery instead of the uploader. But would be nice if I can get it working…

    What version of NextGen do you have installed?

    Answered my own question: your site’s on 2.1.23, in which case, you should probably read this: https://wordpress.org/support/topic/is-this-plugin-still-being-maintained-2?replies=2

    tl;dr, the file uploader doesn’t work with NextGen 2.x. Nothing to do with the Content Protector plugin. I’m closing this thread.

    Thread Starter JnHkstr

    (@jnhkstr)

    Hi,

    Ok so it is not supported anymore, but the uploader does work normally when the content uploader is behind a regular WP full page password protection. This is how it is currently already set up but am a bit limited now because the whole page is behind a password and not a part.

    I’m saying the developer of the uploader plugin says his plugin doesn’t work with the version of NextGEN you’re running. If you do, in fact, have it working, you should let him know as I’m sure he’d like to know how you did it. Incidentally, I could not even get the uploader plugin (1.8.2) to run on an install of WP 4.4.1 and NextGEN 2.1.23 with no other plugins running, which is consistent with what Michael Beckwith wrote in the thread linked above. Perhaps you are using older versions elsewhere?

    However, if you insist that it is all working, the only thing I can think of is that you set a cookie in your shortcode using the cookie_expires attribute. Perhaps there is some sort of interaction between NextGEN and the uploader that requires them to be both loaded at the same time. Without a cookie, Content Protector only authorizes you for the next page load *only*.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘protect nextgen public uploader section fails’ is closed to new replies.