Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Probably because it simply hasn’t been coded to. Looking at the source, the listings are hardcoded and based on WordPress core + wherever the “Visitor” role came from.

    For what it’s worth, it’s not a plugin that’s updated for NextGEN Gallery 2.x still. It’s meant for the old 1.9.x codebase.

    I had a PR come in to the github repo that apparently helps it work with 2.x, but I haven’t had a chance to fully review and update other parts, as well as test to ensure.

    If that does indeed work out well, then chances are we’ll push out an update for this, but until then, this is the best I can offer.

    Thread Starter Alphie

    (@jvb1103)

    Thank you for your response. Would I hard code the “Customer” option to the page? If so, which page and what line of code?

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    It’s all in the main nextgen-public-uploader.php file around line 163. Given that it’s using “user levels” for array keys shows how ancient the plugin really is.

    Thread Starter Alphie

    (@jvb1103)

    The public uploader is not showing for anyone. It is set to “Subscriber” which according to the code should be assigned role option “0”

    Line 165: ‘0’=> __( ‘Subscriber’, ‘nextgen-public-uploader’ ),

    When I checked the database users with the following should be able to see the uploader form but they don’t:

    wp_capabilities = a:1:{s:8:”customer”;b:1;}
    wp_user_level = 0

    Thread Starter Alphie

    (@jvb1103)

    A “customer” has read access only which is equivalent status to a normal blog subscriber.

    Thread Starter Alphie

    (@jvb1103)

    Also, this was working just fine up until the recent upgrade.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Like I said initially, we’re still coded for their 1.9 branch, so we can’t guarantee at all that it’s still going to work with their massively overhauled 2.x version.

    Honestly majority of our plugin likely needs overhauled as well, just to get it modern and better coded. However, it’s honestly not a high priority compared to other work we have going on at WebDevStudios right now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Roles’ is closed to new replies.