Cookie named _gd_logged_out_post_author

This topic contains 5 replies, has 3 voices, and was last updated by  Ralf 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #536100

    Ralf
    Expired Member
    Post count: 35

    Hi,

    in the developer tools I can see that Geodirectory is setting a cookie named “_gd_logged_out_post_author”.
    Can you tell me what this cookie does?
    Is it possible to block this cookie in order to fulfill the GDPR requirements or is it not neccessary to block it?
    Thanks

    Ralf

    #536163

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    we are checking into this, thanks for your patience.

    #536164

    Kiran
    Moderator
    Post count: 7069

    Hi Ralf,

    That cookie is used to store author unique id when non-logged user adds new listing. So after logged in the author id assigned to the listing which added by non-logged user. Don’t block this cookie.

    Thanks,
    Kiran

    #536356

    Ralf
    Expired Member
    Post count: 35

    Hi Kiran,
    so the cookie is only used if a not-logged-in user is adding a new post? In my case only logged-in users are allowed to add a post, which means that I don’t need the functionality of the cookie.
    Can you tell me how I can disable it? It would make it much easier for me as regards to the GDPR regulations.
    Thank you
    Ralf

    #536414

    Kiran
    Moderator
    Post count: 7069

    Hello Ralf,

    – Un-tick option “Allow posting without logging in?” from GeoDirectory > Settings > General
    – Add following PHP snippet via snippet plugin or add in your current theme functions.php

    remove_action( 'init', array( 'GeoDir_Post_Data', 'setup_guest_cookie' ), 1 );

    – You can also block cookie from your side

    Thanks,
    Kiran

    #536421

    Ralf
    Expired Member
    Post count: 35

    Hi Kiran,

    works perfectly!
    Thanks for your support!

    Best regards
    Ralf

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount