BP Profile Search › Cookie name filter
-
AuthorPost
-
Mike Garrett
GuestHi 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.
andrea
Plugin AuthorHi Mike,
I’ll make a plugin release today containing the filter for the cookie name. Thank you for the link!
Mike Garrett
GuestNice! Thank you. ❤️
andrea
Plugin AuthorThe new version 4.7.3 is now available, with the filter bps_cookie_name.
Mike Garrett
GuestAwesome. Thank you for getting this up so quickly.
andrea
Plugin AuthorYou are welcome! Please let me know if there are any remaining issues.
-
AuthorPost