• Resolved reklow

    (@reklow)


    Dear Gabriel,

    I do have the problem, that Friends only ignores your whitelisted URLs inside the sentry.php . In example the plugin ask for authentication on /wp-admin/ and the /xmlrpc.php.

    My Installation is an WordPress 3.4.1 and the Friends Only Plugin 0.6.0. The PHP installation is an 5.3.10. My wordpress installation is not inside the root directory of my website but under a subdirectory called glog.

    Could you please give me advice on how to get Friends only running?

    Thanks,
    Reklow

    http://wordpress.org/extend/plugins/friends-only/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter reklow

    (@reklow)

    Dear Gabriel,

    it seems that I’ve got it working. I changed two rewriting lines in your sentry.php Code to fit my WordPress URL which looks like this

    https://www.domain.com/myblog/

    These changes I’ve implemented:

    < $base_WP_URI = strtolower(get_bloginfo(‘wpurl’));
    < $clean_URI = strtolower(‘https://’.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’]);

    > $base_WP_URI = str_replace(‘www.’,”,strtolower(get_bloginfo(‘wpurl’)));
    > $clean_URI = str_replace(‘www.’,”,strtolower(‘http://&#8217;.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’]));

    I’m not a programmer so I could not really overview the result of my changes. Is this a good solution or did I broke something else?

    Thanks,
    Reklow

    Plugin Author Gabe

    (@gabrielwhite)

    Thanks for this pointer. Will look into this for next update.

    Plugin Author Gabe

    (@gabrielwhite)

    I’ve made a beta version that should fix this problem.

    Please take a look and let me if it fixes the problem (I’ve implemented what you suggested).

    https://dl.dropbox.com/u/15414097/friends-only-beta.zip

    Thanks!

    Thread Starter reklow

    (@reklow)

    Dear Gabe,
    I’ve just tested your friends-only-beta release. It seems to work for me.
    Thanks for your support.
    Reklow

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Friends Only] Friends only ignores sentry.php exclude URLs’ is closed to new replies.