• Thanks for the plugin!
    Did it really checked for WP 3.3.1?
    Someone confirmed that root Cookie 1.6 compatible with WP 3.3.1.
    But not for me… ??

    I’ve installed blog A & blog B on the same domain (no subdomains). Both are sharing the same wp_users&wp_usermeta tables in DB, other tables are separate. (full story here).
    Installed root Cookie. But if I login on one of blogs, I need to login on second blog though (with the same admin/pass).

    I found that test_cookie & wp-settings-time-1 has path ‘/hha/’, not ‘/’.
    Maybe that’s why my cookies from blog A don’t work for blog B?

    https://www.ads-software.com/extend/plugins/root-cookie/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter templs

    (@templs)

    Second question – does it work for buddypress?

    Thread Starter templs

    (@templs)

    First question solved by defining cookies in wp-config.
    Thanks!

    Thread Starter templs

    (@templs)

    I mean – root Cookie works only when I add this code into wp-config:

    define(‘COOKIE_DOMAIN’, ‘.mydomain.com’);
    define(‘COOKIEPATH’, ‘/’);

    $baseurl = ‘https://mydomain.com/’;
    $cookiehash = md5($baseurl);
    define(‘COOKIEHASH’, $cookiehash);
    define(‘AUTH_SALT’, ‘AUTH_SALT’.COOKIEHASH);
    define(‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);
    define(‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);
    define(‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH);
    define(‘LOGGED_IN_COOKIE’, ‘LOGGED_IN_COOKIE’.COOKIEHASH);
    define(‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);

    Please help to find out why plugin doesn’t work without this code…

    Plugin Author linickx

    (@linickx)

    Hello,

    The plugin was tested on 3.3 .. not 3.3.1 …it *should* work, but I will take a look ??

    (I’ve not tested it against buddy press)

    Cheers,
    Nick

    Thread Starter templs

    (@templs)

    thanks!

    Thread Starter templs

    (@templs)

    It Works with BuddyPress!
    Here is example:
    Blog A – Buddypress
    Blog B – WordPress
    (shared user&meta tables)

    The only problem – plugin doesn’t work without additional code in wp-config (see above).

    Thanks though…

    Thread Starter templs

    (@templs)

    Removed unnecessary strings. Doesn’t work without defined COOKIEHASH only.
    define('COOKIEHASH', md5('mydomain.com')); – this code required in wp-config

    Can you answer why is that?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: root Cookie] test_cookie & wp-settings-time-1 cookie-path not changing’ is closed to new replies.