Passworded gallery don't ask password and galleries open

HomeSupportImage StorePassworded gallery don't ask password and galleries open

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55607
    kiyama
    Participant

    hello again XM

    I have question about passworded gallery post.

    In this plugin’s right action, passworded gallery don’t ask the password when you go there by link or url directly (without loginform). Is it correct?

    If so, I really want passworded gallery to not open and ask password like WordPress’s usual post or page. To change to the wordpress’s default action, What would be the best thing to do?

    #55614
    Xpark Media
    Keymaster

    @kiyama,

    if you are an admin or have the access the galleries will not ask you for a password, all other users will be presented with the login form.

    if you want to disable the behavior add this code in your functions.php file or in a plugin.

    function mytheme_remove_ims_actions(){
    	global $ImStore;
    	remove_action( 'the_post', array( $ImStore, 'bypass_protected_galleries' ), -1 );
    }
    add_action( 'wp', 'mytheme_remove_ims_actions', 300 );
    
    #56469
    kiyama
    Participant

    if you are an admin or have the access the galleries will not ask you for a password, all other users will be presented with the login form.

    I tried logout, clearing cookies & caches, change the theme to default (twenty twelve). Galleries don’t ask passwords. Login form at “login page” works right. But, when I be there by “direct link” or “typing URL”, Gallery Does not ask a password (the word “Protected” before the page title is displayed).

    if you want to disable the behavior add this code in your functions.php file or in a plugin.

    It’s opposite. I want enable that.
    It used to ask the password. But now, Does not.

    I want galleries to ask the passwords and not to open without login, even if for someone who know the gallery’s URL.

    adding some information.
    I down-date the plugin one by one. I found that “Ver3.4” works right (the galleries ask a password). After 3.4 does not.

    #56474
    Xpark Media
    Keymaster

    @kiyama,

    Looks like it is a but with custom post types in WordPress 3.8, we will to implement a fix on the next release

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.