Cookie name filter

BP Profile Search › Cookie name filter

  • Author
    Post
  • #8764 Reply
    Mike Garrett
    Guest

    Hi Andrea,

    I am having trouble using your plugin on a site hosted on Pantheon. It comes down to the names for cookies you’re using in bps-search.php. The varnish cache setup at Pantheon allows you to prepend a string to a cookie to allow it to bypass caching, but it requires a name very specific to their services. I’m hoping you can help by adding a filter to your cookie name to allow developers to change it.

    I ran into the same problem recently with Restrict Content Pro. You can see an example of the pull request I made to solve the issue: https://github.com/restrictcontentpro/restrict-content-pro/pull/852

    I would be happy to submit a similar pull request, but I could not find this plugin in a public repository.

    Please let me know if you’re interested in a contribution. I’m happy to submit the code.

    #8765 Reply
    andrea
    Plugin Author

    Hi Mike,

    I’ll make a plugin release today containing the filter for the cookie name. Thank you for the link!

    #8766 Reply
    Mike Garrett
    Guest

    Nice! Thank you. ❤️

    #8767 Reply
    andrea
    Plugin Author

    The new version 4.7.3 is now available, with the filter bps_cookie_name.

    #8768 Reply
    Mike Garrett
    Guest

    Awesome. Thank you for getting this up so quickly.

    #8769 Reply
    andrea
    Plugin Author

    You are welcome! Please let me know if there are any remaining issues.

Reply to: Cookie name filter
My Information